ld errors (Linux)
Posted: Thu Dec 25, 2025 8:11 pm
Hello,
I'm trying to learn PureBasic (previously wrote things in QuickBasic, tcl/tk and RealBasic/Xojo).
I'm having compile problems: I downloaded an "Ubuntu" version (the Debian 12 version is 32bit and has dependancy problems), but I'm running MX Linux (Debian 12 based). Don't know if this is the reason, but when I try to compile I get:
/usr/bin/ld: cannot find -lX11: No such file or directory
/usr/bin/ld: cannot find -lssl: No such file or directory
/usr/bin/ld: cannot find -lcrypto: No such file or directory
collect2: error: ld returned 1 exit status
Searched for such error but found nothing, lx11, lssl don't return anything i can use.
Some hints were in the direction of X11-dev, but this package is installed.
Any suggestion?
I'm trying to learn PureBasic (previously wrote things in QuickBasic, tcl/tk and RealBasic/Xojo).
I'm having compile problems: I downloaded an "Ubuntu" version (the Debian 12 version is 32bit and has dependancy problems), but I'm running MX Linux (Debian 12 based). Don't know if this is the reason, but when I try to compile I get:
/usr/bin/ld: cannot find -lX11: No such file or directory
/usr/bin/ld: cannot find -lssl: No such file or directory
/usr/bin/ld: cannot find -lcrypto: No such file or directory
collect2: error: ld returned 1 exit status
Searched for such error but found nothing, lx11, lssl don't return anything i can use.
Some hints were in the direction of X11-dev, but this package is installed.
Any suggestion?