[Zope] ZMySQLDA

Phil Harris wmlph@d033.ml.uwcm.ac.uk
Fri, 5 Mar 1999 09:24:36 -0000


Where exactly is the file?

find out by doing a locate 'libmysqlclient'.

Let's assume that it is in /usr/local/mysql/lib.

The easiest way to accomplish what you want is this.

1.    cd /etc
2.    vi ld.so.conf
3.    Goto the end of the file and add a line that says
'/usr/local/mysql/lib'
      replace this with the exact location of you libmysqlient.so.6
4.    save the file
5.    run 'ldconfig'
6.    run 'sync' twice, this just makes sure all changes are written to the
disk.

This adds the mysql lib directory to the lib search path.

HTH

Phil


----- Original Message -----
From: Timothy Grant <tjg@avalongroup.net>
To: Zope Folk <zope@zope.org>
Sent: Friday, March 05, 1999 4:05 AM
Subject: Re: [Zope] ZMySQLDA


>John Eikenberry wrote:
>
>> 1. Get everything cleaned up (ie. back in the condition after first
>>    untarring ZMySQL).
>> 2. Edit Setup.in, add -L<the path to libmysqlclient> to the end of the
>>    last line.
>> 3. Proceed as usual (make -f Makefile.pre.in boot; make)
>
>Thanks to both John and Ronald for their kind assitance. I have made it
>past
>my original error and got everything compiled correctly. However, my
>general
>Newbieness is still coming back and biting me on the you-know-what.
>
>The instructions state that I should start python, and then Import the
>MySQL
>module to make sure it works. When I do, I get yet another error.
>
>Traceback (innermost last):
>  File "<stdin>", line 1, in ?
>ImportError: libmysqlclient.so.6: cannot open shared object file: No
>such
>file or directory
>
>The file does exist, so I am once again stumped.
>
>Thank you for your continued assitance.
>
>
>--
>Stand Fast,
> tjg.
>===================================================
>Timothy Grant
>VP Technology/CTO
>Avalon Technology Group
>tjg@avalongroup.net
>www.avalongroup.net
>(503) 246-3630 voice
>(503) 246-3124 fax
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope