Error when connecting to CEBO-LC with openSuse 12.3

    • Re: Error when connecting to CEBO-LC with openSuse 12.3

      I can confirm this for openSUSE 13.1, too.

      Linux (hostname) 3.11.10-21-desktop #1 SMP PREEMPT Mon Jul 21 15:28:46 UTC 2014 (9a9565d) x86_64 x86_64 x86_64 GNU/Linux

      Even after installing what's available as an openSUSE package (libPocoNet16) or compiling + installing from pocoproject.org, there's no "libPocoNet.so.22" file, only "libPocoNet.so.16".
      When symlinking ("/usr/lib64/libPocoNet.so.22 -> libPocoNet.so.16"), another message appears (see also attachment): "libcebomsr-1.4.so: undefined symbol: _ZTIN4Poco3Net4Impl17SocketAddressImplE". But that may have to do with the missing correct version "libPocoNet.so.22".

      martin@pc014:~> /opt/cesys.com/cebolab-linux-1.4-x86_64/CeboLab.sh
      18:34:16.330 [main] DEBUG com.cesys.cebo.cebolab.MainWindow - Initialize application at Wed Sep 17 18:34:16 CEST 2014, cwd=/opt/cesys.com/cebolab-linux-1.4-x86_64/.
      18:34:16.383 [main] DEBUG com.cesys.cebo.cebolab.MainWindow - Start search for new updates ...
      18:34:18.184 [main] DEBUG com.cesys.cebo.cebolab.MainWindow - Open browser for device use ...
      18:34:18.208 [main] DEBUG com.cesys.cebo.cebolab.a.d - Try to find server specification (server.config).
      18:34:18.209 [main] DEBUG com.cesys.cebo.cebolab.a.d - No network enumeration done, enumerate local devices.
      18:34:18.279 [main] ERROR com.cesys.cebo.cebolab.utils.i - Display exception dialog: {}
      java.lang.UnsatisfiedLinkError: /opt/cesys.com/cebolab-linux-1.4-x86_64/libcebomsr-1.4.so: undefined symbol: _ZTIN4Poco3Net4Impl17SocketAddressImplE
      at com.sun.jna.Native.open(Native Method) ~[jna-4.0.0.jar:4.0.0 (b2)]
      at com.sun.jna.Native.open(Native.java:1759) ~[jna-4.0.0.jar:4.0.0 (b2)]
      at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:260) ~[jna-4.0.0.jar:4.0.0 (b2)]
      at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398) ~[jna-4.0.0.jar:4.0.0 (b2)]
      at com.sun.jna.Native.register(Native.java:1396) ~[jna-4.0.0.jar:4.0.0 (b2)]
      at com.sun.jna.Native.register(Native.java:1156) ~[jna-4.0.0.jar:4.0.0 (b2)]
      at com.cesys.cebo.cebomsr.SystemConnector.<clinit>(Unknown Source) ~[com.cesys.cebolab-1.4.jar:na]
      at com.cesys.cebo.cebomsr.l.a(Unknown Source) ~[com.cesys.cebolab-1.4.jar:na]
      at com.cesys.cebo.cebolab.a.d.a(Unknown Source) ~[com.cesys.cebolab-1.4.jar:na]
      at com.cesys.cebo.cebolab.Q.c(Unknown Source) [com.cesys.cebolab-1.4.jar:na]
      at com.cesys.cebo.cebolab.Q.b(Unknown Source) [com.cesys.cebolab-1.4.jar:na]
      at com.cesys.cebo.cebolab.Q.a(Unknown Source) [com.cesys.cebolab-1.4.jar:na]
      at com.cesys.cebo.cebolab.MainWindow.g(Unknown Source) [com.cesys.cebolab-1.4.jar:na]
      at com.cesys.cebo.cebolab.MainWindow.e(Unknown Source) [com.cesys.cebolab-1.4.jar:na]
      at com.cesys.cebo.cebolab.aK.widgetSelected(Unknown Source) [com.cesys.cebolab-1.4.jar:na]
      at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) [swt.jar:na]
      at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) [swt.jar:na]
      at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) [swt.jar:na]
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) [swt.jar:na]
      at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) [swt.jar:na]
      at com.cesys.cebo.cebolab.MainWindow.a(Unknown Source) [com.cesys.cebolab-1.4.jar:na]
      at com.cesys.cebo.cebolab.MainWindow.main(Unknown Source) [com.cesys.cebolab-1.4.jar:na]
      ...
      Dateien
    • Hi,

      Does not work for me:

      Quellcode

      1. ./CeboLab.sh
      2. 14:10:48.754 [main] DEBUG com.cesys.cebo.cebolab.MainWindow - Initialize application at Wed Oct 22 14:10:48 CEST 2014, cwd=/home/sschwarz/tmp/cebolab-linux-1.4-x86_64_2/.
      3. 14:10:48.816 [main] DEBUG com.cesys.cebo.cebolab.MainWindow - Start search for new updates ...
      4. 14:10:49.937 [main] DEBUG com.cesys.cebo.cebolab.MainWindow - Open browser for device use ...
      5. 14:10:49.962 [main] DEBUG com.cesys.cebo.cebolab.a.d - Try to find server specification (server.config).
      6. 14:10:49.962 [main] DEBUG com.cesys.cebo.cebolab.a.d - No network enumeration done, enumerate local devices.
      7. java: symbol lookup error: /home/sschwarz/tmp/cebolab-linux-1.4-x86_64_2/libcebomsr-1.4.so: undefined symbol: libusb_get_port_number


      Regards
      Simon
    • Hello Simon,

      this is a known problem: Our library is based on libusb-1.0.x. Their developers seems to tend to high frequent API interface changes. Function 'libusb_get_port_number' was introduced in version 1.0.12 and deprecated in 1.0.16 (upstream-tracker.org/changelogs/libusb/1.0.19/changelog.html).

      So it looks like you have an incompatible version installed (< 1.0.12). Try to update the library if possible (maybe from an alternative repository).
      Thomas
      Software development
      Cesys GmbH