[zeromq-dev] Cannot find shared library

Martin Sustrik sustrik at 250bpm.com
Mon Nov 1 08:35:23 CET 2010


Steven,
>
>
> I am using zmq in 64 bit Fedora 13. I compiled and installed zmq as of 
> the instruction from the websites and ran ldconfig after the 
> installation. However, when I try to run my programme, it shows "error 
> while loading shared libraries: libzmq.so.0: cannot open shared object 
> file: No such file or directory". I checked under my /usr/local/lib, 
> there is indeed a libzmq.so.0 there.
>
> -rw-r--r--. 1 root root 5525610 Nov  1 13:53 libzmq.a
> -rwxr-xr-x. 1 root root     953 Nov  1 13:53 libzmq.la
> lrwxrwxrwx. 1 root root      15 Nov  1 13:53 libzmq.so -> libzmq.so.0.0.0
> lrwxrwxrwx. 1 root root      15 Nov  1 13:53 libzmq.so.0 -> 
> libzmq.so.0.0.0
> -rwxr-xr-x. 1 root root 2237269 Nov  1 13:53 libzmq.so.0.0.0
>
>
> What could I do to fix that?
>
What about setting your LD_LIBRARY_PATH to contain /usr/local/lib?

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101101/9170488a/attachment.htm>


More information about the zeromq-dev mailing list