Skip to main content

What and where is libpopt.so.0? (a little desparate)

2 replies [Last post]
bd
Offline
Joined: 2004-11-26

I'm trying to run jdic for the first time (on SuSE 9.0) and get an "unsatisfied link" error re libpopt.so.0

I don't have this library on my system and haven't found any reference to it in the jdic documentation or the forum archive.

Thanks

---------------------------------------------

The full error message is

org.jdesktop.jdic.init.JdicInitException: java.lang.UnsatisfiedLinkError: /usr/local/Apps/jdic-0.8.6.1-bin-linux/libjdic.so: libpopt.so.0: cannot open shared object file: No such file or directory
at org.jdesktop.jdic.init.JdicManager.initShareNative(Unknown Source)
at org.jdesktop.jdic.desktop.internal.ServiceManager.(Unknown Source)
at org.jdesktop.jdic.desktop.Desktop.browse(Unknown Source)
at mnemona.gui.URLViewer.main(URLViewer.java:12)
Caused by: java.lang.UnsatisfiedLinkError: /usr/local/Apps/jdic-0.8.6.1-bin-linux/libjdic.so: libpopt.so.0: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at org.jdesktop.jdic.init.InitUtility.(Unknown Source)
... 4 more
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/Apps/jdic-0.8.6.1-bin-linux/libjdic.so: libpopt.so.0: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at org.jdesktop.jdic.desktop.internal.impl.GnomeBrowserService.(Unknown Source)
at org.jdesktop.jdic.desktop.internal.impl.ServiceManagerStub.getService(Unknown Source)
at org.jdesktop.jdic.desktop.internal.ServiceManager.getService(Unknown Source)
at org.jdesktop.jdic.desktop.Desktop.browse(Unknown Source)
at mnemona.gui.URLViewer.main(URLViewer.java:12)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bd
Offline
Joined: 2004-11-26

(To answer my own question) It appears that jdic 8.8.6.1 requires an out of date version of this library (the last time I upgraded my system, last Jan, the current version was libpopt.so.1). Soft linking libpopt.so.1 to libpopt.so.0 seems to make it work.

georgez
Offline
Joined: 2003-08-19

Hi,

I found the reported issue#138:
https://jdic.dev.java.net/issues/show_bug.cgi?id=138

Which is now fixed, and the fix will be integrated in the next JDIC release.

For the 0.8.6.1 release, please use the "soft link" as a workaround.

Thanks,

-George.