linked ssl libraries to binary

Jeremy Chadwick koitsu at freebsd.org
Wed Mar 5 01:22:21 UTC 2008


On Wed, Mar 05, 2008 at 05:23:15AM +1100, Peter Jeremy wrote:
> On Tue, Mar 04, 2008 at 05:18:02AM -0800, Jeremy Chadwick wrote:
> >On Tue, Mar 04, 2008 at 12:05:22PM +0000, Chris wrote:
> >This doesn't come as much of a surprise.  The binary actually references
> >libraries by names such as libXXX.so, not libXXX.so.NUMBER.
> 
> This is incorrect.  The binaries directly reference libXXX.so.NUMBER
> as reported using the first column of ldd output.

I stand corrected; one can even confirm it by using strings on the
binary:

$ strings /usr/local/bin/webalizer | grep 'lib.*\.so'
/libexec/ld-elf.so.1
libgd.so.4
libpng.so.5
libz.so.3
libm.so.4
libc.so.6

Thanks for correcting me!  Learn something new all the time...

-- 
| Jeremy Chadwick                                    jdc at parodius.com |
| Parodius Networking                           http://www.parodius.com/ |
| UNIX Systems Administrator                      Mountain View, CA, USA |
| Making life hard for others since 1977.                  PGP: 4BD6C0CB |



More information about the freebsd-stable mailing list