Debian 6, Botan 1.8.9 + Bine10-devel-20120301
Spain, Dr. Jeffry A.
spainj at countryday.net
Thu Mar 8 02:47:41 UTC 2012
I can reproduce the error below on Ubuntu 11.10 by configuring log4cplus without --prefix=/usr so that it is installed by default to /usr/local instead. With --prefix=/usr, there are no errors. Is there a configuration setting to get bind10 make to echo all the g++ commands it is running? That might help bring the problem to light.
My error message is as follows:
/root/bind10_install/bind10-devel-20120301/src/lib/log/compiler/.libs/lt-message: error while loading shared libraries: liblog4cplus-1.0.so.4: cannot open shared object file: No such file or directory
make[4]: *** [cc_messages.cc] Error 127
> Can you provide the following?
> grep ^dependency_libs src/lib/log/liblog.la
dependency_libs=' -L/usr/local/lib /usr/local/lib/liblog4cplus.la -pthread /root/bind10_install/bind10-devel-20120301/src/lib/util/libutil.la /root/bind10_install/bind10-devel-20120301/src/lib/exceptions/libexceptions.la'
> grep LOG4CPLUS_LIBS src/lib/log/compiler/Makefile
LOG4CPLUS_LIBS = -L/usr/local/lib -llog4cplus -pthread
> grep -i log4cplus config.report
Log4cplus: -I/usr/local/include
-L/usr/local/lib -llog4cplus -pthread
> Where did you install your log4cplus?
root at oneiric:~# ls -l /usr/local/lib
total 12656
lrwxrwxrwx 1 root root 25 2012-03-07 21:15 liblog4cplus-1.0.so.4 -> liblog4cplus-1.0.so.4.0.0
-rwxr-xr-x 1 root root 3663369 2012-03-07 21:15 liblog4cplus-1.0.so.4.0.0
-rw-r--r-- 1 root root 9285186 2012-03-07 21:15 liblog4cplus.a
-rwxr-xr-x 1 root root 983 2012-03-07 21:15 liblog4cplus.la
lrwxrwxrwx 1 root root 25 2012-03-07 21:15 liblog4cplus.so -> liblog4cplus-1.0.so.4.0.0
drwxrwsr-x 4 root staff 4096 2011-10-28 13:59 python2.7
root at oneiric:~# ls -l /usr/local/include/log4cplus
total 160
-rw-r--r-- 1 root root 6402 2012-03-07 21:15 appender.h
drwxr-xr-x 2 root root 4096 2012-03-07 21:15 config
-rw-r--r-- 1 root root 2080 2012-03-07 21:15 config.hxx
-rw-r--r-- 1 root root 13726 2012-03-07 21:15 configurator.h
-rw-r--r-- 1 root root 2205 2012-03-07 21:15 consoleappender.h
-rw-r--r-- 1 root root 8019 2012-03-07 21:15 fileappender.h
-rw-r--r-- 1 root root 1381 2012-03-07 21:15 fstreams.h
drwxr-xr-x 2 root root 4096 2012-03-07 21:15 helpers
-rw-r--r-- 1 root root 12069 2012-03-07 21:15 hierarchy.h
-rw-r--r-- 1 root root 1939 2012-03-07 21:15 hierarchylocker.h
-rw-r--r-- 1 root root 18717 2012-03-07 21:15 layout.h
-rw-r--r-- 1 root root 10954 2012-03-07 21:15 logger.h
-rw-r--r-- 1 root root 7612 2012-03-07 21:15 loggingmacros.h
-rw-r--r-- 1 root root 6380 2012-03-07 21:15 loglevel.h
-rw-r--r-- 1 root root 11528 2012-03-07 21:15 ndc.h
-rw-r--r-- 1 root root 1595 2012-03-07 21:15 nullappender.h
-rw-r--r-- 1 root root 5285 2012-03-07 21:15 socketappender.h
drwxr-xr-x 2 root root 4096 2012-03-07 21:15 spi
-rw-r--r-- 1 root root 1818 2012-03-07 21:15 streams.h
-rw-r--r-- 1 root root 2303 2012-03-07 21:15 syslogappender.h
-rw-r--r-- 1 root root 2629 2012-03-07 21:15 tstring.h
-rw-r--r-- 1 root root 1977 2012-03-07 21:15 version.h
-----Original Message-----
On Wed, 7 Mar 2012, Jonathan Stewart wrote:
> make[4]: Entering directory `/home/jonathan/bind10-devel-20120301/src/lib/cc'
> /bin/sed -e "s|@@LOCALSTATEDIR@@|/usr/local/var|" session_config.h.pre
> >session_config.h
> ../../../src/lib/log/compiler/message
> ../../../src/lib/cc/cc_messages.mes
> /home/jonathan/bind10-devel-20120301/src/lib/log/compiler/.libs/lt-message:
> error while loading shared libraries: liblog4cplus-1.0.so.4: cannot
> open shared object file: No such file or directory
> make[4]: *** [cc_messages.cc] Error 127
More information about the bind10-users
mailing list