Hi,
I using OpenMandriva 6.0 ROCK, installed freeBasic via the repository and installed the missing libs:
$ sudo dnf install gcc libncurses-devel libxpm-devel libxrandr-devel libxrender-devel libxext-devel glibc6-devel
glibc6-devel is needed to find cert1.o etc.
I still get the messages:
ld: error: unable to find library -lX11
For example X11 is on the system:
$ sudo find /usr/ -name *X11.*
/usr/lib64/libX11.so.6
/usr/lib64/libX11.so
/usr/lib64/libX11.so.6.4.0
/usr/share/darktable/styles/darktable_Samsung_NX11.dtstyle
/usr/share/doc/freebasic/html/ExtLibX11.html
/usr/share/doc/libX11/libX11/libX11.xml
/usr/share/doc/libX11/libX11/libX11.html.db
/usr/share/doc/libX11/libX11/libX11.pdf.db
/usr/share/doc/libX11/libX11/libX11.html
/usr/lib/libX11.so.6
/usr/lib/libX11.so
/usr/lib/libX11.so.6.4.0
The same for:
ld: error: unable to find library -lXext
ld: error: unable to find library -lXpm
ld: error: unable to find library -lXrandr
ld: error: unable to find library -lXrender
ld: error: unable to find library -lpthread
ld: error: unable to find library -ltinfo
ld: error: unable to find library -lm
ld: error: unable to find library -ldl
ld: error: unable to find library -lc
Do I mis the libs or is het not linked or in the path?
Regards,
Marcel
[solved] OpenMandriva libs not found
[solved] OpenMandriva libs not found
Last edited by SmartDuck on Jul 05, 2025 14:16, edited 1 time in total.
Re: OpenMandriva libs not found
Are you trying to compile 32bit apps or 64bit? Because you have the 64bit versions listed there.
Re: OpenMandriva libs not found
I' m trying to compile 64bit apps using Geany.
The FreeBasic version I use comes from the OpenMandriva repository.
It's the 64bit 1.10.1 version.
The FreeBasic version I use comes from the OpenMandriva repository.
It's the 64bit 1.10.1 version.
Re: OpenMandriva libs not found
It is working, problem solved
First tried to compile my code in Konsole, worked.
Restarted Geany and worked there too.

First tried to compile my code in Konsole, worked.
Restarted Geany and worked there too.