[LC++]link error

alain alainbe at free.fr
Sat Dec 7 06:24:02 UTC 2002


I am trying to compile the ibpp (<http://www.ibpp.org/>) c++ drivers for
interbase/firebird.
Everything went mostly fine except the link step:

make[3]: Entre dans le répertoire
`/home/alain/interbase_firebird/ibpp/tests'
cc -DIBPP_LINUX -DIBPP_GCC -g -DDEBUG -Wall -I.. -odebug/linux/test1.o
-c test1.cpp
test1.cpp: In member function `void Test::Test6()':
test1.cpp:624: warning: unused variable `char msg[512]'
cc debug/linux/test1.o -o debug/linux/test1  ../debug/linux/libibpp.a
-lm -lcrypt -lgds -lstdc++
/usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgds.so:
undefined reference to `dlclose'
/usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgds.so:
undefined reference to `dlopen'
/usr//bin/../lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libgds.so:
undefined reference to `dlsym'
collect2: ld returned 1 exit status

lgbs is a interbase/firebird library. It comes from a binary
distribution.

Does this problem mean that I should compile firebird myself to avoid
this problem?

Thanks for you help

A.Bertrand







More information about the tuxCPProgramming mailing list