You are not logged in.
Hi all,
I've got this error when first run cisco packettracer:
/opt/pt/bin/PacketTracer5: error while loading shared libraries: libSM.so.6: cannot open shared object file: No such file or directory
I'm running arch x86_64, how can i fix this, plz help, thanks!
Last edited by theClassicMan27 (2012-07-07 16:31:42)
Offline
Does /usr/lib/libSM.so.6 exist on your system (according to the error supposedly not)? If not, install the "libsm" package.
Burninate!
Offline
Thanks for your reply Gcool,
Unluckily, there's libSM.so.6 already exist.
[ty@ty-pc ~]$ ls -al /usr/lib/libSM.so.6
lrwxrwxrwx 1 root root 14 Mar 3 20:42 /usr/lib/libSM.so.6 -> libSM.so.6.0.1
[ty@ty-pc ~]$
Last edited by theClassicMan27 (2012-07-07 12:27:08)
Offline
Would it be possible to post the output of the following command?
# ldd /opt/pt/bin/PacketTracer5
Burninate!
Offline
Yeah certainly,
[ty@ty-pc ~]$ ldd /opt/pt/bin/PacketTracer5
linux-gate.so.1 (0xf77a0000)
libQtWebKit.so.4 => not found
libQtScript.so.4 => not found
libQt3Support.so.4 => not found
libQtSql.so.4 => not found
libQtXml.so.4 => not found
libQtGui.so.4 => not found
libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf7750000)
libSM.so.6 => not found
libICE.so.6 => not found
libXi.so.6 => not found
libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf7745000)
libXrandr.so.2 => not found
libfreetype.so.6 => not found
libfontconfig.so.1 => not found
libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7732000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf75fb000)
libQtNetwork.so.4 => not found
libQtCore.so.4 => not found
libz.so.1 => /usr/lib32/libz.so.1 (0xf75e4000)
libgthread-2.0.so.0 => not found
librt.so.1 => /usr/lib32/librt.so.1 (0xf75da000)
libglib-2.0.so.0 => not found
libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf75bf000)
libdl.so.2 => /usr/lib32/libdl.so.2 (0xf75ba000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf74d1000)
libm.so.6 => /usr/lib32/libm.so.6 (0xf748a000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7470000)
libc.so.6 => /usr/lib32/libc.so.6 (0xf72ca000)
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf72a8000)
/lib/ld-linux.so.2 (0xf77a1000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf72a3000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf729c000)
[ty@ty-pc ~]$
Is the "not found" libs cause the problem?
Last edited by theClassicMan27 (2012-07-07 13:43:58)
Offline
You could try the following command:
LD_LIBRARY_PATH=/usr/lib /opt/pt/bin/PacketTracer5
I don't know if it works.
Offline
I'm not familiar with packettracer outside of on actual cisco devices; but by the looks of it, it needs the 32-bit libraries to be installed.
So you'll most likely have to install the missing libraries (lib32-libsm,...). They're available in the [multilib] repo.
PS: but first try pyhax' suggestion just to be sure.
Burninate!
Offline
You could try the following command:
LD_LIBRARY_PATH=/usr/lib /opt/pt/bin/PacketTracer5
I don't know if it works.
Yes, and this is the output:
[ty@ty-pc ~]$ LD_LIBRARY_PATH=/usr/lib /opt/pt/bin/PacketTracer5
/opt/pt/bin/PacketTracer5: error while loading shared libraries: libQtWebKit.so.4: wrong ELF class: ELFCLASS64
Last edited by theClassicMan27 (2012-07-07 14:02:02)
Offline
As Gcool said, i'd installed these package:
# pacman -S lib32-libpng lib32-libsm lib32-libxi lib32-libxrandr lib32-freetype2 lib32-fontconfig lib32-glib2 lib32-libstdc++5 extra/qtwebkit multilib/lib32-qt
Then check (optional):
$ ldd /opt/pt/bin/PacketTracer5
And problem solved!
Thanks you all!
Offline
Good to hear it's up and running now.
Don't forget to mark your thread as [SOLVED].
Burninate!
Offline
Good to hear it's up and running now.
Don't forget to mark your thread as [SOLVED].
Thanks Gcool!
Offline
Thanks Works great!!!!
Offline