I'm new to this Board and also a beginner with the Rasp & Linux. I found a lot of good information in this great community for RP and i thought to improve my knowledge with linux and RP. After i compiled some programms under the RP i tried out to configure a cross-compiler to speed up this process. I read a lot of howtos and readmes. I achieved to install Scratchbox2 with Qemu under Ubuntu and also NFS for the RP bootup process.
I tried now to install some requiered packages for compiling xbmc with
Code: Select all
sb2 -eR apt-get -y install autoconf libboost-dev libass-dev libmpeg2-4-dev libmad0-dev libjpeg-dev libsamplerate0-dev libogg-dev libvorbis-dev libmodplug-dev libcurl4-gnutls-dev libflac-dev libmysqlclient-dev libbz2-dev libtiff4-dev libssl-dev libssh-dev libsmbclient-dev libyajl-dev libfribidi-dev libsqlite3-dev libpng12-dev libpcre3-dev libpcrecpp0 libcdio-dev libiso9660-dev libfreetype6-dev libjasper-dev libmicrohttpd-dev python-dev python-sqlite libplist-dev libavahi-client-dev libtinyxml-dev libstdc++6-4.7-dev libgcrypt-dev nfs-common
I'm getting for every package the error:
Code: Select all
/home/luigi/RaspberryPi/devel/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: No such file or directory
Return Error code 1
I read the readme to ldconfig but until now i dont understand how all this folders works together and how i know which of the libs the compiler and linker is using in the environment.
I tried to edit
Code: Select all
~/RaspberryPi/devel/etc/ld.so.conf.d/arm-linux-gnueabihf.conf
~/RaspberryPi/devel/etc/ld.so.conf.d/libc.conf
/etc/ld.so.conf
I also executed
Code: Select all
sb2 -eR /sbin/ldconfig -v
sb2 -eR /sbin/ldconfig -n
under my ~/RaspberryPi/devel folder without success. I don't know what else to do that the compiler usees the right folders.
A normal execution of
Code: Select all
sb2 -eR apt-get update
I would be thankful for every hint or help.