Issue 114068 - cppunit: undefined reference to `dlsym', `dlopen' and `dlclose'
Summary: cppunit: undefined reference to `dlsym', `dlopen' and `dlclose'
Status: CLOSED FIXED_WITHOUT_CODE
Alias: None
Product: Build Tools
Classification: Code
Component: external prerequisites (show other issues)
Version: 4.0.0-dev
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: 4.2.0
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-23 13:32 UTC by maand
Modified: 2022-10-28 12:39 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description maand 2010-08-23 13:32:00 UTC
I tried to compile vanilla OOo out of the DEV300-Repro (current status) and get
an error inside the folder cppunit. The patch from issue 11141 seemed not to
solve this problem. I use openSuSE 11.3-x64 on a Laptop with an Intel double
core to compile OOo.
I get the following output in my bash (only the end of log):

g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include     -c -o
CommandLineParser.o CommandLineParser.cpp
/bin/sh ../../libtool --tag=CXX   --mode=link g++   -ldl  -o DllPlugInTester
DllPlugInTester.o CommandLineParser.o ../../src/cppunit/libcppunit.la -lm
mkdir .libs
g++ -o .libs/DllPlugInTester DllPlugInTester.o CommandLineParser.o  -ldl
../../src/cppunit/.libs/libcppunit.so -lm  -Wl,--rpath
-Wl,/local/ooovanilla/ooodev_hg/working_DEV300/cppunit/unxlngx6.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'
collect2: ld returned 1 exit status
make[3]: *** [DllPlugInTester] Error 1
make[3]: Leaving directory
`/local/ooovanilla/ooodev_hg/working_DEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/src/DllPlugInTester'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/local/ooovanilla/ooodev_hg/working_DEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/local/ooovanilla/ooodev_hg/working_DEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1'
dmake:  Error code 2, while making './unxlngx6.pro/misc/build/so_built_cppunit'

1 module(s): 
        cppunit
need(s) to be rebuilt

Reason(s):


Attention: if you fix the errors in above module(s) you may prolongue your the
build issuing command:

        build --all:cppunit

make: *** [all] Fehler 1

If I should provide more information or try some changes, please give me an hint.
Comment 1 maand 2010-08-24 12:02:49 UTC
I'll provide a bit longer log of my compiling session (every thing inside the
cppunit module). I hope that helps to give me a hint how to fix this build
breaker. I tried to build OOo with the configure command: ./configure
--with-system-mozilla --disable-ldap --disable-gstreamer.
Then I used source LinuxX86-64Env.Set.sh, ./bootstrap and make. 

=============
Building module cppunit
=============

Entering /local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit

mkout -- version: 1.8
if [ -f ./unxlngx6.pro/misc/build/cppunit-1.12.1 ] ; then mv
./unxlngx6.pro/misc/build/cppunit-1.12.1
./unxlngx6.pro/misc/build/cppunit-1.12.1_removeme ; fi
make writeable...
patching file cppunit-1.12.1/include/cppunit/portability/FloatingPoint.h
patching file cppunit-1.12.1/include/cppunit/plugin/TestPlugIn.h
patching file cppunit-1.12.1/include/cppunit/plugin/TestPlugIn.h
patching file cppunit-1.12.1/src/cppunit/Makefile.am
mkdir: cannot create directory `./unxlngx6.pro/misc/build/cppunit-1.12.1/': File
exists
dmake: Executing shell macro: cd $(PACKAGE_DIR) &&     pwd $(PWDFLAGS)
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 3458764513820540925
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64)
supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU
ld... yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64)
supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64)
supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen in -ldl... yes
checking for dlerror... yes
checking for cmath... yes
checking whether the compiler supports Run-Time Type Identification... yes
checking whether the compiler supports GCC C++ ABI name demangling... no
checking whether the compiler implements namespaces... yes
checking whether std::string::compare takes a string in argument 1... no
checking whether the compiler has stringstream... yes
checking whether the library defines class strstream... checking strstream
usability... yes
checking strstream presence... yes
checking for strstream... yes
yes
checking for isfinite... yes
checking for finite... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cppunit.pc
config.status: creating cppunit.spec
config.status: creating cppunit-config
config.status: creating src/Makefile
config.status: creating src/DllPlugInTester/Makefile
config.status: creating src/cppunit/Makefile
config.status: creating include/Makefile
config.status: creating include/cppunit/Makefile
config.status: creating include/cppunit/config/Makefile
config.status: creating include/cppunit/extensions/Makefile
config.status: creating include/cppunit/plugin/Makefile
config.status: creating include/cppunit/portability/Makefile
config.status: creating include/cppunit/tools/Makefile
config.status: creating include/cppunit/ui/Makefile
config.status: creating include/cppunit/ui/mfc/Makefile
config.status: creating include/cppunit/ui/qt/Makefile
config.status: creating include/cppunit/ui/text/Makefile
config.status: creating doc/Makefile
config.status: creating doc/Doxyfile
config.status: creating examples/Makefile
config.status: creating examples/simple/Makefile
config.status: creating examples/hierarchy/Makefile
config.status: creating examples/cppunittest/Makefile
config.status: creating examples/ClockerPlugIn/Makefile
config.status: creating examples/DumperPlugIn/Makefile
config.status: creating examples/money/Makefile
config.status: creating config/config.h
config.status: executing depfiles commands
config.status: executing default commands
creating include/cppunit/config-auto.h - prefix CPPUNIT for config/config.h defines
dirname: extra operand `/boot'
Try `dirname --help' for more information.
/* automatically generated config/ contrib/ doc/ examples/ include/ lib
mkdir: cannot create directory `./unxlngx6.pro/misc/build/cppunit-1.12.1/': File
exists
make[1]: Entering directory
`/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1'
Making install in src
make[2]: Entering directory
`/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/src'
Making install in cppunit
make[3]: Entering directory
`/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/src/cppunit'
 cd ../.. && /bin/sh
/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/config/missing
--run automake-1.10 --gnu  src/cppunit/Makefile
/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/config/missing:
line 54: automake-1.10: command not found
WARNING: `automake-1.10' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
 cd ../.. && /bin/sh ./config.status src/cppunit/Makefile depfiles
config.status: creating src/cppunit/Makefile
config.status: executing depfiles commands
make[3]: Leaving directory
`/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/src/cppunit'
make[3]: Entering directory
`/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/src/cppunit'
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o AdditionalMessage.lo
AdditionalMessage.cpp
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
AdditionalMessage.cpp  -fPIC -DPIC -o .libs/AdditionalMessage.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o Asserter.lo Asserter.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
Asserter.cpp  -fPIC -DPIC -o .libs/Asserter.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o
BeOsDynamicLibraryManager.lo BeOsDynamicLibraryManager.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
BeOsDynamicLibraryManager.cpp  -fPIC -DPIC -o .libs/BeOsDynamicLibraryManager.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o
BriefTestProgressListener.lo BriefTestProgressListener.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
BriefTestProgressListener.cpp  -fPIC -DPIC -o .libs/BriefTestProgressListener.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o CompilerOutputter.lo
CompilerOutputter.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
CompilerOutputter.cpp  -fPIC -DPIC -o .libs/CompilerOutputter.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o DefaultProtector.lo
DefaultProtector.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
DefaultProtector.cpp  -fPIC -DPIC -o .libs/DefaultProtector.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o
DynamicLibraryManager.lo DynamicLibraryManager.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
DynamicLibraryManager.cpp  -fPIC -DPIC -o .libs/DynamicLibraryManager.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o
DynamicLibraryManagerException.lo DynamicLibraryManagerException.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
DynamicLibraryManagerException.cpp  -fPIC -DPIC -o
.libs/DynamicLibraryManagerException.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o Exception.lo Exception.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
Exception.cpp  -fPIC -DPIC -o .libs/Exception.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o Message.lo Message.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
Message.cpp  -fPIC -DPIC -o .libs/Message.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o RepeatedTest.lo
RepeatedTest.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
RepeatedTest.cpp  -fPIC -DPIC -o .libs/RepeatedTest.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o PlugInManager.lo
PlugInManager.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
PlugInManager.cpp  -fPIC -DPIC -o .libs/PlugInManager.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o PlugInParameters.lo
PlugInParameters.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
PlugInParameters.cpp  -fPIC -DPIC -o .libs/PlugInParameters.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o Protector.lo Protector.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
Protector.cpp  -fPIC -DPIC -o .libs/Protector.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o ProtectorChain.lo
ProtectorChain.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
ProtectorChain.cpp  -fPIC -DPIC -o .libs/ProtectorChain.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o SourceLine.lo
SourceLine.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
SourceLine.cpp  -fPIC -DPIC -o .libs/SourceLine.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o StringTools.lo
StringTools.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
StringTools.cpp  -fPIC -DPIC -o .libs/StringTools.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o SynchronizedObject.lo
SynchronizedObject.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
SynchronizedObject.cpp  -fPIC -DPIC -o .libs/SynchronizedObject.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o Test.lo Test.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
Test.cpp  -fPIC -DPIC -o .libs/Test.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TestAssert.lo
TestAssert.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestAssert.cpp  -fPIC -DPIC -o .libs/TestAssert.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TestCase.lo TestCase.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestCase.cpp  -fPIC -DPIC -o .libs/TestCase.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TestCaseDecorator.lo
TestCaseDecorator.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestCaseDecorator.cpp  -fPIC -DPIC -o .libs/TestCaseDecorator.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TestComposite.lo
TestComposite.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestComposite.cpp  -fPIC -DPIC -o .libs/TestComposite.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TestDecorator.lo
TestDecorator.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestDecorator.cpp  -fPIC -DPIC -o .libs/TestDecorator.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TestFactoryRegistry.lo
TestFactoryRegistry.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestFactoryRegistry.cpp  -fPIC -DPIC -o .libs/TestFactoryRegistry.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TestFailure.lo
TestFailure.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestFailure.cpp  -fPIC -DPIC -o .libs/TestFailure.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TestLeaf.lo TestLeaf.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestLeaf.cpp  -fPIC -DPIC -o .libs/TestLeaf.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TestNamer.lo TestNamer.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestNamer.cpp  -fPIC -DPIC -o .libs/TestNamer.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TestPath.lo TestPath.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestPath.cpp  -fPIC -DPIC -o .libs/TestPath.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o
TestPlugInDefaultImpl.lo TestPlugInDefaultImpl.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestPlugInDefaultImpl.cpp  -fPIC -DPIC -o .libs/TestPlugInDefaultImpl.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TestResult.lo
TestResult.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestResult.cpp  -fPIC -DPIC -o .libs/TestResult.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TestResultCollector.lo
TestResultCollector.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestResultCollector.cpp  -fPIC -DPIC -o .libs/TestResultCollector.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TestRunner.lo
TestRunner.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestRunner.cpp  -fPIC -DPIC -o .libs/TestRunner.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TestSetUp.lo TestSetUp.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestSetUp.cpp  -fPIC -DPIC -o .libs/TestSetUp.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TestSuccessListener.lo
TestSuccessListener.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestSuccessListener.cpp  -fPIC -DPIC -o .libs/TestSuccessListener.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TestSuite.lo TestSuite.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestSuite.cpp  -fPIC -DPIC -o .libs/TestSuite.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o
TestSuiteBuilderContext.lo TestSuiteBuilderContext.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TestSuiteBuilderContext.cpp  -fPIC -DPIC -o .libs/TestSuiteBuilderContext.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TextOutputter.lo
TextOutputter.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TextOutputter.cpp  -fPIC -DPIC -o .libs/TextOutputter.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o
TextTestProgressListener.lo TextTestProgressListener.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TextTestProgressListener.cpp  -fPIC -DPIC -o .libs/TextTestProgressListener.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TextTestResult.lo
TextTestResult.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TextTestResult.cpp  -fPIC -DPIC -o .libs/TextTestResult.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TextTestRunner.lo
TextTestRunner.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TextTestRunner.cpp  -fPIC -DPIC -o .libs/TextTestRunner.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o TypeInfoHelper.lo
TypeInfoHelper.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
TypeInfoHelper.cpp  -fPIC -DPIC -o .libs/TypeInfoHelper.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o
UnixDynamicLibraryManager.lo UnixDynamicLibraryManager.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
UnixDynamicLibraryManager.cpp  -fPIC -DPIC -o .libs/UnixDynamicLibraryManager.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o
ShlDynamicLibraryManager.lo ShlDynamicLibraryManager.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
ShlDynamicLibraryManager.cpp  -fPIC -DPIC -o .libs/ShlDynamicLibraryManager.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o XmlDocument.lo
XmlDocument.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
XmlDocument.cpp  -fPIC -DPIC -o .libs/XmlDocument.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o XmlElement.lo
XmlElement.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
XmlElement.cpp  -fPIC -DPIC -o .libs/XmlElement.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o XmlOutputter.lo
XmlOutputter.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
XmlOutputter.cpp  -fPIC -DPIC -o .libs/XmlOutputter.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o XmlOutputterHook.lo
XmlOutputterHook.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
XmlOutputterHook.cpp  -fPIC -DPIC -o .libs/XmlOutputterHook.o
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../config -I../../include -I../../include     -c -o
Win32DynamicLibraryManager.lo Win32DynamicLibraryManager.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include -c
Win32DynamicLibraryManager.cpp  -fPIC -DPIC -o .libs/Win32DynamicLibraryManager.o
/bin/sh ../../libtool --tag=CXX   --mode=link g++   -no-undefined -version-info
1:0:0 -release 1.12  -o libcppunit.la -rpath
/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/ooo-install/lib
AdditionalMessage.lo Asserter.lo BeOsDynamicLibraryManager.lo
BriefTestProgressListener.lo CompilerOutputter.lo DefaultProtector.lo
DynamicLibraryManager.lo DynamicLibraryManagerException.lo Exception.lo
Message.lo RepeatedTest.lo PlugInManager.lo PlugInParameters.lo Protector.lo
ProtectorChain.lo SourceLine.lo StringTools.lo SynchronizedObject.lo Test.lo
TestAssert.lo TestCase.lo TestCaseDecorator.lo TestComposite.lo TestDecorator.lo
TestFactoryRegistry.lo TestFailure.lo TestLeaf.lo TestNamer.lo TestPath.lo
TestPlugInDefaultImpl.lo TestResult.lo TestResultCollector.lo TestRunner.lo
TestSetUp.lo TestSuccessListener.lo TestSuite.lo TestSuiteBuilderContext.lo
TextOutputter.lo TextTestProgressListener.lo TextTestResult.lo TextTestRunner.lo
TypeInfoHelper.lo UnixDynamicLibraryManager.lo ShlDynamicLibraryManager.lo
XmlDocument.lo XmlElement.lo XmlOutputter.lo XmlOutputterHook.lo
Win32DynamicLibraryManager.lo  -lm
g++ -shared -nostdlib
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../lib64/crti.o
/usr/lib64/gcc/x86_64-suse-linux/4.5/crtbeginS.o  .libs/AdditionalMessage.o
.libs/Asserter.o .libs/BeOsDynamicLibraryManager.o
.libs/BriefTestProgressListener.o .libs/CompilerOutputter.o
.libs/DefaultProtector.o .libs/DynamicLibraryManager.o
.libs/DynamicLibraryManagerException.o .libs/Exception.o .libs/Message.o
.libs/RepeatedTest.o .libs/PlugInManager.o .libs/PlugInParameters.o
.libs/Protector.o .libs/ProtectorChain.o .libs/SourceLine.o .libs/StringTools.o
.libs/SynchronizedObject.o .libs/Test.o .libs/TestAssert.o .libs/TestCase.o
.libs/TestCaseDecorator.o .libs/TestComposite.o .libs/TestDecorator.o
.libs/TestFactoryRegistry.o .libs/TestFailure.o .libs/TestLeaf.o
.libs/TestNamer.o .libs/TestPath.o .libs/TestPlugInDefaultImpl.o
.libs/TestResult.o .libs/TestResultCollector.o .libs/TestRunner.o
.libs/TestSetUp.o .libs/TestSuccessListener.o .libs/TestSuite.o
.libs/TestSuiteBuilderContext.o .libs/TextOutputter.o
.libs/TextTestProgressListener.o .libs/TextTestResult.o .libs/TextTestRunner.o
.libs/TypeInfoHelper.o .libs/UnixDynamicLibraryManager.o
.libs/ShlDynamicLibraryManager.o .libs/XmlDocument.o .libs/XmlElement.o
.libs/XmlOutputter.o .libs/XmlOutputterHook.o .libs/Win32DynamicLibraryManager.o
 -L/usr/lib64/gcc/x86_64-suse-linux/4.5
-L/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../lib64 -L/lib/../lib64
-L/usr/lib/../lib64
-L/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/lib
-L/usr/lib64/gcc/x86_64-suse-linux/4.5/../../.. -lstdc++ -lm -lc -lgcc_s
/usr/lib64/gcc/x86_64-suse-linux/4.5/crtendS.o
/usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../lib64/crtn.o  -Wl,-soname
-Wl,libcppunit-1.12.so.1 -o .libs/libcppunit-1.12.so.1.0.0
(cd .libs && rm -f libcppunit-1.12.so.1 && ln -s libcppunit-1.12.so.1.0.0
libcppunit-1.12.so.1)
(cd .libs && rm -f libcppunit.so && ln -s libcppunit-1.12.so.1.0.0 libcppunit.so)
creating libcppunit.la
(cd .libs && rm -f libcppunit.la && ln -s ../libcppunit.la libcppunit.la)
make[4]: Entering directory
`/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/src/cppunit'
test -z
"/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/ooo-install/lib"
|| /bin/mkdir -p
"/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/ooo-install/lib"
 /bin/sh ../../libtool   --mode=install /usr/bin/install -c  'libcppunit.la'
'/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/ooo-install/lib/libcppunit.la'
/usr/bin/install -c .libs/libcppunit-1.12.so.1.0.0
/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/ooo-install/lib/libcppunit-1.12.so.1.0.0
(cd
/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/ooo-install/lib
&& { ln -s -f libcppunit-1.12.so.1.0.0 libcppunit-1.12.so.1 || { rm -f
libcppunit-1.12.so.1 && ln -s libcppunit-1.12.so.1.0.0 libcppunit-1.12.so.1; }; })
(cd
/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/ooo-install/lib
&& { ln -s -f libcppunit-1.12.so.1.0.0 libcppunit.so || { rm -f libcppunit.so &&
ln -s libcppunit-1.12.so.1.0.0 libcppunit.so; }; })
/usr/bin/install -c .libs/libcppunit.lai
/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/ooo-install/lib/libcppunit.la
PATH="$PATH:/sbin" ldconfig -n
/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/ooo-install/lib
----------------------------------------------------------------------
Libraries have been installed in:
  
/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/ooo-install/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory
`/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/src/cppunit'
make[3]: Leaving directory
`/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/src/cppunit'
Making install in DllPlugInTester
make[3]: Entering directory
`/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/src/DllPlugInTester'
 cd ../.. && /bin/sh ./config.status src/DllPlugInTester/Makefile depfiles
config.status: creating src/DllPlugInTester/Makefile
config.status: executing depfiles commands
make[3]: Leaving directory
`/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/src/DllPlugInTester'
make[3]: Entering directory
`/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/src/DllPlugInTester'
g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include     -c -o
DllPlugInTester.o DllPlugInTester.cpp
g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include -I../../include     -c -o
CommandLineParser.o CommandLineParser.cpp
/bin/sh ../../libtool --tag=CXX   --mode=link g++   -ldl  -o DllPlugInTester
DllPlugInTester.o CommandLineParser.o ../../src/cppunit/libcppunit.la -lm
mkdir .libs
g++ -o .libs/DllPlugInTester DllPlugInTester.o CommandLineParser.o  -ldl
../../src/cppunit/.libs/libcppunit.so -lm  -Wl,--rpath
-Wl,/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.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'
collect2: ld returned 1 exit status
make[3]: *** [DllPlugInTester] Error 1
make[3]: Leaving directory
`/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/src/DllPlugInTester'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/local/ooovanilla/ooodev_hg/newworkingDEV300/cppunit/unxlngx6.pro/misc/build/cppunit-1.12.1'
dmake:  Error code 2, while making './unxlngx6.pro/misc/build/so_built_cppunit'

1 module(s): 
        cppunit
need(s) to be rebuilt

Reason(s):


Attention: if you fix the errors in above module(s) you may prolongue your the
build issuing command:

        build --all:cppunit

make: *** [all] Fehler 1
Comment 2 maand 2010-08-24 12:14:31 UTC
There is a warning about missing automake 1.10, but there is automake 1.11 on my
box. I think the test should be changed to automake 1.10 or newer.

I used a freshly cloned mercurial repository for building. 
Comment 3 maand 2010-08-25 20:46:17 UTC
I get a workaround for this issue that let me build OOo.This workaround is from
the file build-allow-system-cppunit-1.12.0.diff inside the go-oo repro.
This patch changes the line in the configure.in from
PKG_CHECK_MODULES( CPPUNIT, cppunit >= 1.12.1 )
to
PKG_CHECK_MODULES( CPPUNIT, cppunit >= 1.12.0 )

I had to do a autoconf and to restart ./configure with the addition of the
option --with-system-cppunit.

But this is only a workaround and doesn't solve the issue itself.
Comment 4 maand 2010-08-25 20:57:44 UTC
I made a mistake in first post on this issue: the correct number of the other
issue with the patch that doesn't help is issue 111141.
Comment 5 Stephan Bergmann 2010-08-30 08:20:28 UTC
1.12.0 vs. 1.12.1 is separate issue 114193
Comment 6 Marcus 2017-05-20 11:29:33 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 7 damjan 2022-04-28 02:23:24 UTC
We use GoogleTest now instead of CppUnit, and have been for a long time. Resolving fixed.