[solved] OpenMandriva libs not found

Linux specific questions.
Post Reply
SmartDuck
Posts: 4
Joined: Oct 03, 2015 19:00
Location: the netherlands

[solved] OpenMandriva libs not found

Post by SmartDuck »

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
Last edited by SmartDuck on Jul 05, 2025 14:16, edited 1 time in total.
Imortis
Moderator
Posts: 1990
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: OpenMandriva libs not found

Post by Imortis »

Are you trying to compile 32bit apps or 64bit? Because you have the 64bit versions listed there.
SmartDuck
Posts: 4
Joined: Oct 03, 2015 19:00
Location: the netherlands

Re: OpenMandriva libs not found

Post by SmartDuck »

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.
SmartDuck
Posts: 4
Joined: Oct 03, 2015 19:00
Location: the netherlands

Re: OpenMandriva libs not found

Post by SmartDuck »

It is working, problem solved :D
First tried to compile my code in Konsole, worked.
Restarted Geany and worked there too.
Post Reply