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 <[email protected]>: > 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 <[email protected]> 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 <[email protected]> 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 >> [email protected] >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > > > -- > Aurélien Vallée > +33 6 47 41 70 37 > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
