[DB-SIG] MySQLdb build error

Andy Dustman andy@dustman.net
27 Aug 2002 23:00:20 -0400


On Tue, 2002-08-27 at 10:10, Babu Manjasetty wrote:
> 
> building '_mysql' extension
> skipping _mysql.c (build/temp.linux-i686-2.2/_mysql.o up-to-date)
> gcc -shared build/temp.linux-i686-2.2/_mysql.o -L/usr/lib/mysql
> -L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql -lmysqlclient_r -lz -o
> build/lib.linux-i686-2.2/_mysql.so
> /usr/i486-suse-linux/bin/ld: cannot find -lmysqlclient_r
> collect2: ld returned 1 exit status

You don't have the thread-safe library, or the normal mysqlclient
library is thread-safe. Therefore set thread_safe_library to NO in
setup.py.

-- 
Andy Dustman         PGP: 0x930B8AB6
    @       .net     http://dustman.net/andy
"Cogito, ergo sum." -- Rene Descartes
"I yam what I yam and that's all what I yam." -- Popeye