Then I get:
Name "main::row" used only once: possible typo at ./Backup.pl line 93.
install_driver(mysql) failed: Can't find 'boot_DBD__mysql' symbol in
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql/mysql.
so
 at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.

I think the problem is that perl is installed with linux threads and I don't
have a multi processor machine so I don't need it.  But when I reinstall the
rpm it continues to use threads.  Any Ideas on how to reinstall without
threads?

Thanks,

Jamin Roth
Systems/Network Administrator
Sorensen Associates Inc
Phone: (503) 665-0123 ext 289
Fax: (503) 666-5113
http://www.sorensen-associates.com/


-----Original Message-----
From: PARLEY,THUNDER (HP-MountainView,ex1) [mailto:[EMAIL PROTECTED]
Sent: Monday, July 28, 2003 11:53 AM
To: 'Jamin Roth'
Subject: RE: :mysql Error


Hi Jamin,

Remove the line
use DBD:mysql;

It is unnecessary, DBI will load the correct DBD depending on the connection
string, etc.

--Thunder



-----Original Message-----
From: Jamin Roth [mailto:[EMAIL PROTECTED]
Sent: Monday, July 28, 2003 11:12 AM
To: DBI users
Subject: DBD::mysql Error


I have a Red Hat 8.0 box with:
MySQL 3.23.52-3
perl 5.8.0-55
DBD MySQL 2.1017-3

When I run my perl script I always get:
Can't find 'boot_DBD__mysql' symbol in
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql/mysql.
so
 at ./Backup.pl line 8
Compilation failed in require at ./Backup.pl line 8.
BEGIN failed--compilation aborted at ./Backup.pl line 8.

Backup.pl:
#!/usr/bin/perl -w

# #################################################################
# # This Script performs a backup of the specified host
# #################################################################

use DBI;
use DBD::mysql;

I know the script works fine because I can run it on my FreeBSD machine and
it works fine.  Any help would be great

Thanks,

Jamin Roth
Systems/Network Administrator
Sorensen Associates Inc
Phone: (503) 665-0123 ext 289
Fax: (503) 666-5113
http://www.sorensen-associates.com/


Reply via email to