Re: missing .lo files
Sergey Poznyakoff <[email protected]> Tue, 25 Nov 2003 12:16:26 +0200
| Newsgroups | gmane.comp.gnu.radius.bugs |
|---|---|
| Organization | Farlep-Internet |
| Message-ID | <[email protected]> |
Maurice Makaay <[email protected]> wrote: > gcc -shared -Wl,-h -Wl,pam_radius.so -o .libs/pam_radius.so .libs/pam_radius.o > -z allextract ../../lib/.libs/librad.a ../../lib/.libs/libdebug.a -z defaultextr > act -lpam -L/usr/local/mysql/lib/mysql -lcrypt -lnsl -lsocket -lc -Wl,-Bsymbol > ic Wow, that's completely impossible to build a so file with a command like that! Please cd to client/pam_radius and try the following: gcc -shared pam_radius.lo -Wl,--whole-archive \ ../../lib/.libs/librad.a ../../lib/.libs/libdebug.a \ -Wl,--no-whole-archive -lpam -lcrypt \ -Wl,-Bsymbolic -Wl,-soname -Wl,pam_radius.so -o .libs/pam_radius.so -lc If it works, I'll try to force libtool behave itself. > Further: I am curious about the status of some of the patches I sent > in. [...] > * CVS-patch-dropprivileges run-user patch I am currently implementing the similar feature. I'll let you know when it is ready. > * CVS-patch-realms_nocase realms are case-insensitive in the > * realms This feature will be added soon (the approach taken in the patch is not quite right, I'll avoid adding any new members to the REALM structure). > * CVS-patch-sqlconfig sqlserver config reading improvements > (and SEGFAULT prevention on config errors) My apologies, this one has somehow skipped my attention. I'll take a look. Regards, Sergey