Eclipse / amd64 / libswt-mozilla-gtk-3139.so

Ralf Folkerts ralf.folkerts at gmx.de
Wed Feb 8 09:59:30 PST 2006


Am Dienstag, den 07.02.2006, 22:04 +0200 schrieb Panagiotis Astithas:

Hi Panagiotis,

> Ralf Folkerts wrote:
> > Hi,
> > 
> > after some struggling and several portupgrade -fau's I got Eclipse to
> > run somewhat well on my FBSD 6-STABLE / amd64 System (used to crash
> > immediately after Start, when trying to rebuild a Workspace and finally
> > when trying to checkout a medium-sized Project from CVS after I moved
> > from i386 to amd64). Please note that after the rebuilds I used to rm -r
> > ~/.eclipse.
> > 
> > However, when I go into Window / Preferences / General / Web Browser or
> > Window / Preferences / Help I get an error:
> > 
> > [bash]beaster:~$eclipse
> > /libexec/ld-elf.so.1: /home/ralf/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/24/1/.cp/libswt-mozilla-gtk-3139.so: Undefined symbol "NS_InitEmbedding"
> >  
> > and Eclipse dies. I found a Thread re. a similar problem on this List
> > and Panagiotis asked some questions re. the Configuration. For me the
> > answers are (replaced the x86 with amd64):
> > 
> > [bash]beaster:~$unzip
> > -l /usr/local/eclipse/plugins/org.eclipse.swt.gtk.freebsd.amd64_3.1.1.jar | grep lib
> >     29144  02-07-06 19:42   libswt-atk-gtk-3139.so
> >      5056  02-07-06 19:42   libswt-awt-gtk-3139.so
> >     15728  02-07-06 19:42   libswt-gnome-gtk-3139.so
> >    266024  02-07-06 19:42   libswt-gtk-3139.so
> >     51792  02-07-06 19:42   libswt-mozilla-gtk-3139.so
> >    356120  02-07-06 19:42   libswt-pi-gtk-3139.so
> > 
> > I use Firefox instead of Mozilla
> > 
> > [bash]beaster:~$grep MOZILLA /etc/make.conf
> > WITH_MOZILLA=firefox
> > 
> > When I get into 
> > /home/ralf/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/24/1/.cp and run ldd ./libswt-mozilla-gtk-3139.so I get
> > 
> > [bash]beaster:.cp$ldd ./libswt-mozilla-gtk-3139.so
> > ./libswt-mozilla-gtk-3139.so:
> >         libxpcom.so => not found (0x0)
> >         libnspr4.so.1 => /usr/local/lib/libnspr4.so.1 (0x80093f000)
> >         libplds4.so.1 => /usr/local/lib/libplds4.so.1 (0x800a7b000)
> >         libplc4.so.1 => /usr/local/lib/libplc4.so.1 (0x800bac000)
> >         libgtkembedmoz.so => not found (0x0)
> >         libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x800cdf000)
> >         libm.so.4 => /lib/libm.so.4 (0x800edd000)
> > 
> > 
> > I searched for libxpcom.so and found /usr/X11R6/lib/firefox/libxpcom.so;
> > same for libgtkembedmoz.so /usr/X11R6/lib/firefox/libgtkembedmoz.so.
> > 
> > I also ran portupgrade -f eclipse > eclipse_build.log 2>&1. However,
> > when I searched it for "libswt" it didn't find a match at all :-(
> > 
> > The Eclipse-Log in workspace/.metadata/.log doesn't contain any Info re.
> > this error:
> > 
> > !SESSION 2006-02-07 20:14:56.507
> > -----------------------------------------------
> > eclipse.buildId=M20050929-0840
> > java.version=1.5.0-p2
> > java.vendor=Sun Microsystems Inc.
> > BootLoader constants: OS=freebsd, ARCH=amd64, WS=gtk, NL=de_DE
> > Command-line arguments:  -os freebsd -ws gtk -arch amd64
> > 
> > !ENTRY org.eclipse.core.resources 2 10035 2006-02-07 20:15:03.909
> > !MESSAGE A workspace crash was detected. The previous session did not
> > exit norma
> > lly.
> > 
> > !ENTRY org.eclipse.core.resources 1 1 2006-02-07 20:15:04.414
> > !MESSAGE Could not load library: libcore_3_1_0.so.  This library
> > provides platfo
> > rm-specific optimizations for certain file system operations.  This
> > library is n
> > ot present on all platforms, so this may not be an error.  The resources
> > plug-in
> >  will safely fall back to using java.io.File functionality.
> > 
> > I also checked PR 91305; however, it seems that in that case the
> > libswt-mozilla* was not built at all..
> > 
> > Does anyone have a hint??
> 
> 
> If you rebuilt eclipse against firefox 1.5, then all I can say for the 
> moment is that I see similar behavior, too. My temporary workaround is 
> to build eclipse without any WITH_MOZILLA settings, so that it is built 
> against the mozilla headers. You do have to have mozilla installed 
> though, in addition to firefox.

thank you very much for your really quick reply!! Well, I'm just running
a portupgrade (to raise eclipse to 3.1.2) - I'll then check wether 3.1.2
recognizes Firefox -- or will compile Mozilla.

Would it make sense to Report a Bug @Eclipse.org for this? Or is it more
a FBSD-only Problem?

Again thanks for the hint!
Cheers,
_ralf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.freebsd.org/pipermail/freebsd-eclipse/attachments/20060208/d198103a/attachment.bin


More information about the freebsd-eclipse mailing list