Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Problems loading SWT on newest Linux versions

Seems like it can't find the .so libs.

1)
Can't load library: /home/bites/.smartsvn/9.2/swt.tmp/libswt-pi-gtk-4723.so
Can't load library: /home/bites/.smartsvn/9.2/swt.tmp/libswt-pi-gtk.so

Are the '.so' files provided somewhere?
Try to set LD_LIBRARY_PATH manually:
export LD_LIBRARY_PATH=/path/to/so/files

But normally the SWT-jar is all you need?

2)
Sometimes installing 32bit eclipse on 64 bit systems (and vice versa) causes such issues also.

(if this turns out to the case let me know, maybe we could improve error message).


Any luck?


On Fri, Aug 4, 2017 at 2:43 PM, Thomas Singer <ts-swt@xxxxxxxxxxx> wrote:
Hi,

We've got 2 bug reports where Linux users could not load SmartSVN. The output of the latest one looks like (line separators could be screwed up):

Error invoking SmartSVN

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at QBootLoader.main(SourceFile:100)

Caused by: java.lang.UnsatisfiedLinkError: Could not load SWT library.
Reasons:
Can't load library: /home/bites/.smartsvn/9.2/swt.tmp/libswt-pi-gtk-4723.so
Can't load library: /home/bites/.smartsvn/9.2/swt.tmp/libswt-pi-gtk.so
no swt-pi-gtk-4723 in java.library.path
no swt-pi-gtk in java.library.path
/home/bites/.smartsvn/9.2/swt.tmp/libswt-pi-gtk-4723.so:
 /home/bites/.smartsvn/9.2/svn-tmp/6058/libz.so.1: version `ZLIB_1.2.9' not found (required by /lib64/libpng16.so.16)

at org.eclipse.swt.internal.Library.loadLibrary(Library.java:327)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:236)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:28)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:118)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:80)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:140)
at com.syntevo.q.gui.cH.a(SourceFile:58)
...

Did someone heard about such problems before, especially because of the libz dependency?

--
Best regards,
Thomas Singer
=============
syntevo GmbH
http://www.syntevo.com
http://www.syntevo.com/blog
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



--

Leo Ufimtsev

Software Engineer

Red Hat


90 Eglinton Ave E #502,

Toronto, ON M4P 2Y3

Leonidas@xxxxxxxxxx  

CHAT:

  - IRC: http://webchat.freenode.net/?channels=#swt

  - MatterMost: https://mattermost.eclipse.org/eclipse/channels/platform-swt


Back to the top