This is the mail archive of the libc-hacker@sourceware.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: glibc-2.0.99 build problems


Andreas.
     Thanks again. The modified version of Uli's test code works exactly
as you indicated. I see...

[root@dilbert newtest]#  LD_LIBRARY_PATH=. ./m
This is main
This is foo
This is bar
./p.so: undefined symbol: xyzzy   

I have been told that the ld.so.1 in glibc 2.1 will be (and is) much
stricter than that in 2.0.7 and below. I think the next step is to
get someone running glibc 2.0.7 to test your modified code. If my
guess is right then it should pass the modified test on glibc 2.0.7.
The question then becomes which is correct behavior...does the test
just happen to work in glibc 2.0.7 and should that coding be allowed?
Or is glibc 2.0.99 being to strict about exporting symbols back to
the original program when one of the intervening shared libs is linked
rather then accessed via dlopen.
                Jack



-- 
------------------------------------------------------------------------------
Jack W. Howarth, Ph.D.                                     231 Bethesda Avenue
NMR Facility Director                              Cincinnati, Ohio 45267-0524
Dept. of Molecular Genetics                              phone: (513) 558-4420
Univ. of Cincinnati College of Medicine                    fax: (513) 558-8474


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