|
From: stephan b. <st...@s1...> - 2004-12-19 14:34:04
|
i'm stumped on this one:
i can build and run demo/sql.cpp from the source tree, but when a client
lib i build in another tree tries to do the same stuff, namely open
psql_mysql.so, i get an undef symbol:
factory.addPlugin("psql_mysql.so");
...
PSqlSerializer.cpp:68 : Error from
P::Classes: /home/stephan/cvs/inst/lib/pclasses/psql_mysql.so:
undefined symbol: _ZTIN1P9SQLBigIntE
i'm linking against all of the P libs except the plugins:
stephan@owl:~/cvs/s11n.net/ps11n/src> ldd psql_serializer.so
...
libpcore.so.1 => /home/stephan/cvs/inst/lib/libpcore.so.1
(0x400ce000)
libpcrypto.so.1 => /home/stephan/cvs/inst/lib/libpcrypto.so.1
(0x40238000)
libpio.so.1 => /home/stephan/cvs/inst/lib/libpio.so.1
(0x40245000)
libpnet.so.1 => /home/stephan/cvs/inst/lib/libpnet.so.1
(0x4025c000)
libpsql.so.1 => /home/stephan/cvs/inst/lib/libpsql.so.1
(0x40292000)
libps11n.so => ./libps11n.so (0x402a4000)
...
If i add psql_mysql.so to my links it works, but i shouldn't have to do
this from the client side.
i also tried opening the DLL with own dll opener, and get the same
error:
class_loader.cpp:110 : Error opening
DLL: /home/stephan/cvs/inst/lib/pclasses/psql_mysql.so: undefined
symbol: _ZTIN1P9SQLBigIntE
Any ideas where to look to solve this?
--
----- st...@s1... http://s11n.net
"...pleasure is a grace and is not obedient to the commands
of the will." -- Alan W. Watts
|