2014-02-13 57 views
1

我可以輕鬆地使用.deb文件在Ubuntu上下載並安裝它。我目前正在使用Crunchbang,我根本無法安裝它。需要Packet Tracer庫(Debian)

運行它,庫後出現錯誤請求庫後出現錯誤。

安裝完所有這些和更多內容後,我可以清除libQt4 *庫。

apt-get install -y lib32-libpng lib32-libsm lib32-libxi lib32-libxrandr lib32-freetype2 lib32-fontconfig lib32-glib2 lib32-libstdc++5 extra/qtwebkit multilib/lib32-qt 

我現在的錯誤:

[email protected]:/usr/local/PacketTracer6/bin# ./PacketTracer6 
./PacketTracer6: error while loading shared libraries: libQt3Support.so.4: cannot open shared object file: No such file or directory 

我無法找到包含此我也不能在網上找到一個包。我已經下載了庫和LD_PRELOAD庫。

LDD輸出:

./PacketTracer6: /lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.15' not found (required by ./PacketTracer6) 
    linux-gate.so.1 => (0xf76e5000) 
    libcrypto.so.1.0.0 => /usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0 (0xf7509000) 
    libQtWebKit.so.4 => /usr/lib/i386-linux-gnu/libQtWebKit.so.4 (0xf5dbe000) 
    libQtScriptTools.so.4 => /usr/lib/i386-linux-gnu/libQtScriptTools.so.4 (0xf5d06000) 
    libQtScript.so.4 => /usr/lib/i386-linux-gnu/libQtScript.so.4 (0xf5a7a000) 
    libQt3Support.so.4 => not found 
    libQtXml.so.4 => /usr/lib/i386-linux-gnu/libQtXml.so.4 (0xf5a38000) 
    libQtGui.so.4 => /usr/lib/i386-linux-gnu/libQtGui.so.4 (0xf4f54000) 
    libQtNetwork.so.4 => /usr/lib/i386-linux-gnu/libQtNetwork.so.4 (0xf4e10000) 
    libQtCore.so.4 => /usr/lib/i386-linux-gnu/libQtCore.so.4 (0xf4b2a000) 
    libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf4b11000) 
    libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf4a25000) 
    libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf49ff000) 
    libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf49e1000) 
    libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf487d000) 
    libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf4879000) 
    libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf4860000) 
    libsqlite3.so.0 => /usr/lib/i386-linux-gnu/libsqlite3.so.0 (0xf47b0000) 
    libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xf47a5000) 
    libgstapp-0.10.so.0 => /usr/lib/i386-linux-gnu/libgstapp-0.10.so.0 (0xf4797000) 
    libgstinterfaces-0.10.so.0 => /usr/lib/i386-linux-gnu/libgstinterfaces-0.10.so.0 (0xf4785000) 
    libgstpbutils-0.10.so.0 => /usr/lib/i386-linux-gnu/libgstpbutils-0.10.so.0 (0xf4761000) 
    libgstvideo-0.10.so.0 => /usr/lib/i386-linux-gnu/libgstvideo-0.10.so.0 (0xf4743000) 
    libgstbase-0.10.so.0 => /usr/lib/i386-linux-gnu/libgstbase-0.10.so.0 (0xf46df000) 
    libgstreamer-0.10.so.0 => /usr/lib/i386-linux-gnu/libgstreamer-0.10.so.0 (0xf45f5000) 
    libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xf45a3000) 
    libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xf44a6000) 
    libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf436e000) 
    libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xf4337000) 
    libaudio.so.2 => /usr/lib/i386-linux-gnu/libaudio.so.2 (0xf431d000) 
    libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xf42f3000) 
    libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xf4257000) 
    libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xf424f000) 
    libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xf4235000) 
    libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf4223000) 
    librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf421a000) 
    /lib/ld-linux.so.2 (0xf76e6000) 
    liborc-0.4.so.0 => /usr/lib/i386-linux-gnu/liborc-0.4.so.0 (0xf4189000) 
    libgmodule-2.0.so.0 => /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 (0xf4183000) 
    libxml2.so.2 => /usr/lib/i386-linux-gnu/libxml2.so.2 (0xf402f000) 
    libgthread-2.0.so.0 => /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 (0xf402c000) 
    libffi.so.5 => /usr/lib/i386-linux-gnu/libffi.so.5 (0xf4023000) 
    libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xf3fe5000) 
    libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf3fc1000) 
    libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xf3f99000) 
    libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xf3f3c000) 
    libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf3f39000) 
    libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xf3f33000) 
    liblzma.so.5 => /lib/i386-linux-gnu/liblzma.so.5 (0xf3f0b000) 
    libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf3f05000) 

回答

1

您需要編譯/安裝libQt3因爲PacketTracer6需要libQt3庫作爲LDD顯示

libQt3Support.so.4 => not found 

你需要從立得軟件包管理

2

運行安裝libqt4-qt3support PacketTracer6上的'文件'($文件PacketTracer6) 顯示可執行文件爲32位。

在沒有支持 安裝32位庫的情況下,它根本無法在amd64操作系統上運行。

這就是您需要將您的系統設置爲多架構 之一。

在Debian上它#dpkg的--add-i386硬件架構

我還沒有完成這一點,但是,所以我不知道必要的庫如何 許多默認情況下,
多少進去將有 緩慢和手動安裝。

如果有人打我的話,隨時補充一點。

+1

然後添加apt-get update – ewing

1

包裝在圖書館依賴於GCLIB 2.15,但wheezy帶有2.13。 這對我有幫助:

apt-get install libqt4-qt3support:i386 
apt-get install libqt4-scripttools:i386 
mv /opt/pt/lib /opt/pt/lib.bak 
mkdir /opt/pt/lib 
ln -s /usr/lib/i386-linux-gnu/libQt* /opt/pt/lib