[Interest] Link error while building Qt/32 on Linux 64 bits

Thiago Macieira thiago.macieira at intel.com
Sun Aug 27 06:08:24 CEST 2017


On Saturday, 26 August 2017 18:25:16 PDT Christian Gagneraud wrote:
> /usr/bin/ld.gold: warning: skipping incompatible
> //usr/lib/x86_64-linux-gnu/libSM.so while searching for SM
> /usr/bin/ld.gold: error: cannot find -lSM
> /usr/bin/ld.gold: warning: skipping incompatible
> //usr/lib/x86_64-linux-gnu/libICE.so while searching for ICE
> /usr/bin/ld.gold: error: cannot find -lICE
> .obj/qxcbsessionmanager.o:qxcbsessionmanager.cpp:function
> QXcbSessionManager::~QXcbSessionManager(): error: undefined reference
> to 'SmcCloseConnection'

The undefined reference is caused by the libraries listed right before it not 
being found.

Please install the packages that contain libSM.so and libICE.so (32-bit 
versions).

If you were using OpenSUSE, I could tell you what the package names were.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list