Hi Sergey, > Am 09.02.2015 um 21:17 schrieb Sergey Kopylov <c...@yandex.ru>: > > 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.
LD_LIBRARY_PATH will not help you when crosscompiling. > 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 -I is for includes, -L is for library pathes, try -L./src/lib Best regards — Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users