Linux pthreads for AMD64

Johnson Mpeirwe mpeirwe at
Mon Mar 22 16:58:37 UTC 2010


Are Linux threads available for FreeBSD 7.2 AMD64? I am trying to compile MySQL5.5 server on a FreeBSD 7.2 AMD64 System with 16 CPUs and 12GB RAM. After running into performance issues (MySQL is painfully slow) when compiled with FreeBSD's native libthr, I have tried recompiling with the libpthread library but failed as follows:

/usr/ports/databases/mysql55-server# make WITH_LINUXTHREADS=yes
===>  Extracting for mysql-server-5.5.1
=> MD5 Checksum OK for mysql-5.5.1-m2.tar.gz.
=> SHA256 Checksum OK for mysql-5.5.1-m2.tar.gz.
===>  Patching for mysql-server-5.5.1
===>  Applying FreeBSD patches for mysql-server-5.5.1
===>   mysql-server-5.5.1 depends on shared library: lthread - not found
===>    Verifying install for lthread in /usr/ports/devel/linuxthreads
===>  linuxthreads-2.2.3_24 is only for i386, while you are running amd64.
*** Error code 1

Stop in /usr/ports/devel/linuxthreads.
*** Error code 1

Stop in /usr/ports/databases/mysql55-server.

Any ideas?


More information about the freebsd-amd64 mailing list