Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Feb 2009 04:15:23 GMT
From:      Scot Hetzel <swhetzel@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/131237: www/firefox3: missing LDFLAGS
Message-ID:  <200902010415.n114FN3H063604@www.freebsd.org>
Resent-Message-ID: <200902010420.n114K4mr090905@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         131237
>Category:       ports
>Synopsis:       www/firefox3: missing LDFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 01 04:20:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Scot Hetzel
>Release:        8.0-CURRENT
>Organization:
>Environment:
>Description:
While running the libchk (sysutils/libchk), it would report several libraries missing on firefox3's firefox-bin.  This is caused by ldd not looking in the /usr/local/lib/firefox3 directory for these libraries.
>How-To-Repeat:
Running ldd on /usr/local/lib/firefox3/firefox-bin results in several libraries not being found:

 firefox-bin:
        libxul.so => not found (0x0)
        libmozjs.so => not found (0x0)
        libxpcom.so => not found (0x0)
        libplds4.so.1 => /usr/local/lib/libplds4.so.1 (0x80063e000)
        libplc4.so.1 => /usr/local/lib/libplc4.so.1 (0x80076f000)
        :

>Fix:
Add this line to www/firefox3/Makefile

LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH}

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902010415.n114FN3H063604>