mysql scaling questions

Miroslav Lachman 000.fbsd at quip.cz
Sat Dec 1 07:41:43 PST 2007


Jeff Roberson wrote:
[...]
>> the MySQL binary is statically linked, i've built it
>> that way.
>>
>> ldd: /usr/local/libexec/mysqld: not a dynamic executable
>>
>> Though, maybe I should rebuild it dynamically to ensure it's
>> linked against libthr (and not pthread or c_r)...
>>
>> So, any tips, guesses, anything what can cause this?
>>

As Mike Tancsa suggested - rebuild MySQL dynamic and use these values in 
/etc/libmap.conf

# /etc/libmap.conf
#
# candidate          mapping
#
[/usr/local/libexec/mysqld]
libpthread.so.2      libthr.so.2
libpthread.so        libthr.so

Miroslav Lachman


More information about the freebsd-performance mailing list