syncterm from gslapt ... doen't run once installed, crashes with a "illegal instruction" error
May be missing libtinfo.so.6
Compiling with a .configure switch of --with-termlib may be the key.
Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators
syncterm from gslapt ... doen't run once installed, crashes with a "illegal instruction" error
May be missing libtinfo.so.6
Compiling with a .configure switch of --with-termlib may be the key.
@fatdoguser, I am unable to reproduce the problem. Syncterm runs well here (I only try up to the point it shows the welcome screen, didn't try any further).
@jamesbond, the package from repo also gives me "Illegal instruction".
The local one works ok.
Code: Select all
Good: e009cd95ed1b9365def41503ee652fa1 syncterm-1.1-x86_64-4.txz
Bad: 20c7bf75dbdd709ed25b84b99cb7b700 syncterm-1.1-x86_64-4.txz
Greetings!
Saw your post @JakeSFR as I was logging in to post that under a fresh install of Fatdog syncterm fails with the illegal instruction error
gslapt installed syncterm, the one that throws a instant error when started
extracted the /usr/src/pkgbuild/source syncterm...tgz file and copied the recipe (and patches) for that into /usr/src/pkgbuild/pkg/syncterm
Used gslapt to remove syncterm (as though it wasn't installed)
In /usr/pkg/pkgbuild ran
./build-pkg.sh syncterm
When that finished I right clicked the /usr/src/pkgbuild/output/syncterm.,,,tgz file and selected the install option
That compiled version of syncterm works (in as much as it starts up to a gui dialog)
So its not the recipe, rather a faulty binary in gslapt syncterm.
@JakeSFR, but what you said as "bad" is actually my local copy, and it works here on my machine.
I think the compiler is "optimising" on the CPU it is running on, and fails when run under a different CPU. I need to find the compile flag to force it to use general instructions, but cryptlib is old and it's not easy to find the compile switch (I think that I need to do is just to disable -march=native ...). The only problem is that cryptlib is ... well, cryptic
EDIT: I have found the location where -march=native is specified, I have rebuilt syncterm with it disabled. I have uploaded it to gslapt too. If Jake or fatdoguser can test and confirm, that would be good, thanks.
Works for me
Did first time load into a scrambled smaller window, that corrected when the terminal window was maximized, but that seems to be common to syncterm on *nix code, not a Fatdog issue (I guess something to do with first time run config files being set up).
Seasonal thanks and best wishes @jamesbond
Works for me, too, thanks!
Greetings!