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

Re: IMPORTANT - Is your libc6 library broken?



> This paragraph, from libc6-migration.text.gz is VERY IMPORTANT!

:)

> 
>    Libraries (regardless of which library they're compiled against) need
>    to have runtime dependencies on one of libc, libdl or libm to enable
>    the shared linker to determine which library to use for a binary.
>    These runtime dependencies are _NOT_ dependencies in the Debian
>    way, but dependencies generated by the linker when generating the
>    shared library. See the binutils manual for more information.

Do I remember someone recently posting a problem about this 
(a package he tried to compile) on debian-devel?

 
> Any library which does not have a runtime dependency and uses the same
> soname for libc5 and libc6 versions will make ld.so do the wrong
> thing.

Oh, to the other debian-developpers: 
note that you make your .so libaries have a run-time dependancy
on a specific version of libc5 by adding "-lc" to gcc's commandline
in the final link stage.



-- 
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: