SPECS: pam.spec - updated to 0.79.1 - removed obsolete patch - add...
Jakub Bogusz
qboosh w pld-linux.org
Wto, 7 Cze 2005, 22:09:16 CEST
On Tue, Jun 07, 2005 at 07:12:42PM +0200, Jan Rekorajski wrote:
> On Tue, 07 Jun 2005, Andrzej Krzysztofowicz wrote:
>
> > baggins wrote:
> > > - STBR
> >
> > *** Warning: Linking the shared library pam_access.la against the
> > *** static library ../pammodutil/libpammodutil.a is not portable!
> > amd64-pld-linux-gcc -shared .libs/pam_access_la-pam_access.o -lnsl
> > ../pammodutil/libpammodutil.a -Wl,-soname -Wl,pam_access.so -o
> > .libs/pam_access.so
> > /usr/bin/ld: ../pammodutil/libpammodutil.a(modutil_getpwnam.o): relocation
> > R_X86_64_32 against `a local symbol' can not be used when making a shared
> > object; recompile with -fPIC
> > ../pammodutil/libpammodutil.a: could not read symbols: Bad value
> > collect2: ld returned 1 exit status
> > make[3]: *** [pam_access.la] Error 1
>
> To jest jakis kosmos :o
> Dotej pory, pomimo nazwy .la, to tez byla statyczna biblioteka i
> dzialalo.
Ale była robiona jako noinst_LTLIBRARIES?
Wtedy jest statyczna biblioteka budowana z PIC.
--
Jakub Bogusz http://qboosh.cs.net.pl/
Więcej informacji o liście dyskusyjnej pld-devel-pl