Subject: Re: chat/jabberd2 can't find libmysqlclient
To: Juan RP <juan@xtraeme.nopcode.org>
From: Mirko Thiesen <thiesi@NetWorkXXIII.de>
List: tech-pkg
Date: 11/18/2004 04:21:45
On Thu, 18 Nov 2004, Juan RP wrote:
>> -Wl,-R/usr/pkg/lib/mysql -Wl,-R/usr/pkg/lib -Wl,-R/usr/lib c
>> onftest.c -L/usr/pkg/lib/mysql -L/usr/pkg/lib -L/usr/lib
>> /usr/pkg/lib/mysql/libmysqlclient.so -lcrypt -lm -lpthread -lz -lssl
>> -lcrypto /usr/pkg/lib/libidn.so -liconv -Wl,--
>> rpath -Wl,/usr/pkg/lib/mysql -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath
>> -Wl,/usr/pkg/lib/mysql -Wl,--rpath -Wl,/usr/pkg/lib
>> /usr/bin/ld: cannot find -lpthread
>> collect2: ld returned 1 exit status
>> configure:20371: $? = 1
>> configure: failed program was:
>> | /* confdefs.h. */
>
> Update via cvs, and rebuild mysql*-client, there was a problem with
> mk/pthread.buildlink3.mk and libmysqlclient, which was linked to libpthread
> and it's wrong.
>
> Cheers.
Thank you very much for your immediate help. I'll try this as soon as
possible.
Bye, K&K,
T-Zee
--
thiesi@NetWork23.Sytes.NET ---- NetBSD: Power to the people!
Tel.: ++49-(0)171-416 05 09 -- Fax: ++49-(0)171-134 16 05 09
Mirko Thiesen, Soemmeringstrasse 41, D-10589 Berlin, Germany
"We're with you all the way, mostly"