[Lazarus] Fixes and trunk on 64bit Linux misses libraries

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] Fixes and trunk on 64bit Linux misses libraries

Free Pascal - Lazarus mailing list
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@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
[hidden email]


--
_______________________________________________
Lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Fixes and trunk on 64bit Linux misses libraries

Free Pascal - Lazarus mailing list
Hello again!

The problem was my mistake.

2018-08-09 19:47 keltezéssel, Péter Gábor írta:
>
> - What is the cause of this issue?
>
There was a bug in my mass compilation script.
After each compilation there was a checking for correct 32bit binaries
except the fixes version of Lazarus.
If the binary was not what it was looking for then the script copied the
saved 32bit binaries back in their place, except one (that was what
worked well).
>
> - How to fix it?
>
The checking command was written originally for some testing, but
remained there...
I must be more careful in the future.

--
Péter Gábor
[hidden email]


--
_______________________________________________
Lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus