Date: Tue, 11 Apr 2006 16:29:03 +0200 From: Pav Lucistnik <pav@oook.cz> To: Yuri Pankov <yuri.pankov@gmail.com> Cc: freebsd-gnome@freebsd.org Subject: Re: (glib20 2.10.2) libgthread isn't linking to libpthread Message-ID: <1144765743.4272.16.camel@pav.hide.vol.cz> In-Reply-To: <443BBC3C.6050105@gmail.com> References: <443BB989.9070203@gmail.com> <1144765382.4272.14.camel@pav.hide.vol.cz> <443BBC3C.6050105@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Yuri Pankov p=ED=B9e v =FAt 11. 04. 2006 v 18:25 +0400: > Pav Lucistnik wrote: > > Yuri Pankov p=ED=B9e v =FAt 11. 04. 2006 v 18:13 +0400: > > =20 > >> Good day. > >> > >> I've a problem with glib20 from marcuscom. It seems that it doesn't ge= t=20 > >> linked to libpthread and I can't run at least emulators/qemu-launcher: > >> > qemu-launcher > >> /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined=20 > >> symbol "pthread_getschedparam" > >> > >> Adding -lpthread to LDFLAGS in=20 > >> /usr/ports/devel/glib20/work/glib-2.10.2/gthread/Makefile seems to sol= ve=20 > >> the problem. > >> > >> uname -a output: FreeBSD arroyo.localnet 7.0-CURRENT FreeBSD 7.0-CURRE= NT=20 > >> #2: Mon Apr 10 03:56:35 MSD 2006 =20 > >> root@arroyo.localnet:/usr/obj/data/src/sys/ARROYO amd64 > >> > >> main ports tree and merged marcuscom's one were recently updated. > >> =20 > > > > What does your > > > > pkg-config --libs gthread-2.0 > > > > gives you? > > > > =20 > # pkg-config --libs gthread-2.0 > -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0 -liconv Then it's all fine. Your application is probably not using build infrastructure properly. --=20 Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> Co vime o lasce? Laska je jako hruska. Hruska je sladka a ma urcity tvar. Zkuste presne definovat tvar hrusky. -- Marigold: Pul stoleti poezie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1144765743.4272.16.camel>