I am running Ubuntu GNOME 15.10 with GNOME 3.18, and I have installed Glade 3.18 for GTK3 by compiling it from source.
So одиннадцать I had unpacked the tarball in my home directory it told я that I needed to install gtk+-3.0
, so I installed it with (it apparently also installed 111 other packages):
sudo apt-get install gtk+-3.0
I then ran:
cd ~/glade-3.18.3
./configure
make
make check
sudo make install
And although it claims to have installed itself correctly, when I launch it through the GUI nothing happens, and when I do so through Терминал I get this output and it exits:
glade: error while loading shared libraries: libgladeui-2.so.6: cannot open shared object file: No such file or directory
So why am I getting this ошибка? Have I подарил something wrong? And how do I fix it so that it launches and works properly?
Итак, почему я получаю эту ошибку?
Вам нужно libgladeui-2.so.6
(и вероятно другие библиотеки) для выполнения glade
;
Быстро поиск libgladeui-2.so.6
использование apt-file
шоу, что это содержится в пакете libgladeui-2-6
:
% apt-file search libgladeui-2.so.6
libgladeui-2-6: /usr/lib/libgladeui-2.so.6
libgladeui-2-6: /usr/lib/libgladeui-2.so.6.1.3
однако даже установка пакета Вы будете продолжать получать ту ошибку для каждой недостающей библиотеки, пока все зависимости не будут полностью удовлетворены, так как Вы не устанавливали зависимости;
самое быстрое решение состояло бы в том, чтобы установить зависимости для версии в репозиториях:
sudo apt-get build-dep glade
И в 99% случаев, которые сделают вручную скомпилированную версию выполненной сразу впоследствии;
Однако принимают во внимание что использование build-dep
: