Spasm on linux 64bits : How to install and fix common issues.

You’re looking for an assembler for ti83 or ti84? And you have a GNU/Linux 64 bits ?

Let’s go download spasm !

Ok, as you can see this is a simple binary, and that’s not really a good idea but ok we will do the necessary to install it.

First I download it, put it inside a path recognized place :

sudo cp ~/spasm /usr/bin/

Then I try to execute it and…:

spasm: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory

First be sure to have this libgmp or install it with your package manager (here debian apt-get) :

sudo apt-get install libgmp3

Retry to run spasm and you will have the same issue !

spasm: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory

Ok now locate the right lib :

sudo updatedb

locate libgmp*

On my computer I get :

/usr/lib/x86_64-linux-gnu/libgmp.so

/usr/lib/x86_64-linux-gnu/libgmp.so.10

/usr/lib/x86_64-linux-gnu/libgmp.so.10.0.5

/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libgmp.so

So I make a symlink :

ln -s /usr/lib/x86_64-linux-gnu/libgmp.so libgmp.so.3

And that’s OK for libgmp, what’s next ?

spasm

spasm: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory

OK same fix :

locate libcrypto

And I get :

/usr/lib/x86_64-linux-gnu/libcrypto.a
/usr/lib/x86_64-linux-gnu/libcrypto.so
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/usr/lib/x86_64-linux-gnu/pkgconfig/libcrypto.pc

I make the symlink :

sudo ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so  libcrypto.so.0.9.8

 

Whoa #!&{@#!$ ???

spasm: /usr/lib/libcrypto.so.0.9.8: version `OPENSSL_0.9.8′ not found (required by spasm)

Ok I try to locate it :

locate libssl.

And I get as always :

/usr/lib/x86_64-linux-gnu/libssl.a
/usr/lib/x86_64-linux-gnu/libssl.so
/usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
/usr/lib/x86_64-linux-gnu/pkgconfig/libssl.pc

Ok so I tried to make the symlink but doesn’t fix it.

So I decided to remove the libs and reinstall it :

rm /usr/lib/x86_64-linux-gnu/libssl.*
rm /usr/lib/x86_64-linux-gnu/libcrypto.*

Bad idea !!!!!!!

This simply remove basically everything on my system :D Even wifi :D

Ok, don’t do that.

Now I will try to download sources and compile it.

As always there’s a lot of issues, but I fixed it for you (hash.cpp, hash.h, utils.cpp, main, Makefile).

You just have to download this archive [spasm-ti-84-plus.com.tar.gz] then :

tar xvzf spasm-ti-84-plus.com.tar.gz

And

cd spasm*

make

sudo cp spasm /usr/bin/

Install deps as you do usually.

And you’r ok.

Enjoy !

Comments are disabled

© 2019 ti-84-plus.com. All Rights Reserved. Theme WP Castle by Saeed Salam.