[Lazarus] Fixes and trunk on 64bit Linux misses libraries
Péter Gábor
ptrg at freemail.hu
Thu Aug 9 19:47:50 CEST 2018
Hi!
A few days ago I switched to 64bit Linux (fresh install of Mint 18.3)
and I was reinstalling all packages that I had on the 32bit installation.
Then I tried to continue my work, also with the fixes and the trunk
version of lazarus.
After successfully recompiling FPC 3.1.1 (also cross-compiled for 4
targets without error), I started to compile Lazarus itself.
Fixes version compiled successfully without error.
Trunk version compiled successfully without error.
Now I started Lazarus fixes using startlalazus, but startlazarus stopped
with the following message:
./startlazarus: error while loading shared libraries:
libgdk-x11-2.0.so.0: cannot open shared object file: No such file or
directory
The fixes version of Lazarus (started directly) can start/run without error.
After this I started the trunk version, but I've got the same error
messages and the applications did not start.
./startlazarus: error while loading shared libraries:
libgdk-x11-2.0.so.0: cannot open shared object file: No such file or
directory
./lazarus: error while loading shared libraries:
libgdk-x11-2.0.so.0: cannot open shared object file: No such file or
directory
Checking for dependencies of the aboves with ldd, I've got the following
list (for example: trunk IDE):
me at gep ~/Projektek/Lazarus-trunk $ ldd ./lazarus | grep "not found"
libgdk-x11-2.0.so.0 => not found
libgdk_pixbuf-2.0.so.0 => not found
libgtk-x11-2.0.so.0 => not found
libgobject-2.0.so.0 => not found
libglib-2.0.so.0 => not found
libgthread-2.0.so.0 => not found
libgmodule-2.0.so.0 => not found
libpango-1.0.so.0 => not found
libcairo.so.2 => not found
libatk-1.0.so.0 => not found
libwebkitgtk-1.0.so.0 => not found
libpangocairo-1.0.so.0 => not found
libsqlite.so.0 => not found
But these all are installed on the system:
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
/usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 <----- missing
but can be created (link with ln to
/usr/lib/x86_64-linux-gnu/libglib-2.0.so)
/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0
/usr/lib/x86_64-linux-gnu/libpango-1.0.so.0
/usr/lib/x86_64-linux-gnu/libcairo.so.2
/usr/lib/x86_64-linux-gnu/libatk-1.0.so.0
/usr/lib/x86_64-linux-gnu/libwebkitgtk-1.0.so.0
/usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0
/usr/lib/libsqlite.so.0
So the questions are:
- What is the cause of this issue?
- How to fix it?
Thanks for the answers!
--
Péter Gábor
ptrg at freemail.hu
More information about the Lazarus
mailing list