• Jul 24, 2013 - 17:48

I just tried to run the recent Nightly Build on an Ubuntu 12.04 system from the tarball

I got this error:
./mscore: error while loading shared libraries: cannot open shared object file: No such file or directory

Since libqt5 is not available as a standard package on Ubuntu 12.04 would it be a good idea to distribute a statically linked executable?


In reply to by reblues

reblues suggested adding ppa:ubuntu-sdk-team/ppa repository and indeed this helps. The following libraries are dynamically linked from mscore:
All of them can be found by adding one package or another after adding the above ppa. But then:
./mscore: /lib/x86_64-linux-gnu/ version `GLIBC_2.16' not found (required by ./mscore)
I do have the package libc6-dev installed. On linux I can just run the library to determine the version and running /lib/x86_64-linux-gnu/ from the command line, I find it is 2.15.

In reply to by bb94

Although the dependencies might be less,I just installed the Ubuntu SDK PPA (although this could be, probably, done with file from as mentioned here—it is ~51 MB) and it fully worked (note that it will dl 182 MB of files). As for I use Ubuntu GNOME 13.10 x32 Live quite often, I v just installed it and saved all the debs from /var/cache/apt/archives/ to a usb (or any other storage place; be reminded U need to mv/cp it with sudo for its owner is root; and of course, this will dl ddebs only tor the current arch). All I v done is the following:

$ sudo apt-add-repository -y ppa:ubuntu-sdk-team/ppa && sudo apt-get -yq update && sudo apt-get -yq install ubuntu-sdk

# to backup the libqt5 debs (optional)
$ sudo mv /var/cache/apt/archives/*.deb /path/to/any/dir/

# later to install these debs, just run
sudo dpkg -i /path/to/any/dir/*

PS—I tried this with mscore nightly 32-bit on Ubuntu GNOME 13.10 i386 Live.

Do you still have an unanswered question? Please log in first to post your question.