Tuesday, September 5, 2017

12.04 - How to properly install srcML?



I'm trying to install a program called srcML. I got it from http://www.srcml.org/downloads.html



I got the .tar.gz file and extracted it and I'm left with a ./bin, ./include, ./lib folder.




When trying to run the binary file I get the error




./srcml: error while loading shared libraries: libsrcml.so: cannot open shared object file: No such file or directory




How to properly install it?



You can install it probably more easily using the .deb files provided on that download site. Open a terminal () and depending on your architecture (64-bit or 32-bit) choose the right commands, I put comments on them:




# 64-bit
wget http://131.123.42.38/lmcrs/beta/srcML-Ubuntu12.04-64.deb
sudo dpkg -i srcML-Ubuntu12.04-64.deb

# 32-bit
wget http://131.123.42.38/lmcrs/beta/srcML-Ubuntu12.04.deb
sudo dpkg -i srcML-Ubuntu12.04.deb

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...