1 |
Hi to all, |
2 |
I am in very big problem, please help me. My dev-db/mysql has upgraded from dev-db/mysql-4.1.21 to dev-db/mysql-5.0.26-r1. Because of this, i am getting this error : - |
3 |
|
4 |
Undefined subroutine &DBD::mysql::db::_login called at /usr/lib/perl5/vendor_perl/5.8.7/i686-linux/DBD/mysql.pm line 129.\n |
5 |
|
6 |
-> Previously after upgrading i was getting the error like |
7 |
|
8 |
[Thu Dec 14 12:41:35 2006] [error] [client 192.168.99.183] install_driver(mysql) failed: Can't load '/usr/lib/perl5/vendor_perl/5.8.7/i686-linux/auto/DBD/mysql/mysql.so' for module DBD::mysql: libmysqlclient.so.14: cannot open shared object file: No |
9 |
such file or directory at /usr/lib/perl5/5.8.8/i686-linux/DynaLoader.pm line 230.\n at (eval 200) line 3\nCompilation failed |
10 |
in require at (eval 200) line 3.\nPerhaps a required shared library or dll isn't installed where expected\n at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106\n |
11 |
|
12 |
-> In order to removing this error, i have once again compiled DBD::mysql module. But it was giving me error although it is not compiled yet. I did some workaround after reading some archives msgs and the README file provided with DBD::mysql module. My workaround was something like that |
13 |
|
14 |
mkdir /tmp/mysql-static |
15 |
cp /usr/lib/mysql/*.a /tmp/mysql-static |
16 |
perl Makefile.PL --libs="-L/tmp/mysql-static -lmysqlclient" |
17 |
make |
18 |
make test |
19 |
make install |
20 |
rm -rf /tmp/mysql-static |
21 |
|
22 |
-> After doing all these stuff, now i am getting the error above mentioned like |
23 |
|
24 |
[Thu Dec 14 16:17:05 2006] [error] [client 192.168.99.183] Undefined subroutine &DBD::mysql::db::_login called at /usr/lib/perl5/vendor_perl/5.8.7/i686-linux/DBD/mysql.pm line 129.\n |
25 |
|
26 |
Now, i dont know how to tackle this. Please Please help me. I have read all the archives till date, but didnt find any solution. |
27 |
|
28 |
|
29 |
Bijayant Kumar |
30 |
Send instant messages to your online friends http://uk.messenger.yahoo.com |