Re: OS X 10.8.4 DBD::mysql build looking for libmysqlclient in wrong place?




On Sat, 26 May 2007 12:20:44 -0700, cosimo1953 wrote:

Hey:

I'm trying to install DBD:mysql against DBI-1.56 and my own build of
perl
on a Macbook Pro running OS X 10.4.8. In a number of the tests run
during
the install I'm getting the error below. It seems to me that the
Dynaloader
is looking for libmysqlclient.15.dylib in the wrong place. It's
installed at

/usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
and NOT at

/usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
where the Dynalodaer is looking for it.

I've included some other details of my system below. Hope someone can
help.

Thanks,
Cosimo

<much clippage here>
Try this:

cd /usr/local/mysql/lib
sudo mkdir mysql
cd mysql/
sudo ln -s ../libmysqlclient.15.0.0.dylib libmysqlclient.15.0.0.dylib
sudo ln -s ../libmysqlclient.15.0.0.dylib libmysqlclient.15.dylib
sudo ln -s ../libmysqlclient.15.0.0.dylib libmysqlclient.dylib

you might have to restart after this.

Mark in Tigard, OR

.



Relevant Pages

  • Re: Root privilege (SOLVED)
    ... Why should install programs run with the "extreme" privileges I ... Upgrading those binaries is a potential security ... sudo does not seem to go in the right direction. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: tinybsd qemu small howto
    ... install FreeBSD 7.0 ISO ... sudo cp GENERIC MY_KERNEL ... I use qemu to test my images. ...
    (freebsd-current)
  • Re: Problem of install tarball packages
    ... How to config the sudo, then allow user A to install tarball packages with FC8 System? ...
    (Fedora)
  • Re: Using Perl to connect a Linux box to Linux/Windows boxes
    ... If you are to write something to copy files to remote machines and install software, and the installation of said software requires root access, yet you are not allowed to become root then you cannot complete the task. ... if you are to use sudo to do the root install command then often the network admin will set up sudo such that you need to enter a password. ...
    (comp.lang.perl.misc)
  • Re: Problem of install tarball packages
    ... How to config the sudo, then allow user A to install tarball packages with FC8 System? ... 'rpm' is just another command you add to the allowed commands. ...
    (Fedora)