[Qt-interest] Library Dependencies on Solaris
Jake Colman
colman at ppllc.com
Tue Sep 7 23:29:15 CEST 2010
>>>>> "TM" == Thiago Macieira <thiago at kde.org> writes:
TM> On Tuesday 7. September 2010 20.23.02 Jake Colman wrote:
>> I edited .../mkspecs/solaris-cc/qmake.conf to undefine
>> QMAKE_INCDIR and QMAKE_LIBDIR since they contained references to
>> /usr/sfw. As a result of this change, and by specifying
>> qt-freetype (which, incidentally, is not listed in the help output
>> from configure) I have forced the built to
TM> Ah, right. I didn't notice that it's only from QWS (Embedded
TM> Linux), not the X11 port.
TM> For X11, Qt uses freetype if you have it.
But why does it insist on using freetype from /usr/sfw even if I
configure with "-no-fontconfig -no-freetype qt-freetype"? That sounds
like a bug, not a feature.
>> use Qt's supplied freetype. BUT, 'ldd libQtGui.so' still shows
>> libiconv, etc!
TM> Maybe it's an indirect dependency.
>> FWIW libQtCore.so has no unexpected dependencies so that it not
>> the problem.
TM> Which proves it's an indirect dependency. There's nothing in
TM> QtGui that links to libiconv, but there is in QtCore. So it must
TM> be coming from a library that QtGui does link to.
I would have thought so too but here is the ldd from libQtCore:
libpthread.so.1 => /lib/libpthread.so.1
librt.so.1 => /lib/librt.so.1
libm.so.2 => /lib/libm.so.2
libdl.so.1 => /lib/libdl.so.1
libaio.so.1 => /lib/libaio.so.1
libmd.so.1 => /lib/libmd.so.1
libc.so.1 => /lib/libc.so.1
/platform/SUNW,Sun-Fire-V440/lib/libmd_psr.so.1
/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1
It cannot be that one of these files in /lib or /platform is pulling in
libiconv!
Any suggestions?
...Jake
--
Jake Colman | Director, Software Development
Principia Partners LLC
101 West Elm Street | Conshohocken | PA 19428 | +1 (610) 755 9770
t: +1 (610) 755 9786 | c: +1 (610) 348 2788 | f: +1 (201) 221 8929
e: colman at ppllc.com | w: www.principiapartners.com
Credit technology innovation awards winner 2008 and 2009
More information about the Qt-interest-old
mailing list