From: "Vlad GALU" <d...@dudu.ro>

 Pai e destul de evident. .so-ul _mysql.so din
/usr/local/lib/python2.5/site-packages/ e linkat cu versiunea
reentranta a bibliotecii MySQL (de unde si sufixul _r). Din pacate,
Makefile-ul portului (py-MySQLdb) pare sa nu verifice existenta
acestui .so in mod particular. Poti incerca sa reinstalezi MySQL din
ports, cu totul. S-ar putea sa-ti apara versiunea reentranta a
bibliotecii client.

mysql-client? L-am reinstalat si pe asta. La fel, incepe sa mearga dar nu supravietuieste la reboot. L-as compila 'embedded' cum zice prin readme-ul lui py-mysql dar mai zice si ca you "`may` have problems" daca ii dau build altfel decat threadsafe.

foghorn ~/MySQL-python-1.2.2# grep problem README -B10
edit the [options] section of site.cfg:

   embedded
       use embedded server library (libmysqld) if True; otherwise use
        one of the client libraries (default).

   threadsafe
       thread-safe client library (libmysqlclient_r) if True (default);
        otherwise use non-thread-safe (libmysqlclient). You should
        always use the thread-safe library if you have the option;
        otherwise you *may* have problems.


De obicey may == will definitely

--Adrian.

________________________________________________________
To unsubscribe send a mail to rofug+unsubscr...@rofug.ro

Raspunde prin e-mail lui