Resolvido.
Eu modifiquei o tpl.linguist
e tpl.packettracer
.
Na linha com PTDIR=III
, mudei para PTDIR=/opt/pt
.
Ainda não funcionou. Tive que executá-lo a partir de /opt/pt/bin ./PacketTracer7
e agora funciona.
Estou tentando rodar o PacketTracer 7.1 no Ubuntu 16.04 LTS, tudo se instala bem, tudo é aceito, no entanto, quando eu executo o comando packettracer
, nada acontece ... o shell simplesmente fica lá.
Eu já tentei várias soluções (adicionando linhas e caminhos para os scripts de inicialização, chmod em arquivos bash, reinstalando, modificando caminhos), mas nada está acontecendo, eu fiz uma instalação limpa em duas máquinas diferentes.
Finalmente, consegui obter algumas mensagens de erro executando strace -f -o ~/Documents cpt_trace
ran grep
e obtive a seguinte saída.
$cat cpt_trace | grep error
3064 writev(2, [{"./PacketTracer7", 15}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libicui18n.so.52", 16}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10) = 131
$ cat cpt_trace | grep such
3063 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3063 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
3063 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3063 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3063 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3064 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3064 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
3064 open("/usr/local/Qt-5.5.1/lib/tls/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)<br>
3064 stat("/usr/local/Qt-5.5.1/lib/tls/x86_64", 0x7fff431ef330) = -1 ENOENT (No such file or directory)
3064 open("/usr/local/Qt-5.5.1/lib/tls/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/usr/local/Qt-5.5.1/lib/tls", 0x7fff431ef330) = -1 ENOENT (No such file or directory)
3064 open("/usr/local/Qt-5.5.1/lib/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/usr/local/Qt-5.5.1/lib/x86_64", 0x7fff431ef330) = -1 ENOENT (No such file or directory)
3064 open("/usr/local/Qt-5.5.1/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/usr/local/Qt-5.5.1/lib", 0x7fff431ef330) = -1 ENOENT (No such file or directory)
3064 open("/opt/pt/lib/tls/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/opt/pt/lib/tls/x86_64", 0x7fff431ef330) = -1 ENOENT (No such file or directory)
3064 open("/opt/pt/lib/tls/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/opt/pt/lib/tls", 0x7fff431ef330) = -1 ENOENT (No such file or directory)
3064 open("/opt/pt/lib/x86_64/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/opt/pt/lib/x86_64", 0x7fff431ef330) = -1 ENOENT (No such file or directory)
3064 open("/opt/pt/lib/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3064 open("/opt/pt/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3064 open("/opt/pt/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3064 open("/opt/pt/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3064 open("/opt/pt/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3064 open("/opt/pt/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3064 open("/opt/pt/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3064 open("/opt/pt/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3064 open("/opt/pt/lib/libpng12.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3064 open("/opt/pt/lib/libX11.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3064 open("/opt/pt/lib/libxslt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3064 open("/opt/pt/lib/libxml2.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3064 open("/opt/pt/lib/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
3064 open("/lib/x86_64-linux-gnu/tls/x86_64/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/lib/x86_64-linux-gnu/tls/x86_64", 0x7fff431eea30) = -1 ENOENT (No such file or directory)
3064 open("/lib/x86_64-linux-gnu/tls/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/lib/x86_64-linux-gnu/tls", 0x7fff431eea30) = -1 ENOENT (No such file or directory)
3064 open("/lib/x86_64-linux-gnu/x86_64/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/lib/x86_64-linux-gnu/x86_64", 0x7fff431eea30) = -1 ENOENT (No such file or directory)
3064 open("/lib/x86_64-linux-gnu/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 open("/usr/lib/x86_64-linux-gnu/tls/x86_64/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/usr/lib/x86_64-linux-gnu/tls/x86_64", 0x7fff431eea30) = -1 ENOENT (No such file or directory)
3064 open("/usr/lib/x86_64-linux-gnu/tls/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/usr/lib/x86_64-linux-gnu/tls", 0x7fff431eea30) = -1 ENOENT (No such file or directory)
3064 open("/usr/lib/x86_64-linux-gnu/x86_64/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/usr/lib/x86_64-linux-gnu/x86_64", 0x7fff431eea30) = -1 ENOENT (No such file or directory)
3064 open("/usr/lib/x86_64-linux-gnu/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 open("/lib/tls/x86_64/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/lib/tls/x86_64", 0x7fff431eea30) = -1 ENOENT (No such file or directory)
3064 open("/lib/tls/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/lib/tls", 0x7fff431eea30) = -1 ENOENT (No such file or directory)
3064 open("/lib/x86_64/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/lib/x86_64", 0x7fff431eea30) = -1 ENOENT (No such file or directory)
3064 open("/lib/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 open("/usr/lib/tls/x86_64/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/usr/lib/tls/x86_64", 0x7fff431eea30) = -1 ENOENT (No such file or directory)
3064 open("/usr/lib/tls/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/usr/lib/tls", 0x7fff431eea30) = -1 ENOENT (No such file or directory)
3064 open("/usr/lib/x86_64/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 stat("/usr/lib/x86_64", 0x7fff431eea30) = -1 ENOENT (No such file or directory)
3064 open("/usr/lib/libicui18n.so.52", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
3064 writev(2, [{"./PacketTracer7", 15}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libicui18n.so.52", 16}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10) = 131
Resolvido.
Eu modifiquei o tpl.linguist
e tpl.packettracer
.
Na linha com PTDIR=III
, mudei para PTDIR=/opt/pt
.
Ainda não funcionou. Tive que executá-lo a partir de /opt/pt/bin ./PacketTracer7
e agora funciona.