From: Christian P. <cp...@se...> - 2004-12-20 11:45:31
|
Am Sonntag 19 Dezember 2004 15:32 schrieb stephan beal: > 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 Is this problem already gone? Which platform are you using ? Did the configure script correctly detect the "long long" type ? SQLBigInt is a 64bit integer type. > 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? |