If you take a close look at the error message, you see that the script is 
looking for the files in /usr/local/ActivePerl-5.6/lib directory.

When you installed DBI & DBD::mysql, the files were probably installed in 
the regular Perl location (which is /usr/lib/perl5 on my Redhat 6.2 
system).

I suggest that you use ActiveState's ppm tool to install DBI and 
DBD::mysql for the ActivePerl environment.



On Wed, 12 Jun 2002, Scott Campbell wrote:

> Date: Wed, 12 Jun 2002 13:43:53 -0400
> From: Scott Campbell <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: [Perl-unix-users] Using DBI on Redhat 7.1
> 
> Sorry if this is the wrong forum, but I don't see an ActiveState Linux
> list.
> 
>  
> 
> I installed DBI and DBD-MySQL on the box.
> 
>  
> 
> Using the perl 5.6.1 that comes with RedHat, my script works fine and
> talks to the database.
> 
>  
> 
> If I try to use ActiveState's Linux ActivePerl, I get the following
> error when trying to run:
> 
>  
> 
> install_driver(mysql) failed: Can't load
> '/usr/local/ActivePerl-5.6/lib/5.6.1/auto/DBD/mysql/mysql.so' for module
> DBD::mysql: /usr/local/ActivePerl-5.6/lib/5.6.1/auto/DBD/mysql/mysql.so:
> undefined symbol: PL_perl_destruct_level at
> /usr/local/ActivePerl-5.6/lib/5.6.1/i686-linux-thread-multi/DynaLoader.p
> m line 206.
> 
> Compilation failed in require at (eval 1) line 3.
> 
> Perhaps a required shared library or dll isn't installed where expected
> 
>  
> 
> Does anyone have any idea on how to get mysql and activeperl working on
> RedHat Linux?
> 
>  
> 
>  
> 
> Scott Campbell
> 
> Senior Software Developer
> 
> Somix Technologies
> 
> (207) 324-8805
> 
> http://www.somix.com
> 
>  
> 
> 

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to