Subject: pkg/32763: www/firefox-gtk1 fails to link firefox-bin properly
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dogcow@babymeat.com>
List: pkgsrc-bugs
Date: 02/07/2006 02:20:00
>Number:         32763
>Category:       pkg
>Synopsis:       www/firefox-gtk1 fails to link firefox-bin properly
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 07 02:20:00 +0000 2006
>Originator:     Tom Spindler
>Release:        NetBSD 3.99.15
>Organization:
	
>Environment:
	
	
System: NetBSD mercury.babymeat.com 3.99.15 NetBSD 3.99.15 (MERCURY) #1: Mon Feb 6 03:57:34 PST 2006 dogcow@mercury.babymeat.com:/aux/obj/obj/usr/src/sys/arch/i386/compile/MERCURY i386
Architecture: i386
Machine: i386
>Description:
	
It appears that firefox-gtk1's firefox-bin is not linked with the
proper RPATH:

% /usr/pkg/bin/firefox-gtk1
Shared object "libmozjs.so" not found
% ldd /usr/pkg/lib/firefox-gtk1/firefox-bin
/usr/pkg/lib/firefox-gtk1/firefox-bin:
        -lmozjs => not found
        -lxpcom => not found
        -lxpcom_core => not found
        -lplds4 => not found
        -lplc4 => not found
        -lnspr4 => not found
        -lgmodule.13 => /usr/pkg/lib/libgmodule.so.13

>How-To-Repeat:
cvs up to pkgsrc 2006-02-06; cd /usr/pkgsrc/www/firefox-gtk1; make install
/usr/pkg/bin/firefox-gtk1

	
>Fix:
	
One can use LD_LIBRARY_PATH, but that's not terribly clean.

>Unformatted: