[Zope] ZMySQLDA-2.0.9b1 released

Andy Dustman andy@dustman.net
01 Feb 2002 08:59:48 -0500


On Fri, 2002-02-01 at 08:40, Harald Koschinski wrote:

> >
> MySQLdb-0.9.2a2 is not compiling :-((
> gcc -shared build/temp.linux-i686-2.1/_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.1/_mysql.so
> /usr/i486-suse-linux/bin/ld: cannot find -lmysqlclient_r
> collect2: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1

0.9.2a2 now attempts to use the thread-safe MySQL libraries by default.
Apparently you don't have them. Edit setup.py and set:

thread_safe_library = NO

If there is a way to portably do library testing with distutils, I'd
like to hear about it.

-- 
Andy Dustman         PGP: 0x930B8AB6
    @       .net     http://dustman.net/andy
You can have my keys when you pry them from my dead, cold neurons.