I have an ARM embedded system running Debian Wheezy. Some of the functionality of our custom written apps is separated into shared library files. We store our shared library files under /usr/local/lib.
The problem I am seeing is that one of our binaries is not starting up correctly as it can’t load one of the shared libs from /usr/local/lib:
The file libroots-base.so.5.3 exists in /usr/local/lib. /usr/local/lib should be getting searched for libraries, as we have added an extra file in the directory /etc/ld.so.conf.d/ to specifically include /usr/local/lib. I’ve also run ldconfig to refresh the cache.
One clue could be that the file libroots-base.so.5.3 itself depends on other shared libraries. If I run an “ldd libroots-base.so.5.3″ in /usr/local/lib, it shows that several of the referenced libraries are not being picked up:
However, the files listed as not found are definitely present in /usr/local/lib, e.g.
Furthermore if I manually set LD_LIBRARY_PATH to /usr/local/lib after the system has booted, I can run our binaries fine.
Can anyone suggest what could be wrong?
Which file in
Maybe you have a typo, or a trailing space, or something.