cannot find -lX11

Sérgio Basto sergio at serjux.com
Mon Mar 16 19:02:44 PDT 2015


On Seg, 2015-03-16 at 10:13 +0000, Roy Schofield wrote:
> Hi,
> 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 /home/roy/Marinas_Progs/__mih_obj_m3gh/Invoice_print.o /home/roy/Marinas_Progs/__mih_obj_m3gh/Invoice_print_mg_hbmk2_cpp_functions_.o -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/libcurl-gnutls.so.4 /home/roy/marinas-ide/libldap_r-2.4.so.2.5.6 /home/roy/marinas-ide/liblber-2.4.so.2.5.6 /home/roy/marinas-ide/libsasl2.so.2.0.23 -lhbmysql /home/roy/marinas-ide/libmysqlclient.so.16 -lhbssl -lhbqtcore -lhbqtgui -lhbqtnetwork -lhbqtwebkit -Wl,--end-group -lQt5Core -lQt5Gui -lQt5Network -lQt5WebKit -lQt5XmlPatterns -lQt5PrintSupport -lQt5WebKitWidgets -lQt5Widgets -lX11 -lX11 
> 
> /usr/bin/ld: cannot find -lX11 

Normally it means that you need install one devel package like :
libX11-devel
> 
> 
> Kind regards
> Roy
> 
> 
> 
> -- 
> 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 http://www.caistor.net
> _______________________________________________
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s

-- 
Sérgio M. B.



More information about the xorg mailing list