[zeromq-dev] UnsatisfiedLinkError

Mark Libucha mlibucha at gmail.com
Sun Oct 17 21:33:41 CEST 2010


Why does clicking on Send cause the brain to kick into gear?

I needed this:

 export LD_LIBRARY_PATH=/usr/local/lib

Mark

On Sun, Oct 17, 2010 at 12:22 PM, Mark Libucha <mlibucha at gmail.com> wrote:

> I had this working a couple weeks ago, but now I'm stumped. Got to be
> something stupid...would someone be so kind as to point it out to me?
> Thanks...
>
> [mlibucha at myhost perf]$ ls -l /usr/local/lib/libz*
> -rw-r--r-- 1 root root 3277398 Oct  2 12:23 /usr/local/lib/libzmq.a
> -rwxr-xr-x 1 root root     807 Oct  2 12:23 /usr/local/lib/libzmq.la
> lrwxrwxrwx 1 root root      15 Oct  2 12:23 /usr/local/lib/libzmq.so ->
> libzmq.so.0.0.0
> lrwxrwxrwx 1 root root      15 Oct  2 12:23 /usr/local/lib/libzmq.so.0 ->
> libzmq.so.0.0.0
> -rwxr-xr-x 1 root root 1825167 Oct  2 12:23 /usr/local/lib/libzmq.so.0.0.0
>
> [mlibucha at myhost perf]$ ls -l /usr/local/lib/libjz*
> -rw-r--r-- 1 root root 247322 Oct  2 12:29 /usr/local/lib/libjzmq.a
> -rwxr-xr-x 1 root root    798 Oct  2 12:29 /usr/local/lib/libjzmq.la
> lrwxrwxrwx 1 root root     16 Oct  2 12:29 /usr/local/lib/libjzmq.so ->
> libjzmq.so.0.0.0
> lrwxrwxrwx 1 root root     16 Oct  2 12:29 /usr/local/lib/libjzmq.so.0 ->
> libjzmq.so.0.0.0
> -rwxr-xr-x 1 root root 148795 Oct  2 12:29 /usr/local/lib/libjzmq.so.0.0.0
>
> [mlibucha at myhost perf]$ java -Djava.library.path=/usr/local/lib -classpath
> .:../src/zmq.jar local_lat tcp://127.0.0.1:5555 1 100
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> /usr/local/lib/libjzmq.so.0.0.0: libzmq.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:1767)
>         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1692)
>         at java.lang.Runtime.loadLibrary0(Runtime.java:840)
>         at java.lang.System.loadLibrary(System.java:1047)
>         at org.zeromq.ZMQ.<clinit>(ZMQ.java:29)
>         at local_lat.main(local_lat.java:36)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101017/ea62afc9/attachment.htm>


More information about the zeromq-dev mailing list