I need to run C++ application that I build on my local developer Linux machine(Ubuntu 14.04) under VirtualBox on Linux server(Ubuntu 12), the problem that application have lots of dependencies and I don't have sudo
on that server, so I can't do something like sudo apt-get install <libname-dev>
.
I use ldd
to figure out what libs are missing on server.
For example:
libopenblas.so.0 => not found
liblapack.so.3 => not found
Than I copy this libs from my local machine /usr/lib/
to server near application and than create symbolic links by hand.
Files to copy:
liblapack.so.3.0
libopenblas.so.0
Links to create:
liblapack.so.3
libopenblas.so
- Is it bad idea to do this kind of trick, will it always work?
- I wonder about Linux .so naming conventions, what is the meaning of
.so.3.0
,.so.0
, etc. ?