<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: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Zsolt PUTNOKY/FR/ALCATEL@ALCATEL</font>
<br><font size=1 color=#800080 face="sans-serif">cc: &nbsp; &nbsp; &nbsp;
&nbsp;</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: &nbsp; &nbsp;
&nbsp; &nbsp;</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>&gt;<br>
&gt; I had rebuilt MySQL 4.0.22 from the source and rebuilt Python 2.3.4<br>
&gt; from the source. I tried to install the MySQL-Python module (version<br>
&gt; 1.1.7), below is the result<br>
&gt;<br>
&gt; [Fiji:~/Temp/MySQL-python-1.1.7] zsoltput% set mysqlversion=&quot;4.0.22&quot;<br>
&gt; [Fiji:~/Temp/MySQL-python-1.1.7] zsoltput% set mysqloptlib=&quot;ssl
crypto&quot;<br>
&gt;<br>
&gt; [Fiji:~/Temp/MySQL-python-1.1.7] zsoltput% /usr/local/bin/python<br>
&gt; setup.py build<br>
&gt; running build<br>
&gt; running build_py<br>
&gt; running build_ext<br>
&gt; building '_mysql' extension<br>
&gt; gcc -bundle -bundle_loader /usr/local/bin/python2.3<br>
&gt; build/temp.darwin-7.6.0-Power_Macintosh-2.3/_mysql.o<br>
&gt; -L/usr/local/mysql/lib -lmysqlclient -lz -lcrypt -o<br>
&gt; build/lib.darwin-7.6.0-Power_Macintosh-2.3/_mysql.so -flat_namespace<br>
&gt; ld: can't locate file for: -lcrypt<br>
&gt; 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 &quot;crypt&quot; 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, &lt;Jack.Jansen@cwi.nl&gt;, 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>