Recent

Author Topic: [Solved] Clean Ubuntu 22: what OS packages are needed?  (Read 583 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2676
    • UVviewsoft
[Solved] Clean Ubuntu 22: what OS packages are needed?
« on: September 25, 2024, 07:39:55 am »
I found this wiki page
https://wiki.freepascal.org/Installing_Lazarus_on_Linux#Required_Linux_packages

and installed packages mentioned there:
Quote
According to forum member "MarkMLl", required Debian packages for Lazarus are:

    build-essential
    gdb (see below)
    libgpm-dev (formerly libgpmg1-dev)
    libncurses5-dev
    libncursesw5-dev

I got many missing libs in IDE on linking. Found more libs are needed. Wrote it to the wiki:

Quote
According to forum member "AlexTP", required packages on Ubuntu for GTK2 are:

    libx11-dev
    libcairo2-dev
    libgdk-pixbuf-2.0-dev
    libpango1.0-dev
    libatk1.0-dev

Still i get 2 errors from linker:

Quote
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

What OS packages are these???
« Last Edit: September 25, 2024, 07:58:53 am by AlexTP »


AlexTP

  • Hero Member
  • *****
  • Posts: 2676
    • UVviewsoft
Re: Clear Ubuntu 22: what OS packages are needed?
« Reply #2 on: September 25, 2024, 07:58:37 am »
Problem solved! Thanks.

 

TinyPortal © 2005-2018