[Libreoffice] build error with cppunit - Making install in DllPlugInTester
Michael Meeks
michael.meeks at novell.com
Fri Feb 11 01:38:56 PST 2011
Hi Kishan,
On Fri, 2011-02-11 at 09:15 +0530, Kishan Bhat wrote:
> I'm trying to build LO.
On what platform (out of interest ?) is this some self-build linux by
any chance ? did you somehow disable dynamic linking while configuring
it ? ;-)
> and I get this error: http://pastebin.com/KcMu29Ja
make[2]: Entering directory
`/home/bhat/git/libo/clone/libs-extern/cppunit/unxlngi6.pro/misc/build/cppunit-1.12.1/src/DllPlugInTester'
/bin/bash ../../libtool --tag=CXX --mode=link g++ -ldl -o
DllPlugInTester DllPlugInTester.o
CommandLineParser.o ../../src/cppunit/libcppunit.la -lm
g++ -o .libs/DllPlugInTester DllPlugInTester.o CommandLineParser.o
-ldl ../../src/cppunit/.libs/libcppunit.so -lm -Wl,--rpath
-Wl,/home/bhat/git/libo/clone/libs-extern/cppunit/unxlngi6.pro/misc/build/cppunit-1.12.1/ooo-install/lib
./../src/cppunit/.libs/libcppunit.so: undefined reference to `dlsym'
./../src/cppunit/.libs/libcppunit.so: undefined reference to `dlopen'
./../src/cppunit/.libs/libcppunit.so: undefined reference to `dlclose'
Looks like your libdl is causing grief - it would be interesting to
know what:
objdump -T /lib/libdl.so.2
says - surely it must define 'dlsym' ? :-) how could it not ? and your
link line contains that.
ATB,
Michael.
--
michael.meeks at novell.com <><, Pseudo Engineer, itinerant idiot
More information about the LibreOffice
mailing list