[Pythonmac-SIG] Problem during installing MySQL module in Python - Other error (original) (raw)
Zsolt.Putnoky at alcatel.fr Zsolt.Putnoky at alcatel.fr
Thu Dec 2 13:02:29 CET 2004
- Previous message: [Pythonmac-SIG] Problem during installing MySQL module in Python - Other error
- Next message: [Pythonmac-SIG] python 2.3.4 on Mac OS X 10.3.6 is working - upgraded standard installation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
/usr/lib/libcrypto.dylib - this sounds interesting, I will check if I can find something more detailed about this.
Have a good day,
Zsolt Putnoky
To: Zsolt PUTNOKY/FR/ALCATEL at ALCATEL cc: pythonmac-sig at python.org Subject: Re: [Pythonmac-SIG] Problem during installing MySQL module in Python - Other error
On 1 Dec 2004, at 08:27, Zsolt.Putnoky at alcatel.fr wrote:
I had rebuilt MySQL 4.0.22 from the source and rebuilt Python 2.3.4 from the source. I tried to install the MySQL-Python module (version 1.1.7), below is the result [Fiji:~/Temp/MySQL-python-1.1.7] zsoltput% set mysqlversion="4.0.22" [Fiji:~/Temp/MySQL-python-1.1.7] zsoltput% set mysqloptlib="ssl crypto" [Fiji:~/Temp/MySQL-python-1.1.7] zsoltput% /usr/local/bin/python setup.py build running build running buildpy running buildext building 'mysql' extension gcc -bundle -bundleloader /usr/local/bin/python2.3 build/temp.darwin-7.6.0-PowerMacintosh-2.3/mysql.o -L/usr/local/mysql/lib -lmysqlclient -lz -lcrypt -o build/lib.darwin-7.6.0-PowerMacintosh-2.3/mysql.so -flatnamespace ld: can't locate file for: -lcrypt error: command 'gcc' failed with exit status 1
MacOSX doesn't have a library libcrypt. Check the setup.py script to see whether it has any suggestions for it could be expecting from that library. If it's the fairly standard unix "crypt" function: that's in the standard library so you can just remove the crypt library..
If it's something else you may need to hunt around for it. There's a /usr/lib/libcrypto.dylib, but I have no idea what it contains..
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman
-------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20041202/aa39d99d/attachment.html
- Previous message: [Pythonmac-SIG] Problem during installing MySQL module in Python - Other error
- Next message: [Pythonmac-SIG] python 2.3.4 on Mac OS X 10.3.6 is working - upgraded standard installation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]