[Qt-interest] Library Dependencies on Solaris

Jake Colman colman at ppllc.com
Tue Sep 7 20:23:02 CEST 2010


>>>>> "TM" == Thiago Macieira <thiago at kde.org> writes:

   TM> Em Terça-feira 07 Setembro 2010, às 18:49:53, Jake Colman escreveu:
   >> How can I confirm what Qt is using for configure?  Something is causing
   >> me to pick up libiconv, etc, yet my command-line says no-iconv.  Also,
   >> /usr/sfw/lib contains the freetype library.  But shouldn't qt-freetype
   >> override that?

   TM> The configure script tells you what it found. Look at its output.

   TM> The script may also be broken. We don't test the configurations
   TM> where you disable these basic features. We only test Qt with all
   TM> the options enabled.

   TM> Your other option is to simply remove those dependencies from
   TM> your system (at least the headers and .so files).

The configure output confirms that it is NOT including support for
libiconv, libglib, etc.  

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
use Qt's supplied freetype.  BUT, 'ldd libQtGui.so' still shows
libiconv, etc!

Here is the ldd output:

libQtCore.so.4 =>	 /HOME1/colman/qt-4.6.3/lib/libQtCore.so.4
libpthread.so.1 =>	 /lib/libpthread.so.1
librt.so.1 =>	 /lib/librt.so.1
libSM.so.6 =>	 /usr/openwin/lib/libSM.so.6
libICE.so.6 =>	 /usr/openwin/lib/libICE.so.6
libXext.so.0 =>	 /usr/openwin/lib/libXext.so.0
libX11.so.4 =>	 /usr/openwin/lib/libX11.so.4
libresolv.so.2 =>	 /lib/libresolv.so.2
libsocket.so.1 =>	 /lib/libsocket.so.1
libnsl.so.1 =>	 /lib/libnsl.so.1
libm.so.2 =>	 /lib/libm.so.2
libdl.so.1 =>	 /lib/libdl.so.1
libgthread-2.0.so.0 =>	 /usr/local/lib/libgthread-2.0.so.0
libthread.so.1 =>	 /lib/libthread.so.1
libglib-2.0.so.0 =>	 /usr/local/lib/libglib-2.0.so.0
libiconv.so.2 =>	 /usr/local/lib/libiconv.so.2
libaio.so.1 =>	 /lib/libaio.so.1
libmd.so.1 =>	 /lib/libmd.so.1
libc.so.1 =>	 /lib/libc.so.1
libmp.so.2 =>	 /lib/libmp.so.2
libscf.so.1 =>	 /lib/libscf.so.1
libgcc_s.so.1 =>	 /usr/local/lib/libgcc_s.so.1
libdoor.so.1 =>	 /lib/libdoor.so.1
libuutil.so.1 =>	 /lib/libuutil.so.1
libgen.so.1 =>	 /lib/libgen.so.1
/platform/SUNW,Sun-Fire-V440/lib/libmd_psr.so.1
/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1

FWIW libQtCore.so has no unexpected dependencies so that it not the
problem.

Thanks.

...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