〖Linux〗Debian 7.1.0 Wheezy使用ltib报错的解决办法
报错内容:
scue@Link:/home/work/ltib$ ./ltib Processing platform: Phytec 3250 board with the NXP LPC32XX SoC ================================================================= using config/platform/phy3250/.config /opt/ltib/usr/bin/rpm: error while loading shared libraries: libbz2.so.1: cannot open shared object file: No such file or directory /opt/ltib/usr/bin/rpm --root /home/work/ltib/rootfs --dbpath /var/lib/rpm -qa --queryformat '%{name} ' at ./ltib line 1994. traceback: main::remove_unselected_pkgs:1994 main::f_buildrpms:976 main:561 Started: Sun Jul 14 20:35:15 2013 Ended: Sun Jul 14 20:35:15 2013 Elapsed: 0 seconds Build Failed Exiting on error or interrupt
解决办法:
sudo apt-get install lib32bz2-1.0 sudo ln -s /usr/lib32/libbz2.so.1.0 /lib/libbz2.so.1 sudo ln -s /usr/lib32/libbz2.so.1.0 /lib/libbz2.so.1.0
可能依赖:
sudo apt-get install -y gettext libgtk2.0-dev rpm bison m4 libfreetype6-dev libdbus-glib-1-dev liborbit2-dev intltool ccache ncurses-dev zlib1g zlib1g-dev gcc g++ libtool uuid-dev liblzo2-dev tcl dpkg dh-make gettext-doc libcairo2-doc libgtk2.0-doc libice-doc libpango1.0-doc libsm-doc libmail-box-perl alien elfutils rpm-i18n