I just ran into the same issue - I'm running thunderbird 2.0.0.14,
and just installed the Sun-contributed build of firefox 3.0 and made
it default. When I click on HTTP links in email messages, I see:
ld.so.1: firefox-bin: fatal: libnss3.so: version `NSS_3.11.7' not found
(required by file /opt/firefox-3.0/libxul.so)
ld.so.1: firefox-bin: fatal: libnss3.so: open failed: No such file or
directory
<repeated several times>
ld.so.1: firefox-bin: fatal: relocation error: file
/opt/firefox-3.0/firefox-bin: symbol NS_LogInit: referenced symbol not found
I can't reproduce it by running firefox from a separate shell, so I
guessed it must be a LD_LIBRARY_PATH that's exported by thunderbird
that's confusing things. As a workaround, I made the following change to
firefox's run-mozilla.sh, which seems to solve the problem:
/opt/firefox-3.0 # diff -c run-mozilla.sh.orig run-mozilla.sh
*** run-mozilla.sh.orig Fri Jun 20 11:37:35 2008
--- run-mozilla.sh Fri Jun 20 11:38:22 2008
***************
*** 351,356 ****
--- 351,359 ----
## Note:
## We choose libmozjs.so as a representative shared library. If it is
## a symbolic link, all other shared libraries are symbolic links also.
+
+ unset LD_LIBRARY_PATH
+
if [ `uname -s` != "SunOS" -o -h "$MOZ_DIST_BIN/libmozjs.so" ]
then
LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
itcto-sxsr-2:/opt/firefox-3.0 #
/opt/firefox-3.0 #
Perhaps if I used the Sun-contributed build of thunderbird too, instead
of my own build from source, I wouldn't have had this problem(?)
That aside, unfortunately now the firefox window gets pulled onto the
same workspace as thunderbird when I click on a link, which is really
annoying. I have links open in new tabs, and want the firefox window to
stay put in its own workspace. Is there an option for that somewhere?
~Iain
Ginn Chen wrote on 06/19/08 06:27 AM:
> Firefox 3 has $ORIGIN in its runpath, so it doesn't need
> LD_LIBRARY_PATH.
>
> I tried to reproduce it.
> I download Firefox tarball form mozilla.org, and then untar it at
> $HOME/firefox3.
> I set it as default browser.
> And then I close all the Firefox windows.
> Open thunderbird 2.0.0.14 from terminal, and click a link.
> Firefox 3 starts with no problem.
>
> Ginn
>
> On Jun 19, 2008, at 8:27 PM, Mirco Zanutto wrote:
>
>> Hi,
>>
>> I installed today ff30 on my nevada (build 90). At first everything
>> seemed fine; after some mail reading, when I found some link in the
>> email body and I clicked on it no page were opened in FF30.
>>
>> Starting thunderbird 2.0.0.14 from the command line I saw the
>> following
>> messages:
>>
>> "ld.so.1: firefox-bin: fatale error:libnss3.so: Cannot open: No such
>> file or directory"
>>
>> After some tweiking (and looking at runMozilla.sh of ff2.0.0.14) I
>> noticed that in the ff30' runMozilla.sh there was a LD_LIBRARY set
>> that
>> was commented out for Solaris
>>
>> Original FF30 runMozilla.sh
>> if [ `uname -s` != "SunOS" -o -h "$MOZ_DIST_BIN/libmozjs.so" ]
>> then
>>
>> LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}$
>> {LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
>> fi
>>
>>
>> Modified FF30 runMozilla.sh
>> #if [ `uname -s` != "SunOS" -o -h "$MOZ_DIST_BIN/libmozjs.so" ]
>> #then
>>
>> LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}$
>> {LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
>> #fi
>>
>>
>> Everything work fine even if you, in the gnome preferred apps specify,
>> for the Customized command. /opt/firefox/firefox, check the "Run in a
>> terminal" box
>>
>> Regards
>>
>> Mirco
>> --
>> ======================================================
>>
>> Mirco Zanutto
>> ______ Global Sales And Services
>> /_____/\ Partner Sales Organization
>> /____ \\ \ Channel Account Manager
>> /_____\ \\ / Sun Microsystems Italia
>> /_____/ \/ / / Filiale di Padova
>> /_____/ / \//\ via Savelli, 86
>> \_____\//\ / / 35129 Padova
>> \_____/ / /\ / Italy
>> \_____/ \\ \
>> \_____\ \\ Phone: +39 049 7809214
>> \_____\/ Fax: +39 049 8077085
>> Mobile: +39 348 5915731
>> E-mail: Mirco.Zanutto at Sun.COM
>>
>> ======================================================
>> _______________________________________________
>> desktop-discuss mailing list
>> desktop-discuss at opensolaris.org
>
> --------
> Ginn Chen
> Software Engineer, Browser Team
> Sun Microsystems, Inc.
> Phone: x82869 / +86-10-62673869
> Fax: +86-10-62780969
>
>
> _______________________________________________
> desktop-discuss mailing list
> desktop-discuss at opensolaris.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6143 bytes
Desc: S/MIME Cryptographic Signature
URL:
<http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20080620/96991c93/attachment.bin>