Sebastien Roy wrote:
> On Thu, 2008-11-13 at 10:11 -0800, Michael Schuster wrote:
>> I'm probably responsible for this, but I don't know how to maneuver myself
>> out of this fix, so I'd like to ask for your help:
>>
>> when FF3 initially was bundled with opensolaris, it died when accessing
>> gmail. Since my wife uses gmail a lot, I tried to un-install it and
>> re-install 2.0.0.x (well, actually, pkg:/SUNWfirefox at 0.5.11-0.X, where X
>> was the previous build I'd been using successfully with FF2).
>>
>> I don't quite recall if the error I now see started happening then, but at
>> least since upgrading to build 100, when I want to start firefox, I get
>> this error:
>>
>> $ firefox
>> ld.so.1: firefox-bin: fatal: relocation error: file
>> /usr/lib/firefox/libxul.so: symbol sqlite3_prepare_v2: referenced symbol
>> not found
>> /usr/lib/firefox/run-mozilla.sh: line 131: 1390 Killed
>> "$prog" ${1+"$@"}
>> $
>
> I bet there are files under /usr/lib/firefox that are part of a
> previous, manually installed version of firefox, that firefox tries to
> unconditionally load simply because they're there. This has happened to
> me before. I'd recommend removing every file under /usr/lib/firefox
> that's not part of an IPS package. There are some brute force ways of
> doing that, but I'll leave that up to your imagination.
it seems there's two copies of this libsqlite.so around, one in
/usr/lib/firefox, the other in /usr/lib; the one in /usr/lib causes the
above behaviour. when I use LD_PRELOAD to use the one in /usr/lib/firefox,
firefox starts.
KDE sets LD_LIBRARY_PATH; when I remove that, firefox also starts.
Michael
--
Michael Schuster http://blogs.sun.com/recursion
Recursion, n.: see 'Recursion'