tech-pkg archive

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

Re: libtool and SONAME



Not happened for me (NetBSD-5.0.2).

On Fri, 19 Feb 2010 20:54:46 +0900, Mark Davies <mark%ecs.vuw.ac.nz@localhost> 
wrote:

Is it just me or does the current libtool (2.2.6bnb3) create libraries with
the full version number in the SONAME eg.

% objdump -x /usr/pkg/lib/libidn.so.11.6.1 | grep SONAME
  SONAME      libidn.so.11.6.1

% objdump -x /usr/pkg/lib/libidn.so.11.6.1 | grep SONAME
  SONAME      libidn.so.11

resulting in binaries that have dependencies on explicit shared library
versions:

% ldd /usr/pkg/bin/wget
/usr/pkg/bin/wget:
        -lc.12 => /usr/lib/libc.so.12
        -lcrypt.0 => /lib/libcrypt.so.0
        -lcrypto.4 => /usr/lib/libcrypto.so.4
        -lssl.6 => /usr/lib/libssl.so.6
        -ldes.7 => /usr/lib/libdes.so.7
        -lintl.0 => /usr/lib/libintl.so.0
        -lidn.11.6.1 => /usr/pkg/lib/libidn.so.11.6.1

% ldd /usr/pkg/bin/wget
/usr/pkg/bin/wget:
        -lc.12 => /usr/lib/libc.so.12
        -lcrypt.0 => /lib/libcrypt.so.0
        -lcrypto.4 => /usr/lib/libcrypto.so.4
        -lssl.6 => /usr/lib/libssl.so.6
        -ldes.7 => /usr/lib/libdes.so.7
        -lintl.0 => /usr/lib/libintl.so.0
        -lidn.11 => /usr/pkg/lib/libidn.so.11

--
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index