Hello Everyone,

We are attempting to use a Perl script to access MySQL on Red Hat Linux 
release 7.2 (Enigma) Kernel 2.4.7-10 on an i686
Unfortunately, the below error keeps appearing:

-------------------------
install_driver(mysql) failed: Can't locate loadable object for module 
DBD::mysql in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux 
/usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux 
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at (eval 1) 
line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a module that DBD::mysql requires hasn't been fully installed
 at ./mysqltest1 line 7
---------------------------
 
We have installed:

mysql-3.23.49-3.i386.rpm
mysql-server-3.23.49-3.i386.rpm
mysql-devel-3.23.49-3.i386.rpm

Msql-Mysql-modules-1.2219
DBI-1.30
DBD-mysql-2.1018

All have tested fine.  Of course, mySQL works fine with PHP scripts.
We have also upgraded Perl from 5.6 to 5.8 using cpan.

Addionally we have copied the objects to the directory that @INC is 
looking in.

cp -p -R  /usr/local/lib/perl5/site_perl/5.8.0/i686-linux  
/usr/lib/perl5/5.6.0/i386-linux

Now we receive this error: 
----------------------

/usr/bin/perl: error while loading shared libraries: 
/usr/lib/perl5/5.6.0/i386-linux/auto/DBD/mysql/mysql.so: undefined symbol: 
Perl_get_sv

 ---------------------

My guess would be to get "@INC" {per the initial error} to look into the 
proper directory {/usr/local/lib/perl5/site_perl/5.8.0/i686-linux} and not 
{/usr/lib/perl5/5.6.0/i386-linux}
 
Where is the @INC and how can we change it? or any added advice would be 
appreciated. 

Thanks in advance.

Nik  




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to