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

Re: undefined symbol "stat" in shared libraries, redhat 5.2, pam0.66



On Tue, 16 Feb 1999, Derrick J Brashear wrote:

> >  On Tue, 16 Feb 1999, Derrick J Brashear wrote:
> >  
> >  > >  does anyone have any clues?  i can't reboot or afford to log out any of
> >  > >  the shells :-)
> >  > >  
> >  > >  /lib/libpam.so.0: undefined symbol: stat
> >  > >  
> >  > >  when, for example, logging in or running the su command.
> >  > 
> >  > link libpam with -lc?
> >  
> >  can you think of any reason why is this not done by default in
> >  the Makefile?
> 
> It shouldn't need to be. Any app needs to be linked against libc, and libpam
> should be able to make use of it assuming it's linked dynamically, but for some
> reason with libc6 and its dynamic linker, it's not the case.

-O2 gets it to work!



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