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

Re: java with mozilla-firebird & mozilla



On 2003-11-10 15:54:00 -0500, Kevin B. Hendricks wrote:
> It can't seem to find the mozilla libs (libxpcom.so and libnspr4.so).
> Do you know why not?

Because they aren't (and don't need to be) in my LD_LIBRARY_PATH.
I run mozilla in the standard way, i.e. the script that is in
mozilla/bin directory; this script runs the run-mozilla.sh script,
which sets LD_LIBRARY_PATH as follows:

LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}

"mozilla -g" says:

  LD_LIBRARY_PATH=/home/lefevre/mozilla/lib/mozilla-1.6a:/home/lefevre/mozilla/lib/mozilla-1.6a/plugins:/home/lefevre/mozilla/lib/mre/mre-1.6a:/home/lefevre/./lib:/usr/local/gmp/lib

Now, with this LD_LIBRARY_PATH, "ldd javaplugin_oji.so" gives:

        libxpcom.so => /home/lefevre/mozilla/lib/mozilla-1.6a/libxpcom.so (0x6fe3d000)
        libnspr4.so => /home/lefevre/mozilla/lib/mozilla-1.6a/libnspr4.so (0x6fde2000)
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x6fc59000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x6fbfc000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x6fbd8000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x6fb8c000)
        libdl.so.2 => /lib/libdl.so.2 (0x6fb69000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x6fb40000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x6fb0e000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x6fa16000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x6f92f000)
        libm.so.6 => /lib/libm.so.6 (0x6f89a000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x6f86d000)
        libc.so.6 => /lib/libc.so.6 (0x6f714000)
        libplds4.so => /home/lefevre/mozilla/lib/mozilla-1.6a/libplds4.so (0x6f6f0000)
        libplc4.so => /home/lefevre/mozilla/lib/mozilla-1.6a/libplc4.so (0x6f6ca000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x6f659000)
        /lib/ld.so.1 => /lib/ld.so.1 (0x08000000)

Do you have the same libraries (with the LD_LIBRARY_PATH given by
"mozilla -g")?

Note: libpthread.so.0 is now listed (it was mentioned in the two bug
reports at blackdown).

> I just tried using my Mozilla 1.3 build (admittedly old) with the
> Blackdown JDK 1.3.1 plugin on the URL
> 
> http://www.barbery.net/anagram/
> 
> and it starts up fine (although I can't read that language)
> 
> I was also able to use Konqueror with the Blackdown JDK 1.3.1 and
> access the same site with no problems.
> 
> So whatever problem you are having seems to be specific to your machine.

This is strange. I've just installed and tested mozilla-browser
(2:1.5-2) and I have the same problem (well, it seems so -- it
doesn't give any debug information).

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Reply to: