in reply to Re^2: DBD::MySQL Install Problem
in thread DBD::MySQL Install Problem

install_driver(mysql) failed: Can't load '/usr/local/lib/perl5/site_perl/5.8.8/i86pc-solaris/auto/DBD/mysql/mysql.so' for module DBD::mysql: ld.so.1: perl: fatal: libmysqlclient.so.15: open failed: No such file or directory at /usr/local/lib/perl5/5.8.8/i86pc-solaris/DynaLoader.pm line 230.
You need to install the MySQL client libraries, which you can find here: MySQL downloads

Just reread your thread, where you said that you'd compiled MySQL from source, in which case you should already have the client libraries. So ignore the above. What about trying the MySQL prebuilt packages instead?

Clint

Replies are listed 'Best First'.
Re^4: DBD::MySQL Install Problem
by SeekerOfPerl (Initiate) on Aug 22, 2007 at 16:55 UTC
    The pre-build does not fix the problem with the DBD:Mysql.

    However just as I was about to throw the machine out in to the rain I was able to get DBI to work. ( At least at first glance. )

    In my MySQL libs I had three instances of libmysqlclient.

    libmysqlclient.so.15.0.0
    libmysqlclient.so.15
    libmysqlclient.so

    .so.15 and .so were links to libmysqlclient.so.15.0.0 so I removed them.

    I then ran make again on DBD-mysql-4.005 and then make install.

    I then ran the test.pl which seemed to work as it gave me a good error : )

    DBI connect('database=test;host=localhost','joe',...) failed: Access denied for user 'joe'@'localhost' (using password: YES) at test.pl line 7

    I will run more tests today and then report back if there are any other problems.