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

Aurélien Vallée vallee.aurelien at gmail.com
Tue Feb 21 20:59:05 CET 2012


Nothing weird in your environment (btw, you are building as root?).

Could you ldd and nm the libzmq and show us the output ?

On Tue, Feb 21, 2012 at 8:55 PM, gonzalo diethelm <gdiethelm at dcv.cl> wrote:

> Yes, that's why I suggested there were some C++ libraries missing.
>
> Quick test: write a C++ (not a C) "hello world" program and see if you can
> compile, link and run it.
>
> --
> Gonzalo Diethelm
> DCV Chile
>
>
> > -----Original Message-----
> > From: zeromq-dev-bounces at lists.zeromq.org [mailto:zeromq-dev-
> > bounces at lists.zeromq.org] On Behalf Of Wolfgang Richter
> > Sent: Tuesday, February 21, 2012 4:18 PM
> > To: ZeroMQ development list
> > Subject: Re: [zeromq-dev] Issues installing ZeroMQ and PyZMQ on RHEL 6
> >
> > 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
> > _______________________________________________
> > 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.
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120221/c7f68cac/attachment.htm>


More information about the zeromq-dev mailing list