Package: autoconf Version: 2.69-1 Severity: normal This issue was originally reported at https://github.com/brianb/mdbtools/issues/12
mdbtools build several libraries that get installed in /usr/local/lib "make install" rules generated by configure generated by autoconf runs ldconfig -n /usr/local/lib and yield a big warning: ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- File /etc/ld.so.conf.d/libc.conf is ---------------------------------------------------------------------- # libc default configuration /usr/local/lib ---------------------------------------------------------------------- ldconfig -n create the symlinks /usr/local/lib/libmdb.so.2 and simmilar but it does *not* rebuild the cache. See ldconfig(8): -n implies -N. So if I have not installed any mdb* packages, and only installed from the sources, when I run 'mdb-ver -M', I get /usr/local/bin/mdb-ver: error while loading shared libraries: libmdb.so.2: cannot open shared object file: No such file or directory If I run "ldconfig" after make install, the ld cache is rebuilt, and it works. I expected make install to update ld cache. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages autoconf depends on: ii debianutils 4.3.2 ii m4 1.4.16-3 ii perl 5.14.2-12 Versions of packages autoconf recommends: ii automake [automaken] 1:1.11.6-1 Versions of packages autoconf suggests: pn autoconf-archive <none> pn autoconf-doc <none> pn autoconf2.13 <none> ii gettext 0.18.1.1-9 pn gnu-standards <none> ii libtool 2.4.2-1.1 -- no debconf information
signature.asc
Description: This is a digitally signed message part.