From owner-freebsd-ports Mon Jan 22 6: 1:43 2001 Delivered-To: freebsd-ports@freebsd.org Received: from blizzard.sabbo.net (ns.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 71F3A37B401; Mon, 22 Jan 2001 06:01:09 -0800 (PST) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.112]) by blizzard.sabbo.net (8.10.1/8.10.1) with ESMTP id f0ME0sa08661; Mon, 22 Jan 2001 16:00:59 +0200 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.1/8.9.3) with ESMTP id f0ME0vQ32214; Mon, 22 Jan 2001 16:00:57 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3A6C3D19.E1F56291@FreeBSD.org> Date: Mon, 22 Jan 2001 16:00:58 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: obrien@FreeBSD.org, jmz@FreeBSD.org, ports@FreeBSD.org, jdp@FreeBSD.org Subject: Strange problems with dynamic linking of libGL.so.1 from XFree86-4.0.2_5 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I have a strange problems with building py-opengl package on fairly recent -current system (gcc 2.95.3). This package builds a shared module, links it with various stuff including libGL.so.1 from the XFree86-4.0.2_5 port and then tries to register this module with tcl interpreter. Previously this worked like a charm, but now I see the following error message probably indicating that tcl can't dlopen() this module: [...] ===> Generating temporary packing list /usr/local/bin/tclsh8.3 /mnt/py-opengl/work/PyOpenGL-1.5.6/register.tcl warning: error while loading Togl.so: couldn't load file "./Togl.so": /usr/X11R6/lib/libGL.so.1: Undefined symbol "pthread_getspecific" ===> Registering installation for py-opengl-1.5.6 [...] I tried all possible means - linked Togl.so module with -pthread, -Wl,-E and -lgcc; recompiled/reinstalled python/tcl/tk etc., but it did not help. If someone does have any fresh ideas about what could be wrong please let me know. -Maxim P.S. I suspected that libGL.so.1 is being linked without -pthread somehow, but according to bento's logs it is not true: [from XFree86-4.0.2_5.log buildlog on -current] + LD_LIBRARY_PATH=../../exports/lib cc -o ./libGL.so.1.2~ -shared -rpath /usr/X11R6/lib -Wl,-soname,libGL.so.1 glx/clientattrib.o glx/compsize.o glx/dispatch.o glx/eval.o glx/g_render.o glx/g_single.o glx/g_vendpriv.o glx/glapi.o glx/glapi_x86.o glx/glapinoop.o glx/glthread.o glx/glxcmds.o glx/glxext.o glx/indirect_init.o glx/pixel.o glx/pixelstore.o glx/render2.o glx/renderpix.o glx/single2.o glx/singlepix.o glx/vertarr.o glx/xfont.o dri/XF86dri.o dri/dri_glx.o -pthread To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message