LO build can not find external dependencies

Michael Meeks michael.meeks at suse.com
Thu Sep 20 03:13:59 PDT 2012


Hi there,

On Wed, 2012-09-19 at 10:35 +0200, Henrik /KaarPoSoft wrote:
> I am trying to build version 3.6.2.1 from source on a Linux box.

	Sounds great.

> I want to use headers already on system and system installed versions of 
> libraries as much as possible, so I pass --with-system-headers 
> --with-system-libs to ./configure.

	Seems reasonable.

> generates this error:
> --------------------------------------------------
> /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 ?

	Out of interest, what Linux are you using ? :-)

	ATB,

		Michael.

-- 
michael.meeks at suse.com  <><, Pseudo Engineer, itinerant idiot



More information about the LibreOffice mailing list