Ubuntu – Packet Tracer 7.3.1 in Ubuntu 20.04 – symbol lookup error

software installation

Initially, I had a problem with Cisco PacketTracer 7.3.1 libraries in Ubuntu 20.04.

Managed to fix it by installing the missing libraries.

sudo apt install libqt5webenginewidgets5 libqt5webenginecore5 libqt5script5 libqt5scripttools5

However, I'm getting another error after that

wolf@linux:/opt/pt/bin$ ./PacketTracer7 
./PacketTracer7: symbol lookup error: ./PacketTracer7: undefined symbol: _ZN16QWebSocketServer19handleTCPConnectionEP10QTcpSocketRK7QString, version Qt_5

If you want to try, get it from here. It's free, but registration is required

Best Answer

  • Don't execute it directly. It won't work


    Instead, use the shell script in /opt/pt/


    The path must be correct. Here is the snippet of that code

    $ cat /opt/pt/packettracer 
    echo Starting Packet Tracer 7.3.1
    export LD_LIBRARY_PATH=/opt/pt/bin
    pushd /opt/pt/bin > /dev/null
    ./PacketTracer7 "$@" > /dev/null 2>&1
    popd > /dev/null