hi. i'm trying to develop a perl app, which uses PostgreSQL for te
database. the app works fine, however i can't get it to run on client's
machine.
he's got fedora core 2 running there. i had to install PostgreSQL and
DBD::Pg myself (through 'yum' since it's fedora).
the problem i get is:
DBD::Pg installs itself in /usr/lib/perl5/vendor_perl which is not in
@INC by default.
if i modify @INC before including DBI (either by "use lib ..." or by
manually adding the path to @INC) i get an error:
/usr/bin/perl: error while loading shared libraries:
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/auto/DBI/DBI.so:
undefined symbol: Perl_Gthr_key_ptr
i tried changing the include path after loading DBI. DBI loads fine, but
when loading DBD::Pg, my app segfaults.
it doesn't matter if i "use DBD::Pg" or let DBI load the module implicitly.
does anybody know what could be the cause of the problem? i'd be
grateful for any support.
program versions are (as returned by rpm -qa):
perl-5.8.3-18
perl-DBI-1.40-4
perl-DBD-Pg-1.31-5
postgresql-7.4.7-3.FC2.1
thanks in advance
Jakub Łukomski
--
-- Jakub Łukomski - Blackmoon Development s.c. ---
--------- e-mail: [EMAIL PROTECTED] ----------
------ gg: 1359526 ------- icq: 21239043 -------
-------- jabber & msn: [EMAIL PROTECTED] ----------
------------- aim & tlen: qbalukom ---------------