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.
I run linux systems, Sparc Solaris and FreeBSD, my primary Zope installation is on Sun (sun.med.ru/Zope), so I think I can help. :) Yes, Solaris does not have /etc/ld.so.conf, it requires different approach. I did with Postgres (I am using Postgres on Sun and PyGres and ZPygres DA). When I compiled PyGreSQL I add -R linker switch - this is the path where to find .so library. It is not recommended by some people, but I think it is better than setting LD_LIBRARY_PATH environment. 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. Oleg. ---- Oleg Broytmann National Research Surgery Centre http://sun.med.ru/~phd/ Programmers don't die, they just GOSUB without RETURN.
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
participants (2)
-
chas -
Oleg Broytmann