Compiling Lazarus on Netbsd 10.0 lazarus / 36-Other ---------------------------------------------------------------------- gmawby · 2024-09-05 01:42 Hello, when I compile Lazarus on NetBSD 10 gmake stops when when linking against X11 error message is  /usr/bin/ld: cannot find -lX11 The gmake help says that you can add OPT=' something' to pass something to the compiler.  I used gmake OPT='-Fl/usr/X11R7/lib -k-lX11' but no luck. Am I using the correct switches to influence the linker search paths  and if so can anyone suggest what the problem is? Glenn, Australia. ---------------------------------------------------------------------- gmawby · 2024-09-05 02:52 Fixed : had to pass  gmake bigide  OPT='-Fl-L/usr/X11R7/lib -k-L/usr/X11R7/lib -k-lX11' Glenn.