Date: Wed, 7 Nov 2001 20:56:43 +0100 From: Jens Schweikhardt <schweikh@schweikhardt.net> To: mozilla@freebsd.org Subject: mozilla 0.9.5 with java, almost Message-ID: <20011107205643.A4480@schweikhardt.net>
next in thread | raw e-mail | index | archive | help
hello, world\n maybe I'm trying something silly here, but I'm determined to get mozilla compiled from sources and java support going on my 4.3S system with linux compatibility enables in rc.conf. Here's my story so far, in the hope that someone can clue me in on the last steps. $ cd /usr/ports/www/mozilla $ cvs update # distinfo with mozilla-source-0.9.5.tar.bz2 $ make && make install This went ok and installed /usr/X11R6/bin/mozilla. Start mozilla and point it to a page requiring java, at which point it asks whether I want to download the java plugin. Yes, I want the Linux version. While the jre131i.xpi plugin loads from ftp.netscape.com (which I did as a non-root user) I do a $ chmod -R go+w /usr/X11R6/lib/mozilla because I'm paranoid about having the plugin installation fail due to permission problems without any other message than "403" which has happened to me too often before. YEAH! This time plugin installation runs smooth and automatic after the jre131i.xpi has arrived. So let's see if it works by typing about:plugins in the URL window. Of course it doesn't show the java plugin. My startx error log says LoadPlugin: failed to initialize shared library /usr/X11R6/lib/mozilla/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so [Shared object "libgtk-1.2.so.0" not found] ... [Shared object "libgdk-1.2.so.0" not found] I've got those two under similar names in /usr/X11R6/lib, so I create symlinks with the expected names... not kosher, I think, but anyway... The Right Thing is probably to install the linux ports of these. The following: ... [Shared object "libgmodule-1.2.so.0" not found] ... [Shared object "libglib-1.2.so.0" not found] ... [Shared object "libstdc++-libc6.1-1.so.2" not found] ... [Shared object "libm.so.6" not found] ... [Shared object "libc.so.6" not found] ... [Shared object "libdl.so.2" not found] ... [Shared object "ld-linux.so.2" not found] are in /usr/compat/linux/lib and /usr/compat/linux/usr/lib which for some reason are not in my library search path even though I have linux compatibility set to yes in /etc/rc.conf. So I run $ ldconfig -m /usr/compat/linux/lib /usr/compat/linux/usr/lib and ask 'about:plugins' again. This time the error log says: LoadPlugin: failed to initialize shared library /usr/X11R6/lib/mozilla/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so [/usr/X11R6/lib/mozilla/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so: Undefined symbol "__vt_17nsGetServiceByCID"] In other words, all shared libs are found, but now some symbol is unresolved. I start looking at the *.so files that were installed by jre131i.xpi. It appears the unresolved symbol is defined in /usr/X11R6/lib/mozilla $ nm -AP libxpcom.so|grep nsGetServiceByCID libxpcom.so: _$_17nsGetServiceByCID W 000ccb90 libxpcom.so: __17nsGetServiceByCIDRC4nsIDP11nsISupportsPUi W 000ccb00 libxpcom.so: __cl__C17nsGetServiceByCIDRC4nsIDPPv T 000831c4 libxpcom.so: _vt$17nsGetServiceByCID V 000e4c60 But how can I convince mozilla to also look at libxpcom.so when resolving symbols? Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011107205643.A4480>