Recent

Author Topic: Lazarus on Mint - Palette didn't show  (Read 656 times)

incendio

  • Sr. Member
  • ****
  • Posts: 301
Lazarus on Mint - Palette didn't show
« on: March 22, 2025, 06:21:13 am »
Hi guys,

I installed Mint 22.1 Cinamon and Lazarus 3.8. on a Virtual Machine (Oracle Virtual Box)

Via Online Package Manager, installed FPS Spreadsheet & IBX, after installation finished, there was a message, something like to restart IDE, but there was and errors.

Here is the error message :
Warning: linker: /usr/bin/ld: cannot find -lgdk-x11-2.0: No such file or directory
Warning: linker: /usr/bin/ld: cannot find -lgtk-x11-2.0: No such file or directory
Warning: linker: /usr/bin/ld: cannot find -lX11: No such file or directory
Warning: linker: /usr/bin/ld: cannot find -lgdk_pixbuf-2.0: No such file or directory
Warning: linker: /usr/bin/ld: cannot find -lgobject-2.0: No such file or directory
Warning: linker: /usr/bin/ld: cannot find -lglib-2.0: No such file or directory
Warning: linker: /usr/bin/ld: cannot find -lgthread-2.0: No such file or directory
Warning: linker: /usr/bin/ld: cannot find -lgmodule-2.0: No such file or directory
Warning: linker: /usr/bin/ld: cannot find -lpango-1.0: No such file or directory
Warning: linker: /usr/bin/ld: cannot find -lcairo: No such file or directory
Warning: linker: /usr/bin/ld: cannot find -latk-1.0: No such file or directory
Warning: linker: /usr/bin/ld: cannot find -lpangocairo-1.0: No such file or directory
make[2]: *** [Makefile:4390: lazarus] Error 1
make[1]: *** [Makefile:4829: ide] Error 2
*** [Makefile(3126,0) Error: linker: ide] Error 2
lazarus.pp(171,1) Error: Error while linking

as a result, both FPS and IBX palette didn't show.

Are there required steps after Lazarus installation to fix those errors?

Downloaded and installed these files :
1. fpc-laz_3.2.2-210709_amd64.deb
2. fpc-src_3.2.2-210709_amd64.deb
3. lazarus-project_3.8.0-0_amd64.deb

Thanks in advance.


dbannon

  • Hero Member
  • *****
  • Posts: 3311
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus on Mint - Palette didn't show
« Reply #1 on: March 22, 2025, 07:17:58 am »
Sort of looks like the deb packages you have downloaded don't have the correct dependencies marked. Up until recently, most distros had GTK2 preinstalled but maybe not any more ?

From the Installing Lazarus on Linux wiki page "So, install libx11-dev and libgtk2.0-dev, (rpm based systems, libX11-devel, gtk2-devel) that will bring gtk2 itself along if necessary. ".

Might help.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

incendio

  • Sr. Member
  • ****
  • Posts: 301
Re: Lazarus on Mint - Palette didn't show
« Reply #2 on: March 22, 2025, 07:39:01 am »
Sort of looks like the deb packages you have downloaded don't have the correct dependencies marked. Up until recently, most distros had GTK2 preinstalled but maybe not any more ?

From the Installing Lazarus on Linux wiki page "So, install libx11-dev and libgtk2.0-dev, (rpm based systems, libX11-devel, gtk2-devel) that will bring gtk2 itself along if necessary. ".

Might help.

Davo
Downloaded Lazarus from its web.
It never mentioned needs other library to make it function correctly.

Will try to download and install these libraries.
Thanks for your feedback.

CM630

  • Hero Member
  • *****
  • Posts: 1313
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Lazarus on Mint - Palette didn't show
« Reply #3 on: March 22, 2025, 08:45:23 pm »
Hi guys,

I installed Mint 22.1 Cinamon and Lazarus 3.8. on a Virtual Machine (Oracle Virtual Box)

Via Online Package Manager, installed FPS Spreadsheet & IBX, after installation finished, there was a message, something like to restart IDE, but there was and errors.
...
If this info can somehow be useful:
Linux Mint 21.3 Cinnamon; Lazarus IDE v4.0RC1 here.
After installing FPSpreadsheet and IBX4Lazarus I get
"IBX is unable to locate of otherwise load the Firebird Library - have you remembered to install it?"
I have no idea what IBX and Firebird are.
FPSpreadsheet palette is visible. IBX4Lazarus is displayed as non-installed in the Online package manager.
Лазар 4,0RC2 32 bit (sometimes 64 bit); FPC3,2,2

incendio

  • Sr. Member
  • ****
  • Posts: 301
Re: Lazarus on Mint - Palette didn't show
« Reply #4 on: March 23, 2025, 12:12:25 am »
Hi guys,

I installed Mint 22.1 Cinamon and Lazarus 3.8. on a Virtual Machine (Oracle Virtual Box)

Via Online Package Manager, installed FPS Spreadsheet & IBX, after installation finished, there was a message, something like to restart IDE, but there was and errors.
...
If this info can somehow be useful:
Linux Mint 21.3 Cinnamon; Lazarus IDE v4.0RC1 here.
After installing FPSpreadsheet and IBX4Lazarus I get
"IBX is unable to locate of otherwise load the Firebird Library - have you remembered to install it?"
I have no idea what IBX and Firebird are.
FPSpreadsheet palette is visible. IBX4Lazarus is displayed as non-installed in the Online package manager.
I have installed firebird.
I think this is Lazarus problem.

TRon

  • Hero Member
  • *****
  • Posts: 4309
Re: Lazarus on Mint - Palette didn't show
« Reply #5 on: March 23, 2025, 12:56:52 am »
I have installed firebird.
Don't forget the dev package as well.
« Last Edit: March 23, 2025, 01:11:42 am by TRon »
Today is tomorrow's yesterday.

incendio

  • Sr. Member
  • ****
  • Posts: 301
Re: Lazarus on Mint - Palette didn't show
« Reply #6 on: March 23, 2025, 03:05:31 am »
I managed to fix this by run a command :

sudo apt-get install -f

I don't know why there are some dependency not installed from Mint 22.1.

But, I uninstalled Lazarus 3.8 because it was so laggy when open and download package via Online Package Manager.

To download a package with size +/- 6.4MB, estimated time is about 20 mins.

No problem with internet connection.

Beside, there is a warning that package might not compatible with ver 3.8.

TRon

  • Hero Member
  • *****
  • Posts: 4309
Re: Lazarus on Mint - Palette didn't show
« Reply #7 on: March 23, 2025, 07:22:34 am »
I don't know why there are some dependency not installed from Mint 22.1.
Depends on the package. Note that Lazarus simply install the components and not any dependency of (3th party) components. The end-user is responsible for those. Any package depending on 3th party libraries also requires the dev package variant on Debian based systems (should be common knowledge).

Quote
But, I uninstalled Lazarus 3.8 because it was so laggy when open and download package via Online Package Manager.

To download a package with size +/- 6.4MB, estimated time is about 20 mins.
Although I personally do not seem to suffer from that particular I have seen other people report a similar experience lately. Personally I sometimes experiences the issue not being able to access the forums at all.

I have taken the liberty to report your experience in the dedicated OPM thread here. (sometimes the forum software adds a session id which needs manual removal in order for the link to work).

Quote
No problem with internet connection.
In this day and age that tells/says nothing.

Quote
Beside, there is a warning that package might not compatible with ver 3.8.
That is a courtesy warning, 9 out of 10 times because untested. There are over a hundred packages available (OPM or otherwise) , over a thousand individual components/units and it is impossible to verify them all for each and every release.
« Last Edit: March 23, 2025, 07:36:33 am by TRon »
Today is tomorrow's yesterday.

dbannon

  • Hero Member
  • *****
  • Posts: 3311
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus on Mint - Palette didn't show
« Reply #8 on: March 23, 2025, 08:32:53 am »
I managed to fix this by run a command :

sudo apt-get install -f

The fact that -f did anything at all indicates you had broken packages. At some stage, perhaps during the initial Lazarus install, apt failed to completely install the necessary dependencies.. Maybe an interruption, honestly, no way I can tell. That possibly means that your Lazarus install did ask for the dependencies and apt tried to install them, you might need to ask what then went wrong ?  (Hint, not a lazarus issue, all any deb package can do is list its dependencies (which, apparently the Lazarus deb does) and rely on apt (which is running the install) to do what is necessary.)

Its likely there was an apt error message, sadly, we all tend not to watch for error messages ....

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018