This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: linuxconf complexity


> 
> "Jack Howarth" <howarth@bromo.med.uc.edu> writes:
> 
> >    I thought everyone interested in this might like to read the explanation
> > Andrew Morgan who maintains pam gave me as to the complexity we are dealing
> > with in linuxconf with password authentication through pam. He said...
> 
> According to the description the appended test should be equivalent.
> And it works perfectly for me with a glibc around 2.0.99.  Could you
> give it a try?
> 

The bug is in glibc 2.1. glibc 2.0.7 and Solaris gave:

# make
gcc -shared -Wall -g -O -fPIC pam.c -o pam.so
gcc -Wall -g -O redhat.c -shared -fPIC -o redhat.so ./pam.so
gcc -Wall -g -O pwdb.c -shared -fPIC -o pwdb.so
gcc -Wall -g -O -o main main.c -ldl
# ./main
pam_get_item () is called 
pwdb () is called 
pam_get_item () is called 

But glibc 2.1 gave

# ./main
dlsym: ./main: undefined symbol: pam_get_item

It should be fixed.

Thanks.


H.J.
---
begin 644 dl-test.tgz
M'XL(`%\&/C8``^U8VT[;0!#-:^8KIB&5["@VOJ2.E$!5"`552J%J0;Q40JZ]
M3MPZ=F0;VD+IMW?6EY"$0)!0W%;:(_DVNWMV/)HSN_;$]D/5J6T4NJ99G0[6
M$/7N*XU?43>-[,JA6Z:&:%EZMZ.9NF&013,ULX;:9MW*<9FD=HQ8&W\-'NU'
MW3RO"H>JQ98?.L&ERW`G25T_4L>OX<[D!IX3<A/9O-!E'GX\'1Y<'+P]W#L;
MGL(66?R0+1CKQV?#(6RQT/4]`#],<4(9)O$;.QXY;73&%.Y6BQZN9+@!Q*O(
M=[$UMD,W8'J[O#/Z99/4(B=D2>X#68INN(MN$$U9*#74[9BY8SM5DZC1SETY
M/CG'7_GMT?!D?V\H<S+?0^E%,5X&GG@WD"?@-";W/*F14^(<8P]?)I]#XJ5!
M<1S%*,D9%T?,TLLX1#U_ON7>D:/DF<3=EEKDLDSCDI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