[zeromq-dev] jzmq UnsatisfiedLinkError on Linux

gonzalo diethelm gdiethelm at dcv.cl
Thu Apr 15 14:59:28 CEST 2010


> -----Original Message-----
> From: zeromq-dev-bounces at lists.zeromq.org [mailto:zeromq-dev-
> bounces at lists.zeromq.org] On Behalf Of Joe Holloway
> Sent: Wednesday, 14 April, 2010 19:51
> To: 0MQ development list
> Subject: Re: [zeromq-dev] jzmq UnsatisfiedLinkError on Linux
> 
> On Wed, Apr 14, 2010 at 5:33 PM, gonzalo diethelm <gdiethelm at dcv.cl>
> wrote:
> >> Before you get too deep, let me start over on a fresh OS image.  Based
> >> on a chat in #zeromq Martin was able to get it to work on pretty much
> >> the same platform I'm using.   It makes me think I've got something
> >> hanging around from old builds that is causing headaches, but I sure
> >> can't pinpoint what it would be.
> >
> > Ok, please report back.
> 
> I recreated it on a brand new image.  Here is what I did.  I can
> elaborate more if necessary:
> 
> - Create new VM
> - Install Ubuntu 9.10 (32-bit x86 desktop)
> - export LD_LIBRARY_PATH=/usr/local/lib
> 
> - Install C/C++ toolchain
> - Clone zeromq2.git
> - Build HEAD and install to /usr/local/lib
>  - e.g. (./autogen.sh && ./configure && make && sudo make install)
> - run ldconfig as root
> 
> - Install JDK toolchain
> - export JAVA_HOME=/usr/lib/jvm/java-6-sun
> - Clone jzmq.git
> - Build HEAD and install to /usr/local/lib
>  - e.g. (./autogen.sh && ./configure && make && sudo make install)
> - run ldconfig as root
> 
> - run this simple test case:
> 
> ...
>     public void testContext () {
>         ZMQ.Context ctx = new ZMQ.Context(1,1,0);
>         assertNotNull(ctx);
>         ZMQ.Socket sock = ctx.socket(ZMQ.REQ);
>         assertNotNull(sock);
>     }
> ...
> 
> Produces same error as noted above:
> 
> java.lang.UnsatisfiedLinkError: org.zeromq.ZMQ$Context.construct(III)V
>         at org.zeromq.ZMQ$Context.construct(Native Method)
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
----------------------------------------- 
Declaración de confidencialidad: Este Mensaje esta destinado para
el uso de la o las personas o entidades a quien ha sido dirigido y
puede contener información reservada y confidencial que no puede
ser divulgada, difundida, ni aprovechada en forma alguna. El uso no
autorizado de la información contenida en este correo podrá ser
sancionado de conformidad con la ley chilena. 
Si usted ha recibido este correo electrónico por error, le pedimos
eliminarlo junto con los archivos adjuntos y avisar inmediatamente
al remitente, respondiendo este mensaje. 

"Before printing this e-mail think if is really necesary".
Disclosure: This Message is to be used by the individual,
individuals or entities that it is addressed to and may include
private and confidential information that may not be disclosed,
made public nor used in any way at all. Unauthorized use of the
information in this electronic mail message may be subject to the
penalties set forth by Chilean law. 
If you have received this electronic mail message in error, we ask
you to destroy the message and its attached file(s) and to
immediately notify the sender by answering this message. 




More information about the zeromq-dev mailing list