Salaam,

@Saeed,
According to SWT FAQ <http://www.eclipse.org/swt/faq.php#missingdll>, from
version 3.3, there is no need to put these native files in PATH, as they
already exist in jar file. Are you sure you didn't unpack jar file? You
should have swt-mozilla-gtk-3800.so in swt.jar (which should itself exist in
<zekr>/lib folder).

Mohsen

On Wed, Aug 10, 2011 at 9:28 AM, Saeed Rasooli <saeed....@gmail.com> wrote:

> Thanks Mohsen
>
> After copy:
>
> org.eclipse.swt.SWTError: No more handles
> [MOZILLA_FIVE_HOME='/usr/lib/firefox'] (java.lang.UnsatisfiedLinkError:
> Could not load SWT library. Reasons:
>     no swt-mozilla-gtk-3800 in java.library.path
>     no swt-mozilla-gtk in java.library.path
>     /home/ilius/.swt/lib/linux/x86_64/libswt-mozilla-gtk-3800.so:
> /usr/lib/firefox-5.0/libxul.so: undefined symbol: gtk_major_version
>     Can't load library:
> /home/ilius/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so
> )
>     at org.eclipse.swt.SWT.error(Unknown Source)
>     at org.eclipse.swt.browser.Mozilla.initMozilla(Unknown Source)
>
>     at org.eclipse.swt.browser.Mozilla.create(Unknown Source)
>     at org.eclipse.swt.browser.Browser.<init>(Unknown Source)
>     at net.sf.zekr.ui.QuranForm.makeFrame(QuranForm.java:475)
>     at net.sf.zekr.ui.QuranForm.init(QuranForm.java:300)
>     at net.sf.zekr.ui.QuranForm.<init>(QuranForm.java:278)
>     at net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:51)
>     at net.sf.zekr.ZekrMain.main(ZekrMain.java:91)
> Caused by: java.lang.UnsatisfiedLinkError: Could not load SWT library.
> Reasons:
>     no swt-mozilla-gtk-3800 in java.library.path
>     no swt-mozilla-gtk in java.library.path
>     /home/ilius/.swt/lib/linux/x86_64/libswt-mozilla-gtk-3800.so:
> /usr/lib/firefox-5.0/libxul.so: undefined symbol: gtk_major_version
>     Can't load library:
> /home/ilius/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so
>
>     at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
>     at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
>     ... 8 more
>
>
>
> I remove /home/ilius/.swt/ and almost the same error:
>
>
> org.eclipse.swt.SWTError: No more handles
> [MOZILLA_FIVE_HOME='/usr/lib/firefox'] (java.lang.UnsatisfiedLinkError:
> Could not load SWT library. Reasons:
>     no swt-mozilla-gtk-3800 in java.library.path
>     no swt-mozilla-gtk in java.library.path
>     Can't load library:
> /home/ilius/.swt/lib/linux/x86_64/libswt-mozilla-gtk-3800.so
>     Can't load library:
> /home/ilius/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so
>     /home/ilius/.swt/lib/linux/x86_64/libswt-mozilla-gtk-3800.so:
> /usr/lib/firefox-5.0/libxul.so: undefined symbol: gtk_major_version
> )
>     at org.eclipse.swt.SWT.error(Unknown Source)
>     at org.eclipse.swt.browser.Mozilla.initMozilla(Unknown Source)
>
>     at org.eclipse.swt.browser.Mozilla.create(Unknown Source)
>     at org.eclipse.swt.browser.Browser.<init>(Unknown Source)
>     at net.sf.zekr.ui.QuranForm.makeFrame(QuranForm.java:475)
>     at net.sf.zekr.ui.QuranForm.init(QuranForm.java:300)
>     at net.sf.zekr.ui.QuranForm.<init>(QuranForm.java:278)
>     at net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:51)
>     at net.sf.zekr.ZekrMain.main(ZekrMain.java:91)
> Caused by: java.lang.UnsatisfiedLinkError: Could not load SWT library.
> Reasons:
>     no swt-mozilla-gtk-3800 in java.library.path
>     no swt-mozilla-gtk in java.library.path
>     Can't load library:
> /home/ilius/.swt/lib/linux/x86_64/libswt-mozilla-gtk-3800.so
>     Can't load library:
> /home/ilius/.swt/lib/linux/x86_64/libswt-mozilla-gtk.so
>     /home/ilius/.swt/lib/linux/x86_64/libswt-mozilla-gtk-3800.so:
> /usr/lib/firefox-5.0/libxul.so: undefined symbol: gtk_major_version
>
>     at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
>     at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
>     ... 8 more
>
> --
> You received this message because you are subscribed to the Google Groups
> "zekr" group.
> To post to this group, send email to zekr@googlegroups.com.
> To unsubscribe from this group, send email to
> zekr+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/zekr?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"zekr" group.
To post to this group, send email to zekr@googlegroups.com.
To unsubscribe from this group, send email to zekr+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/zekr?hl=en.

Reply via email to