[Zope] Re: Zope My/SQL Adapter LD_LIBRARY_PATH

Jonothan Farr jfarr@real.com
Tue, 22 Feb 2000 18:13:58 -0800


> Uh, the path.  I'm a newbie so I still don't quite get it.  If I type $ set
I do not see the LD_LIBRARY_PATH or # "set ".
> If I use the command
> #/usr/local/lib/mysql=LD_LIBRARY , I get the same result.  What should I do
to correct this problem?


LD_LIBRARY_PATH usually isn't set unless you set it. The easiest fix is to
create a symbolic link in /usr/local/lib pointing to the libmysqlclient.so.6
file. You'll probably need root access to do this.

cd /usr/local/lib
ln -s /usr/local/lib/mysql/libmysqlclient.so.6 libmysqlclient.so.6

This assumes the file is in /usr/local/lib/mysql.

If you don't have root access:

bash:
export LD_LIBRARY_PATH=/usr/local/lib/mysql

csh:
setenv LD_LIBRARY_PATH /usr/local/lib/mysql

should work.

-jfarr

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi! I'm a signature virus.
Copy me into your .sig to join the fun!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~