Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 18:13:29 +0400
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        freebsd-gnome@freebsd.org
Subject:   (glib20 2.10.2) libgthread isn't linking to libpthread
Message-ID:  <443BB989.9070203@gmail.com>

next in thread | raw e-mail | index | archive | help
Good day.

I've a problem with glib20 from marcuscom. It seems that it doesn't get 
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 
symbol "pthread_getschedparam"

Adding -lpthread to LDFLAGS in 
/usr/ports/devel/glib20/work/glib-2.10.2/gthread/Makefile seems to solve 
the problem.

uname -a output: FreeBSD arroyo.localnet 7.0-CURRENT FreeBSD 7.0-CURRENT 
#2: Mon Apr 10 03:56:35 MSD 2006     
root@arroyo.localnet:/usr/obj/data/src/sys/ARROYO  amd64

main ports tree and merged marcuscom's one were recently updated.

Thanks,
Yuri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?443BB989.9070203>