in reply to Re: perl: symbol lookup error:/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/DBI/DBI.so: undefined symbol: Perl_Tstack_sp_ptr
in thread perl: symbol lookup error:/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/DBI/DBI.so: undefined symbol: Perl_Tstack_sp_ptr

I don't know if it's any help but *if* you're embedding perl in a shred libray, and *if* that library is, in tern calling "use DBI", and *if* you're developing on a unix system... then that shared library, in addition to setting up DynaLoader xs_init stuff, needs to add this to xs_init:
#ifdef unix dlopen("libperl.so", RTLD_LAZY|RTLD_GLOBAL); #endif
or else it won't work.
  • Comment on Re^2: perl: symbol lookup error:/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/DBI/DBI.so: undefined symbol: Perl_Tstack_sp_ptr
  • Download Code