Subject: Re: libGLU in mesa-dri
To: Blair Sadewitz <blair.sadewitz@gmail.com>
From: Juan RP <juan@xtrarom.org>
List: tech-x11
Date: 04/17/2007 00:22:43
On Mon, 16 Apr 2007 18:19:38 -0400
"Blair Sadewitz" <blair.sadewitz@gmail.com> wrote:
> I'm actually having issues if I don't explicitly link anything that
> links to libGL against libXxf86vm and libdrm; ldd says that libGL is
> "not found". I'm not sure what's going on here. Are we missing a
> linker flag? Oh, BTW, this is another reason libtool is nice. ;) But
> I would like to know what is going on, and if this behavior is normal.
> I looked with nm, and there are unresolved symbols from those two
> libraries, unless they're linked explicitly.
if ldd says that libGL is not found, that means you didn't pass the
proper rpath linker flags (use -L/foo/lib -Wl,-R/foo/lib).
--
http://plog.xtrarom.org/
Juan RP's blog - NetBSD/pkgsrc news in Spanish