Subject: Re: Xaw3d libraries not found by sysutils/xfm
To: Chris Wareham <chriswareham@chriswareham.demon.co.uk>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 04/04/2005 14:10:19
On Sat, Apr 02, 2005 at 08:02:36PM +0100, Chris Wareham wrote:
> I've just tried to install sysutils/xfm, and it complains that the Xaw3d
> libraries will not be found by the xfm binary:
> 
> ===> Registering installation for xfm-1.4.3nb1
> xfm-1.4.3nb1 requires installed package Xaw3d-1.5E
> xfm-1.4.3nb1 requires installed package xorg-libs-6.8.2
> /usr/pkg/bin/xfm:        -lXaw3d.8 => not found
> 
> [chris@toolbox bin]$ ldd xfm
> xfm:
>          -lX11.6 => /usr/pkg/xorg/lib/libX11.so.6
>          -lXext.6 => /usr/pkg/xorg/lib/libXext.so.6
>          -lXpm.4 => /usr/pkg/xorg/lib/libXpm.so.4
>          -lXaw3d.8 => not found
>          -lICE.6 => /usr/pkg/xorg/lib/libICE.so.6
>          -lSM.6 => /usr/pkg/xorg/lib/libSM.so.6
>          -lXt.6 => /usr/pkg/xorg/lib/libXt.so.6
>          -lXmu.6 => /usr/pkg/xorg/lib/libXmu.so.6
>          -lXp.6 => /usr/pkg/xorg/lib/libXp.so.6
>          -lc.12 => /usr/lib/libc.so.12
> 
> This is on NetBSD 2.0 with Xorg from pkgsrc rather than XFree86. I
> assume it's something to do with buildlink, as xfm's package Makefile
> looks OK.

It's probably missing a -Wl,-R/path/to/wherelibXaw3dresides somewhere.
 Thomas