[zeromq-dev] Issues installing ZeroMQ and PyZMQ on RHEL 6

Wolfgang Richter wolf at cs.cmu.edu
Tue Feb 21 20:17:54 CET 2012


Ah, missed the attachment, it does seem as if some std C++ library is
missing or not installed in the proper path.

You compiled on the same system (another cause for the issue Aurélien
Vallée raised)?

--
Wolf

On Tue, Feb 21, 2012 at 2:14 PM, Wolfgang Richter <wolf at cs.cmu.edu> wrote:
> When trying -lzmq you mean you've verified that the library is
> installed system-wide?
>
> Or you don't have permission to do that (be root, do make install)?
>
> If not, it's still possible to build and link against alternate path
> libzmq binaries, just trickier with gcc's -L and -l.
>
> --
> Wolf
>
> On Tue, Feb 21, 2012 at 2:09 PM, Kushal Dalmia <kdpict at gmail.com> wrote:
>> Hi,
>>
>> These are the required outputs:
>>
>> 14:06:15 # echo $PATH
>> /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin
>>
>> 14:06:19 # echo $LD_LIBRARY_PATH
>> /usr/local/lib:/usr/local/lib64:/usr/lib
>>
>> 14:06:50 # echo $LD_PRELOAD
>>
>> 14:07:12 # echo $LDFLAGS
>>
>> 14:07:34 # which gcc
>> /usr/bin/gcc
>>
>> Thanks,
>> Kushal
>>
>> 2012/2/21 Aurélien Vallée <vallee.aurelien at gmail.com>:
>>> Seems like you're not using the appropriate libstdc++ used to build zmq.
>>> Most of the time, this simply means that you created an incoherency between
>>> your $PATH and $LD_LIBRARY_PATH. e.g. you have a custom gcc in your $PATH
>>> that linked with a libstdc++ that is not accessible.
>>> Could you show us:
>>> echo $PATH
>>> echo $LD_LIBRARY_PATH
>>> echo $LD_PRELOAD
>>> echo $LDFLAGS
>>> which gcc
>>>
>>>
>>> On Tue, Feb 21, 2012 at 11:57 AM, Justin Cook <jhcook at gmail.com> wrote:
>>>>
>>>> Looks like this is installed outside the standard library path.
>>>>
>>>> $ export LIBRARY_PATH=<dir to libs>
>>>>
>>>> On Tue, Feb 21, 2012 at 6:41 AM, Kushal Dalmia <kdpict at gmail.com> wrote:
>>>> > Hi,
>>>> >
>>>> > I am a researcher at Carnegie Mellon University and am trying to install
>>>> > ZeroMQ with its Python bindings on a RHEL 6 box (Red Hat Enterprise
>>>> > Linux
>>>> > Workstation release 6.1 (Santiago)).
>>>> >
>>>> > I first tried getting the source from the ZeroMQ website and building
>>>> > it.
>>>> > The build finishes successfully and I can see all the required header
>>>> > files and libraries in the expected dirs. However, when I write a simple
>>>> > C
>>>> > application which links with "-lzmq", the linker fails with a bunch of
>>>> > errors (Please see attached file for details).
>>>> >
>>>> > I also tried getting and installing the RPM
>>>> > (zeromq-2.1.9-1.el6.x86_64.rpm), but get the same issue when trying to
>>>> > link to it.
>>>> >
>>>> > Please suggest me how to go about this? The same errors are seen when I
>>>> > do
>>>> > a "easy_install pyzmq" to install the python bindings.
>>>> >
>>>> > Thanks,
>>>> > Kushal Dalmia
>>>> > Graduate Student
>>>> > Carnegie Mellon University
>>>> _______________________________________________
>>>> zeromq-dev mailing list
>>>> zeromq-dev at lists.zeromq.org
>>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>
>>>
>>>
>>>
>>> --
>>> Aurélien Vallée
>>> +33 6 47 41 70 37
>>>
>>> _______________________________________________
>>> zeromq-dev mailing list
>>> zeromq-dev at lists.zeromq.org
>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev



More information about the zeromq-dev mailing list