[rrd-users] cross-compiling: cannot find -lrrd

Sergey Kopylov copa at yandex.ru
Mon Feb 9 21:17:02 CET 2015


I tried to update my LD_LIBRARY_PATH:
export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/sergey/openwrt/attitude_adjustment/staging_dir/target-mipsel_r2_uClibc-0.9.33.2/root-ramips/usr/lib
export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/sergey/openwrt/attitude_adjustment/staging_dir/target-mipsel_r2_uClibc-0.9.33.2/usr/lib/rrdtool-1.2/lib
export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/sergey/openwrt/attitude_adjustment/build_dir/target-mipsel_r2_uClibc-0.9.33.2/rrdtool-1.2.30/ipkg-install/usr/lib
export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/sergey/openwrt/attitude_adjustment/build_dir/target-mipsel_r2_uClibc-0.9.33.2/rrdtool-1.2.30/src/.libs

But it did not help me. May be there is 2 different LD_LIBRARY_PATH - one
for Debian, second - for openwrt? I am not familiar with compiling and
especially with cross-compilation. 

I tried also put the folder 'lib' with these libraries to the folder 'src'
of my test program and include next row to my Makefile:
TARGET_LDFLAGS += -I./src/lib
But it did not help me also.

Anyway - thanks a lot for your answer!



--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/cross-compiling-cannot-find-lrrd-tp7582841p7582843.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.



More information about the rrd-users mailing list