On 09/20/12 12:13, Michael Meeks wrote:
On Wed, 2012-09-19 at 10:35 +0200, Henrik /KaarPoSoft wrote:
/home/kaarpux/KX_OO/kaarpux/linux/build/opt/libreoffice-core-3.6.2.1/solver/unxlngi6.pro/bin/cppunit/cppunittester:
error while loading shared libraries: libcppunit-1.12.so.1: cannot open
shared object file: No such file or directory
Ok.
--------------------------------------------------
Even though the shared library IS present under /opt/lib, and the
symlinks are not broken.
Workaround: --without-system-cppunit
So - is /opt/lib in your system linker path ? ie. in /etc/ld.so.conf -
it's an unusual place to have in there ;-) and have you run
sudo /sbin/ldconfig to re-build whatever caches there are there ?
No, it is not. This is by design: I only want stuff from / and /usr in
the system linker path, to minimize the risk that root, daemons, etc.
pulls anything from /opt.
But I have the following in profile.d for the build user:
export PATH="$PATH:/opt/sbin:/opt/bin"
export LD_LIBRARY_PATH="/local/lib:/lib:/opt/lib"
export PKG_CONFIG_PATH="/opt/lib/pkgconfig"
And I have not experienced any problems with using LD_LIBRARY_PATH before.
Out of interest, what Linux are you using ? :-)
KaarPux: http://kaarpux.kaarposoft.dk/
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.