bug-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnu-radius] missing .lo files


From: Sergey Poznyakoff
Subject: Re: [Bug-gnu-radius] missing .lo files
Date: Tue, 25 Nov 2003 12:16:26 +0200

Maurice Makaay <address@hidden> 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

 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]