[zeromq-dev] Compiling with PGM support
Tom Wilberding
tom at wilberding.com
Fri Apr 8 18:26:51 CEST 2011
Hi All,
I am trying to build ZMQ 2.0.10 with pgm support enabled. I'm on CentOS
5.5 and I run the following:
sudo yum install libtool autoconf automake e2fsprogs-devel gcc-c++
glib2-devel
./configure --with-pgm
make
And I get the following link error:
/usr/bin/ld: .libs/libzmq_la-txwi.o: relocation R_X86_64_PC32 against
`pgm_rs_create' can not be used when making a shared object; recompile
with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libzmq.la] Error 1
make[2]: Leaving directory
`/home/local/ROTELLACAPITAL/tomw/zeromq/binaries/zeromq-2.0.10/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/local/ROTELLACAPITAL/tomw/zeromq/binaries/zeromq-2.0.10/src'
make: *** [all-recursive] Error 1
Before keep bashing away at this, are there any existing instructions on
how to compile ZMQ with pgm enabled?
Thanks,
Tom
More information about the zeromq-dev
mailing list