(cc-ing carob list)

I don't think you'll have to recompile python, and python 2.4 is ok.
But I am using MySQLdb and "MySQLdb.connect(...) (and *not* _mysql which is not recommended btw). Did you re-tried with your second script using this module ?
Can you also send the error messages you get ?

Cheers,
Gilles.


Alexandru Toth a écrit :
Hello Gilles,

Did "export DYLD_FORCE_FLAT_NAMESPACE=1" . Also tried without , no success.

This does not work: 
DYLD_INSERT_LIBRARIES=/usr/local/lib/libmysequoia.dylib mysql -h 192.168.255.3 --port=25322  --protocol=TCP

DYLD_INSERT_LIBRARIES=/usr/local/lib/libmysequoia.dylib python cont.py 

This works:
DYLD_INSERT_LIBRARIES=/usr/local/lib/libmysequoia.dylib mysql -h 192.168.255.3 --port=3300  --protocol=TCP


Do you recommend to compile Python from sources? Currently I have Python2.4 from darwinports.org . (Didn't touch python2.3 that comes with Mac, recommendation is to leave it just in case Apple will ever use it)

BR Alex

On Apr 3, 2007, at 6:19 PM, Gilles Rayrat wrote:

Hi Alexandru,


Actually, it seems that the mac equivalent for LD_PRELOAD is DYLD_INSERT_LIBRARIES


Can you try this out ?:

DYLD_INSERT_LIBRARIES=/usr/local/lib/libmysequoia.dylib python cont.py 


Additionally, you will perhaps have to use this: DYLD_FORCE_FLAT_NAMESPACE=1


Gilles.


_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob

Reply via email to