cannot find -lX11

Roy Schofield roy at
Mon Mar 16 03:13:33 PDT 2015

Grateful for some help and/or assistance with X11 configuration on 
LinuxMint 17 Cinnamon.

I have just upgraded from Linuxmint 16 Petra to LinuxMint 17 Cinnamon 
and have a problem compiling/linking  a program with Marinas-ide which 
is a dbase/clipper compiler. All worked fine with Linuxmint 16 but now 
get the following error when compiling/linking an existing source 
program. The error is as follows:

==> Linking to make /home/roy/Marinas_Progs/Invoice_print ...

/usr/bin/gcc -o/home/roy/Marinas_Progs/Invoice_print 
-L/home/roy/marinas-ide/gui/lib -L/home/roy/marinas-ide/harbour/lib 
-L/home/roy/marinas-ide/qt/lib -L/usr/lib 
-Wl,--start-group -lmarinas-gui -lxhb -lhbct -lsupc++ -lhbextern 
-lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd 
-lgttrm -lgtxwc -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx 
-lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon 
-lm -ldl -lrt -lhbmzip -lminizip -lhbziparc -lhbzlib -lhbtip -lhbxdiff 
-lxdiff -lhbpcre -lhbzebra -lhbmxml -lmxml -lhbcairo -lhbcurl 
/home/roy/marinas-ide/ -lhbmysql 
/home/roy/marinas-ide/ -lhbssl -lhbqtcore -lhbqtgui 
-lhbqtnetwork -lhbqtwebkit -Wl,--end-group -lQt5Core -lQt5Gui 
-lQt5Network -lQt5WebKit -lQt5XmlPatterns -lQt5PrintSupport 
-lQt5WebKitWidgets -lQt5Widgets -lX11 -lX11

/usr/bin/ld: cannot find -lX11

Kind regards

Working to achieve the long term economic sustainability of Caistor in Lincolnshire by preserving, restoring and enhancing the historical, architectural and cultural heritage of the town. For further information go to

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the xorg mailing list