RE: [Zope] ZMySQLDA product problem?
I don't think solaris has such a file.... nor does it have ldconfig... I also think the environment variable may be LD_LIBRARY_PATH... I dunno, though, its fuzzy.
-----Original Message----- From: Michel Pelletier [mailto:michel@digicool.com] Sent: Thursday, December 02, 1999 1:58 PM To: 'Art Hampton'; Michel Pelletier Cc: zope@zope.org Subject: RE: [Zope] ZMySQLDA product problem?
-----Original Message----- From: Art Hampton [mailto:arth@pacsg.css.mot.com] Sent: Thursday, December 02, 1999 1:35 PM To: Michel Pelletier Cc: zope@zope.org Subject: Re: [Zope] ZMySQLDA product problem?
Michel Pelletier wrote:
-----Original Message----- From: Art Hampton [mailto:arth@pacsg.css.mot.com] Sent: Thursday, December 02, 1999 12:02 PM To: zope@zope.org Subject: [Zope] ZMySQLDA product problem?
Uhm.. you do shut down the OS first before rebooting right?
Of course, we're using shutdown -i 6 under Solaris.
I had to ask. ;) Too many years of phone tech support in me...
ImportError: ld.so.1: /usr/local/bin/python: fatal: libmysqlclient.so.6: open failed: No such file or directory
Looks like it doesn't know where it should be looking for the library (/usr/local/lib/mysql in this case). What do I need to do?
Set your LDPATH (LD_PATH?) env variable to contain the path to mysql shared module. In Linux, you can also edit /etc/ld.so.conf, I don't know if Solaris has such a file.
-Michel
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Chris McDonough wrote:
I don't think solaris has such a file.... nor does it have ldconfig... I also think the environment variable may be LD_LIBRARY_PATH... I dunno, though, its fuzzy.
LD_LIBRARY_PATH is correct. And there doesn't seem to be an /etc/ld.so.conf file. Its equivalent is probably somewhere.... But I modified the start script to export LD_LIBRARY_PATH with the correct settings, and now I no longer have problems with the reboot. Thanks Michel and Chris for your help.
On Thu, 2 Dec 1999, Art Hampton wrote:
I don't think solaris has such a file.... nor does it have ldconfig... I also think the environment variable may be LD_LIBRARY_PATH... I dunno, though, its fuzzy.
LD_LIBRARY_PATH is correct. And there doesn't seem to be an /etc/ld.so.conf file. Its equivalent is probably somewhere....
There is no equivalent. The only alternative on Solaris is to compile/link with -R linker flag to stuff the full path to a library into executable. Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
participants (3)
-
Art Hampton -
Chris McDonough -
Oleg Broytmann