Subject: Re: Xaw3d libraries not found by sysutils/xfm
To: Thomas Klausner <wiz@NetBSD.org>
From: Chris Wareham <chriswareham@chriswareham.demon.co.uk>
List: tech-pkg
Date: 04/04/2005 13:35:22
Thomas Klausner wrote:
> 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
> 

I assumed that buildlink3 would add the rpath. (I really must read the
section of the pkgsrc documentation that describes buildink ...) If it
isn't buildlink's job, what should be adding it?

Chris
-- 
One is not superior merely because one sees the world as odious.
                    Chateaubriand (1768-1848)