Package: libsnmp5-dev
Version: 5.1.2-6
Severity: grave
Justification: renders package unusable

Do *NOT* play with prefix= in make install when using autoconf+libtool,
whatever you put in there will end-up in .la files, and break everything
that needs your library and uses libtool.

$cat /usr/lib/libsnmp.la  | grep libdir
libdir='/build/buildd/net-snmp-5.1.2/debian/tmp/usr/lib'

That *MUST* be libdir='/usr/lib'.

This is caused by:
        $(MAKE) prefix=`pwd`/debian/tmp/usr exec_prefix=`pwd`/debian/tmp/usr \
         mandir=`pwd`/debian/tmp/usr/share/man \
         persistentdir=`pwd`/debian/tmp/var/lib/snmp \
         PREFIX=`pwd`/debian/tmp/usr install

in the debian/rules install-stamp: target.

Please either manually fix all .la files before you ship them using sed, or
whatever, or fix the package build system to use $(MAKE) DESTDIR=...
install, instead of overriding any of the prefix vars.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-debian6+libata9dev1+bluesmoke
Locale: LANG=pt_BR.ISO-8859-1, LC_CTYPE=pt_BR.ISO-8859-1 (charmap=ISO-8859-1)

Versions of packages libsnmp5-dev depends on:
ii  libc6-dev                   2.3.2.ds1-20 GNU C Library: Development Librari
ii  libsnmp-perl                5.1.2-6      NET SNMP (Simple Network Managemen
ii  libsnmp5                    5.1.2-6      NET SNMP (Simple Network Managemen
ii  libssl-dev                  0.9.7e-3     SSL development libraries, header 
ii  libwrap0-dev                7.6.dbs-8    Wietse Venema's TCP wrappers libra

-- no debconf information

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to