Failed to start smartsvn on archlinux

838 views
Skip to first unread message

zixu mo

unread,
Aug 3, 2017, 4:37:43 AM8/3/17
to SmartSVN
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/huzhifeng/.smartsvn/9.2/swt.tmp/libswt-pi-gtk-4723.so
Can't load library: /home/huzhifeng/.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/huzhifeng/.smartsvn/9.2/swt.tmp/libswt-pi-gtk-4723.so: /home/huzhifeng/.smartsvn/9.2/svn-tmp/6058/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/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)
at smartsvn.yx.a(SourceFile:103)
at smartsvn.QF.a(SourceFile:194)
at smartsvn.QF.a(SourceFile:174)
at smartsvn.yU.b(SourceFile:61)
at SmartSVN.main(SourceFile:11)
... 5 more

SmartSVN Support

unread,
Aug 3, 2017, 4:43:51 AM8/3/17
to smar...@googlegroups.com
> Caused by: java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
> Can't load library:
> /home/huzhifeng/.smartsvn/9.2/swt.tmp/libswt-pi-gtk-4723.so
> Can't load library: /home/huzhifeng/.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/huzhifeng/.smartsvn/9.2/swt.tmp/libswt-pi-gtk-4723.so:
> /home/huzhifeng/.smartsvn/9.2/svn-tmp/6058/libz.so.1: version `ZLIB_1.2.9' not
> found (required by /usr/lib/libpng16.so.16)

Will installing zlib fix the problem?

--
Best regards,
Marc Strapetz
syntevo GmbH
http://www.syntevo.com
> --
> You received this message because you are subscribed to the Google Groups
> "SmartSVN" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> smartsvn+u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/smartsvn/4a54da70-3d73-4463-b160-07eef1c86dc2%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

zixu mo

unread,
Aug 3, 2017, 8:12:37 PM8/3/17
to SmartSVN, smar...@smartsvn.com
SmartSVN Support於 2017年8月3日星期四 UTC+8下午4時43分51秒寫道:
No, i already had libz installed.

===============================
huzhifeng@mj /usr $ find . -name "*libz.so*"

./lib/libz.so.1.2.11
./lib/vmware-vix/Workstation-12.0.0/64bit/libz.so.1
find: ‘./lib/firmware/b43’: Permission denied
find: ‘./lib/firmware/b43legacy’: Permission denied
./lib/libz.so.1
./lib/vmware-installer/2.1.0/lib/lib/libz.so.1
./lib/vmware-installer/2.1.0/lib/lib/libz.so.1/libz.so.1
./lib/vmware/lib/libz.so.1
./lib/vmware/lib/libz.so.1/libz.so.1.old
./lib/vmware/lib/libz.so.1/libz.so.1
./lib/libz.so
find: ‘./share/polkit-1/rules.d’: Permission denied
./lib32/libz.so.1.2.11
./lib32/libz.so.1
./lib32/libz.so


===============================

one possible solution, add one line into smartsvn/bin/smartsvn.sh (at the begin of the file)

rm -rf ~/.smartsvn/9.2/svn-tmp


It works, but i don't know why it works.


SmartSVN Support

unread,
Aug 4, 2017, 7:43:43 AM8/4/17
to smar...@googlegroups.com
> one possible solution, add one line into smartsvn/bin/smartsvn.sh (at the begin of
> the file)
>
> rm -rf ~/.smartsvn/9.2/svn-tmp
>
>
> It works, but i don't know why it works.

That's very odd, because SmartSVN already wipes this directory before refilling it.

--
Best regards,
Thomas Singer
syntevo GmbH
http://www.syntevo.com
> https://groups.google.com/d/msgid/smartsvn/c29c542b-d26c-4737-951c-49715ead97e8%40googlegroups.com.

SmartSVN Support

unread,
Aug 8, 2017, 5:42:37 AM8/8/17
to smar...@googlegroups.com
Please edit smartsvn.sh. There you will find a line nearly at the bottom

export LD_LIBRARY_PATH=${_SUBVERSION_LIBRARY_PATH}:${LD_LIBRARY_PATH}

Please uncomment this line by adding a leading #.

--
Best regards,
Thomas Singer
syntevo GmbH
http://www.syntevo.com


08/03/2017 10:38 - zixu mo wrote:

Edward Diener

unread,
Oct 23, 2017, 4:23:32 AM10/23/17
to SmartSVN
I have the exact sanme problem but none of the solutions suggested in this post works for me.

Bart McLeod

unread,
Jan 25, 2018, 7:18:57 AM1/25/18
to SmartSVN
Thomas, that is very strange, because I also experience that adding rm -rf ~/.smartsvn/9.2/svn-tmp to smartsvn.sh solves this exact problem.

I is not good for paid software to have to add such workarounds...

SmartSVN Support

unread,
Jan 25, 2018, 7:22:43 AM1/25/18
to smar...@googlegroups.com
Please edit smartsvn.sh. There you will find a line nearly at the bottom

export LD_LIBRARY_PATH=${_SUBVERSION_LIBRARY_PATH}:${LD_LIBRARY_PATH}

Please uncomment this line by adding a leading #.

> I is not good for paid software to have to add such workarounds...

We are reluctant to such changes in the release version - who knows on which machine it breaks something else. The preview version at

http://www.smartsvn.com/preview

already contains the change.

--
Best regards,
Thomas Singer
syntevo GmbH
http://www.syntevo.com


> --
> You received this message because you are subscribed to the Google Groups
> "SmartSVN" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> smartsvn+u...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/smartsvn/642f433f-f621-47b7-b397-d5559ec428b4%40googlegroups.com.

Bart McLeod

unread,
Jan 25, 2018, 7:55:09 AM1/25/18
to SmartSVN
Op donderdag 25 januari 2018 13:22:43 UTC+1 schreef SmartSVN Support:

Ok, I understand the reluctancy. I tried your solution, and that also works. Please note that adding a leading '#' is usually refered to as commenting and uncommenting means removing the leading '#'. Because of that confusion I did not apply the suggestion at first.

Reply all
Reply to author
Forward
0 new messages