[rrd-users] RRDtool installation fails: /usr/bin/ld: cannot find -lrrd

JanaT jana.trchalikova at gmail.com
Wed Aug 13 09:47:47 CEST 2014


Hi,

I have problem to install RRDtool 1.4.7. I have two Python versions - 2.6.6
and 2.7.8. I want to install RRDtool for Python 2.7.8. My OS is Red Hat
Enterprise Linux Server release 6.5 (Santiago). When I execute command
'python2.7 setup.py install', it fails:

running install
running build
running build_ext
running build_configure
building 'rrdtoolmodule' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -fPIC -Irrdtool-1.4.7/src -I/usr/include/python2.7 -c
rrdtool-1.4.7/bindings/python/rrdtoolmodule.c -o
build/temp.linux-x86_64-2.7/rrdtool-1.4.7/bindings/python/rrdtoolmodule.o
In file included from /usr/include/python2.7/Python.h:8,
                 from rrdtool-1.4.7/bindings/python/rrdtoolmodule.c:44:
/usr/include/python2.7/pyconfig.h:1182:1: warning: "_POSIX_C_SOURCE"
redefined
In file included from
rrdtool-1.4.7/bindings/python/../../src/rrd_config_bottom.h:14,
                 from rrdtool-1.4.7/bindings/python/../../rrd_config.h:436,
                 from rrdtool-1.4.7/bindings/python/rrdtoolmodule.c:41:
/usr/include/features.h:162:1: warning: this is the location of the previous
definition
In file included from /usr/include/python2.7/Python.h:8,
                 from rrdtool-1.4.7/bindings/python/rrdtoolmodule.c:44:
/usr/include/python2.7/pyconfig.h:1204:1: warning: "_XOPEN_SOURCE" redefined
In file included from
rrdtool-1.4.7/bindings/python/../../src/rrd_config_bottom.h:14,
                 from rrdtool-1.4.7/bindings/python/../../rrd_config.h:436,
                 from rrdtool-1.4.7/bindings/python/rrdtoolmodule.c:41:
/usr/include/features.h:164:1: warning: this is the location of the previous
definition
gcc -pthread -shared
build/temp.linux-x86_64-2.7/rrdtool-1.4.7/bindings/python/rrdtoolmodule.o
-Lrrdtool-1.4.7/src/.libs -lrrd -o
build/lib.linux-x86_64-2.7/rrdtoolmodule.so
/usr/bin/ld: cannot find -lrrd
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

Am I missing a library or is this problem caused by the fact that I have
multiple Python versions? If anybody knows how to resolve this problem,
please let me know.




--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/RRDtool-installation-fails-usr-bin-ld-cannot-find-lrrd-tp7582347.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.



More information about the rrd-users mailing list