<br><font size=2 face="sans-serif">Thanks Jack for the info. I will take
a look once more. As far as I remember the setup.py does not contain specific
information about the thing it expects to find in that library. </font>
<br>
<br><font size=2><tt>/usr/lib/libcrypto.dylib</tt></font><font size=2 face="sans-serif">
- this sounds interesting, I will check if I can find something more detailed
about this.</font>
<br>
<br><font size=2 face="sans-serif">Have a good day,</font>
<br>
<br><font size=2 face="sans-serif">Zsolt Putnoky</font>
<br>
<br>
<br>
<br>
<p><font size=1 color=#800080 face="sans-serif">To:
</font><font size=1 face="sans-serif">Zsolt PUTNOKY/FR/ALCATEL@ALCATEL</font>
<br><font size=1 color=#800080 face="sans-serif">cc:
</font><font size=1 face="sans-serif">pythonmac-sig@python.org</font><font size=1 color=#800080 face="sans-serif">
</font>
<br><font size=1 color=#800080 face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: [Pythonmac-SIG]
Problem during installing MySQL module in Python - Other error</font>
<br>
<br>
<br>
<br><font size=2><tt>On 1 Dec 2004, at 08:27, Zsolt.Putnoky@alcatel.fr
wrote:<br>
</tt></font>
<br><font size=2><tt>><br>
> I had rebuilt MySQL 4.0.22 from the source and rebuilt Python 2.3.4<br>
> from the source. I tried to install the MySQL-Python module (version<br>
> 1.1.7), below is the result<br>
><br>
> [Fiji:~/Temp/MySQL-python-1.1.7] zsoltput% set mysqlversion="4.0.22"<br>
> [Fiji:~/Temp/MySQL-python-1.1.7] zsoltput% set mysqloptlib="ssl
crypto"<br>
><br>
> [Fiji:~/Temp/MySQL-python-1.1.7] zsoltput% /usr/local/bin/python<br>
> setup.py build<br>
> running build<br>
> running build_py<br>
> running build_ext<br>
> building '_mysql' extension<br>
> gcc -bundle -bundle_loader /usr/local/bin/python2.3<br>
> build/temp.darwin-7.6.0-Power_Macintosh-2.3/_mysql.o<br>
> -L/usr/local/mysql/lib -lmysqlclient -lz -lcrypt -o<br>
> build/lib.darwin-7.6.0-Power_Macintosh-2.3/_mysql.so -flat_namespace<br>
> ld: can't locate file for: -lcrypt<br>
> error: command 'gcc' failed with exit status 1<br>
</tt></font>
<br><font size=2><tt>MacOSX doesn't have a library libcrypt. Check the
setup.py script to<br>
see whether it has any suggestions for it could be expecting from that<br>
library. If it's the fairly standard unix "crypt" function: that's
in<br>
the standard library so you can just remove the crypt library..<br>
</tt></font>
<br><font size=2><tt>If it's something else you may need to hunt around
for it. There's a<br>
/usr/lib/libcrypto.dylib, but I have no idea what it contains..<br>
--<br>
Jack Jansen, <Jack.Jansen@cwi.nl>, http://www.cwi.nl/~jack<br>
If I can't dance I don't want to be part of your revolution -- Emma<br>
Goldman</tt></font>
<br>
<br>
<br>