On Saturday, 26 August 2017 22:42:49 PDT Christian Gagneraud wrote:
> On 27 August 2017 at 16:08, Thiago Macieira <thiago.macie...@intel.com> 
wrote:
> > 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.
> 
> Not sure to get what you mean.
> 
> Given this:
> -lxcb-xinerama -L/home/krys/Projects/qt5/qtbase/lib
> -lQt5ServiceSupport -lQt5ThemeSupport -lQt5EventDispatcherSupport
> -lQt5FontDatabaseSupport -lfontconfig -lfreetype
> -lQt5LinuxAccessibilitySupport -lQt5AccessibilitySupport -lGL -lQt5Gui
> -lQt5DBus -lQt5Core -lpthread -lX11 -lX11-xcb -lXi -lSM -lICE
> -lxcb-xkb -lxcb-render-util -lxcb-render -lxcb -lxcb-shm -lxcb-sync
> -lxcb-xfixes -lxcb-randr -lxcb-image -lxcb-keysyms -lxcb-icccm
> -lxcb-shape -lGL
> 
> Should I focus at the libs on the right or on the left of "-lSM -lICE"?
> My understanding of ld tells me to look on the right (reverse dependency
> order).

The left, centre and right of -lSM -lICE. You need ALL of them.

> I think I have installed all these libraries. 

You have not:. You showed you have libSM.so.6. You need libSM.so.

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

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to