3 messages in com.mysql.lists.perlRe: 'make test' fails on solaris - mo...
FromSent OnAttachments
msmonroe07 Nov 2002 15:54 
Jochen Wiedmann08 Nov 2002 00:03 
Matthew Monroe08 Nov 2002 22:36 
Subject:Re: 'make test' fails on solaris - more info
From:Matthew Monroe (msmo@stravin.com)
Date:11/08/2002 10:36:52 PM
List:com.mysql.lists.perl

Zitiere msmonroe <msmo@stravin.com>:

DBD::mysql: ld.so.1: /usr/bin/perl: fatal: libmysqlclient.so.10: open

- Does this file exist on your local machine? - If so: Is it a soft link? Pointing to what? Does the referenced file really exist? (Try "wc /usr/somwhere/libmysqlclient.so.10") - Is it possible to create a soft link to /usr/lib or something similar? Perhaps just for the sake of testing?

Success!!

Yes, libmysqlclient.so.10 is in /usr/local/mysql/lib/mysql and is a soft link to another file 'libmysqlclient.10.0.0' in the same directory.

I created another soft link in /usr/lib of libmysqlclient.so.10 to /usr/local/mysql/lib/mysql/libmysqlclient.10.0.0. When I tried 'make test' after this change, it worked!

I guess, even though the directory '/usr/local/mysql/lib/mysql' exists in the output of the mysql_config --libs command, that doesn't ensure that the linker can find those libraries.

Thanks Jochen, much appreciated.