[Qt-interest] Link error when compile the application in Solaris
paulf at free.fr
paulf at free.fr
Thu Mar 17 09:21:54 CET 2011
Hi
Not that it matters too much, but which Solaris platform, which compiler?
Try using ldd -s to see transitive shared library dependencies.
A+
Paul
----- Original Message -----
From: "lvbing lvbing" <lvbing1981 at gmail.com>
To: qt-interest at trolltech.com, qt-china at googlegroups.com
Sent: Thursday, 17 March, 2011 02:59:48 GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: [Qt-interest] Link error when compile the application in Solaris
platform:Solaris 10 + Qt4.5.3
The link error information is:
std::ostream & std::ostream::operator<<(short) /users/ems/pcs9700/deployment/bin/plat/libsmcfgapi.so
ld:Fatal error:Command failed for target /users/ems/pcs9700/deployment/bin/plat/update_schema'
I compile those code in WinXp or Win7 or Linux all are OK! but just in Solaris,failed!
and If I add this to my pro:
LIBS += -lsmcfgapi
it can be compiled success!
My puzzle is In my code I did not call any API from smcfgapi,just some other library may call the smcfgapi.so.
so,Why just the only Solaris,need to add the smcfgapi, but other operater not need!!!
thanks!
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list