Re: install_driver (mysql) failed
Hello. I'm not a Solaris expert but the general way for solving similar problems is described at: http://dev.mysql.com/doc/mysql/en/perl-support-problems.html http://dev.mysql.com/doc/mysql/en/myodbc-unix-shared-libraries.html Uthra Rao [EMAIL PROTECTED] wrote: We are running mysql 4.1.13 on solaris 9 box. Everything was fine until someone accidentally deleted the mysql directory where the application was installed. I had to retrieve it from our backup tape. I then stopped and started mysqld daemon. Please note that we had installed mysql with the binary tar file. Since we restored the mysql application directory form our backup we are getting the following error with our databases that interfaces with perl in the cgi-bin. Software error: install_driver(mysql) failed: Can't load '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/mysql/mysql.so' for module DBD::mysql: ld.so.1: perl: fatal: libmysqlclient.so.10: open failed: No such file or directory at /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229. at (eval 4) line 3 Compilation failed in require at (eval 4) line 3. Perhaps a required shared library or dll isn't installed where expected at /PATH/PATH/PATH/cgi-bin/filename.cgi line 55 I would appreciate some help as soon as possible. Thank you. -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.NET http://www.ensita.net/ __ ___ ___ __ / |/ /_ __/ __/ __ \/ /Gleb Paharenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET ___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
install_driver (mysql) failed
We are running mysql 4.1.13 on solaris 9 box. Everything was fine until someone accidentally deleted the mysql directory where the application was installed. I had to retrieve it from our backup tape. I then stopped and started mysqld daemon. Please note that we had installed mysql with the binary tar file. Since we restored the mysql application directory form our backup we are getting the following error with our databases that interfaces with perl in the cgi-bin. Software error: install_driver(mysql) failed: Can't load '/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/mysql/mysql.so' for module DBD::mysql: ld.so.1: perl: fatal: libmysqlclient.so.10: open failed: No such file or directory at /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229. at (eval 4) line 3 Compilation failed in require at (eval 4) line 3. Perhaps a required shared library or dll isn't installed where expected at /PATH/PATH/PATH/cgi-bin/filename.cgi line 55 I would appreciate some help as soon as possible. Thank you. URR.
install_driver(mysql) failed: Can't locate object method bootstrap via package
Hey everyone! I'm hoping someone can help me out with this... I'm trying to write a perl/cgi to connect to mysql. This is my code: #!/usr/bin/perl print Content-type: text/html\n\n; use DBI(); connect(DBD::mysql,usertest); read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); @pairs = split(//, $buffer); foreach $pair (@pairs) { ($name, $value) = split(/=/, $pair); $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack(C,hex($1))/eg; $HW{$name} = $value; } $dbh = DBI-connect(DBI:mysql:newdb,usertest,password); This is my error message: Content-type: text/html install_driver(mysql) failed: Can't locate object method bootstrap via package IO::Handle at /usr/lib/perl5/site_perl/DBD/mysql.pm line 14. at ./sli.cgi line 21 I would appreciate any help anyone could offer. Thanks! Heather - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: install_driver(mysql) failed: Can't locate object method bootstrap via package
I'm still stuck... but Im making progress? This is the new problem: - Original Message - From: Heather Wagamon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 29, 2001 10:57 AM Subject: install_driver(mysql) failed: Can't locate object method bootstrap via package Hey everyone! I'm hoping someone can help me out with this... I'm trying to write a perl/cgi to connect to mysql. This is my code: #!/usr/bin/perl print Content-type: text/html\n\n; use DBI(); read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); @pairs = split(//, $buffer); foreach $pair (@pairs) { ($name, $value) = split(/=/, $pair); $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack(C,hex($1))/eg; $HW{$name} = $value; } $dbh = DBI-connect(DBI:mysql:newdb,usertest,password); This is my error message: Content-type: text/html perl: error in loading shared libraries /usr/lib/perl5/site_perl/i386-linux/auto/DBD/mysql/mysql.so: undefined symbol: m ysql_init I would appreciate any help anyone could offer. Thanks! Heather - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
install_driver(mysql) failed: Can't load '../blib/arch/auto/
I installed mysql on a Redhat client on the LAN. Used ./configure --without-server option. Now when I make test Msql-Mysql-modules I get the following: [root@lowlyfollower Msql-Mysql-modules-1.2214]# make test make[1]: Entering directory `/usr/rushclient/src/Mysql_Mod/Msql-Mysql-modules-1. 2214/mysql' make[1]: Leaving directory `/usr/rushclient/src/Mysql_Mod/Msql-Mysql-modules-1.2 214/mysql' make[1]: Entering directory `/usr/rushclient/src/Mysql_Mod/Msql-Mysql-modules-1. 2214/mysql' PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib -I/usr/lib/perl5/5. 00503/i386-linux -I/usr/lib/perl5/5.00503 -e 'use Test::Harness qw(runtests $ve rbose); $verbose=0; runtests @ARGV;' t/*.t t/00baseinstall_driver(mysql) failed: Can't load '../blib/arch/auto/ DBD/mysql/mysql.so' for module DBD::mysql: ../blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: uncompress at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. at (eval 1) line 3 at t/00base.t line 38 dubious Test returned status 255 (wstat 65280, 0xff00) Undefined subroutine Test::Harness::WCOREDUMP called at /usr/lib/perl5/5.00503/ Test/Harness.pm line 288. make[1]: *** [test_dynamic] Error 255 make[1]: Leaving directory `/usr/rushclient/src/Mysql_Mod/Msql-Mysql-modules-1.2 214/mysql' make: *** [test] Error 2 The mysql server is up and running and I do have have write priveledges. Can anyone please help? Richard - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php