LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ModPerl 5.6 accessing InterBase 7 on Linux RH 7.2 (https://www.linuxquestions.org/questions/linux-software-2/modperl-5-6-accessing-interbase-7-on-linux-rh-7-2-a-55994/)

PaulC24 04-20-2003 05:17 PM

ModPerl 5.6 accessing InterBase 7 on Linux RH 7.2
 
Hi Guys,

Maybe somebody can point me in the correct direction. I've been at this particular problem for a day now and am making no progress.

I have a perl script accessing an Interbase 7 database quite happily using ActiveState Perl on a Windows 98 platform.

The problems begin when I try to migrate this script to my linux server.

The statement:

use DBD::InterBase

is causing the error:

perl: relocation error: /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBD/InterBase/InterBase.so: undefined symbol: Perl_Gthr_key_ptr


My linux server is running RedHat 7.2. My apache webserver is 1.3 and I am using a trial version of InterBase 7 - (with a view to making it permanent if successful).

I have installed perl-DBD-InterBase-0.40-alt2.rpm. This, inconveniently, did not copy files into the /usr/lib/perl5/site_perl structure, so I had to copy them all manually. I have checked that everything is present.

Can anybody tell me why InterBase.so is failing? Upon installation of the above rpm file, a list of dependencies appeared on the screen. I installed with the --nodeps option:

libgds.so, carp.pm, DBI.pm, dynaloader.pm, exporter.pm, strict.pm and vars.pm - all of which exist.
libperl.so.5.8 - does not exist.

Could this be the problem? Where would I get a copy? I looked in the usual places and not found anything.

Any help would by greatly appreciated.

Many thanks,

PaulC


All times are GMT -5. The time now is 03:42 AM.