PG 6.5 and perl5
PG 6.5 and perl5
От:
"Steven M. Wheeler" <swheeler@sabre.com>
Дата:
I have downloaded the latest snapshot, compiled and installed the DB and am now trying to install the perl interface. I have verified all of my env settings several times and have even done a clean and rebuild a couple of times. No progress, I still get the same error when trying to do a "make test". Error (partial output of make -d test) Successfully remade target file `pure_all'. Finished dependencies of target file `test_dynamic'. Must remake target `test_dynamic'. PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00502//i586-linux -I/usr/lib/perl5/5.00502 test.pl Putting child 0x080791a0 PID 13736 on the chain. Live child 0x080791a0 PID 13736 /usr/bin/perl: can't resolve symbol 'mcount' Can't load 'blib/arch/auto/Pg/Pg.so' for module Pg: Unable to resolve symbol at /usr/lib/perl5/5.00502/i586-linux/DynaLoader.pm line 168. at test.pl line 12 BEGIN failed--compilation aborted at test.pl line 12. test failed Reaping losing child 0x080791a0 PID 13736 make: *** [test_dynamic] Error 2 Removing child 0x080791a0 PID 13736 from chain. I did have perl working fine with my 6.4.2 installation. -- Steven M. Wheeler UNIX Engineering The SABRE Group (918) 292-4119 (918) 292-4165 FAX
Re: [INTERFACES] PG 6.5 and perl5
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Steven M. Wheeler" writes: > I have downloaded the latest snapshot, compiled and installed the DB and > am now trying to install the perl interface. > /usr/bin/perl: can't resolve symbol 'mcount' Offhand I'd guess you compiled all the Postgres code (or at least libpq) with -pg for profiling purposes. It won't work to load it into a perl executable not compiled the same way... regards, tom lane
Re: [INTERFACES] PG 6.5 and perl5
От:
"Steven M. Wheeler" <swheeler@sabre.com>
Дата:
That was the problem! Thanks! -- Steven M. Wheeler UNIX Engineering The SABRE Group (918) 292-4119 (918) 292-4165 FAX Tom Lane wrote: > "Steven M. Wheeler" writes: > > I have downloaded the latest snapshot, compiled and installed the DB and > > am now trying to install the perl interface. > > > /usr/bin/perl: can't resolve symbol 'mcount' > > Offhand I'd guess you compiled all the Postgres code (or at least > libpq) with -pg for profiling purposes. It won't work to load it into > a perl executable not compiled the same way... > > regards, tom lane