Re: plperl again but different problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marcin Giedz <marcin.giedz@xxxxxxxxxxxxxx> writes:
>> createlang: language installation failed: ERROR:  could not load library
>> "/usr/local/postgresql-8.0.3/lib/plperl.so":
>> /usr/local/postgresql-8.0.3/lib/plperl.so: undefined symbol: Perl_croak

I think you've got some kind of mismatch between the compilation options
for Perl proper and those for plperl.  IIRC, Perl can spell its exported
function names in several different ways (eg, with or without the Perl_
prefix).  It looks like plperl is expecting a different convention than
what the libperl.so file was actually built with.

Use ldd on plperl.so to double check which libperl it's trying to link
to.  Double check that the Perl header files you compiled plperl against
came from the same Perl build that produced libperl.so.

			regards, tom lane


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux