[Zope] ZMySQLDA error
chas
panda@skinnyhippo.com
Wed, 13 Oct 1999 02:42:31 +0800
>On Tue, 12 Oct 1999, Slaets, Maarten wrote:
>> hi oleg,
>> i'm afraid not. I installed it on a Solaris 2.7. I will ask some solaris
>> dude here on how to do the same as you described under solaris.
>
> So you have two approaches to choose from. You may set LD_LIBRARY_PATH
>environment for Zope (do it in start script) and restart Zope.
> Or you may recompiile ZMySQL DA and use -R option. -R path must point to
>a directory where you have installed MySQL libraries:
> -R /usr/local/lib
>And again, restart Zope after compilation.
Alternatively, the fast and easy (ie. low-tech) solution, symlink it.
eg. paths will depend on your box but this works for me :
ln -s /usr/local/lib/mysql/libmysqlclient.so.6 /usr/lib/libmysqldclient.so.6
instant gratification :)
chas