pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/39670: www/firefox3 depends on databases/sqlite3 but build its own version





joern.clausen wrote:
> 
>>Number:         39670
>>Category:       pkg
>>Synopsis:       www/firefox3 depends on databases/sqlite3 but build its
own version
>>Confidential:   no
>>Severity:       serious
>>Priority:       medium
>>Responsible:    pkg-manager
>>State:          open
>>Class:          sw-bug
>>Submitter-Id:   net
>>Arrival-Date:   Thu Oct 02 09:35:00 +0000 2008
>>Originator:     JÃrn Clausen
>>Release:        
>>Organization:
> University of Bielefeld
>>Environment:
> SunOS spare4200 5.10 Generic_120012-14 i86pc i386 i86pc
> 
> fails with
> 
> 
> cd SunOS5.10_i86pc_OPT.OBJ ; sh
> /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/security/nss/cmd/shlibsign/./sign.sh
> /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/dist
> \
>        
> /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/security/nss/cmd/shlibsign/SunOS5.10_i86pc_OPT.OBJ
> SunOS \
>        
> /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/dist/lib
> /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/dist/lib/libsoftokn3.so
> /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/security/nss/cmd/shlibsign/SunOS5.10_i86pc_OPT.OBJ/shlibsign
> -v -i
> /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/dist/lib/libsoftokn3.so
> NSS_Init failed: Failure to load dynamic library.
> make[4]: ***
> [/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/dist/lib/libsoftokn3.chk]
> Error 1
> make[4]: Leaving directory
> `/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/security/nss/cmd/shlibsign'
> make[3]: *** [libs] Error 2
> make[3]: Leaving directory
> `/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla/security/manager'
> make[2]: *** [libs_tier_toolkit] Error 2
> make[2]: Leaving directory
> `/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla'
> make[1]: *** [tier_toolkit] Error 2
> make[1]: Leaving directory
> `/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/www/firefox3/work.spare4200/mozilla'
> gmake: *** [default] Error 2
> *** Error code 2
> 
> 
>>Fix:
> Tell configure to actually use the libraries installed as separate
> packages. A fix for the second error is not clear to me.
> 

It appears that the second problem is caused by certain shared libraries
(used by shlibsign) not being linked properly. This can be fixed by adding
-Wl,-R,'$$ORIGIN' -Wl,-R,<nspr libraries> to DSO_LDOPTS in config.mk in the
nss/lib folders. 
-- 
View this message in context: 
http://www.nabble.com/pkg-39670%3A-www-firefox3-depends-on-databases-sqlite3-but-build-its-own-version-tp19776221p21949914.html
Sent from the pkgsrc-bugs mailing list archive at Nabble.com.



Home | Main Index | Thread Index | Old Index