Subject: Re: qt3-tools on OS X
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: John D. Baker <jdbaker@mylinuxisp.com>
List: tech-pkg
Date: 04/18/2005 12:14:24
On Mon, 18 Apr 2005, Manuel Bouyer wrote:

> > But the qt3-tools package has many unresolved references to the symbols
> > noted above.  I've been manually adding "-ldl" to the LIBS definition
> > in various package Makefiles (which appear to be generated by other
> > scripting) and restarting the build.
> >
> > It remains to be seen what other additions will need to be made to get
> > it all built on MacOS X 10.2.8.  It appears 10.3.x has a different(?) set
> > of issues.
>
> is there a ldd-equivalent on Darwin ? Just to see with which librairies
> my qt tools are linked.

I don't know, at the moment.  Probably have to poke around in the
Developer Tools documentation.

I finally completed building x11/qt3-tools.  The following Makefiles
all needed "-ldl" added to their LIBS definitions.

/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/tools/assistant/Makefile
/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/tools/qtconfig/Makefile
/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/tools/designer/app/Makefile
/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/tools/designer/uic/Makefile
/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/tools/linguist/qm2ts/Makefile
/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/tools/linguist/lrelease/Makefile
/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/tools/linguist/lupdate/Makefile
/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/tools/linguist/tutorial/tt1/Makefile
/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/tools/linguist/tutorial/tt2/Makefile
/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/tools/linguist/tutorial/tt3/Makefile
/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.4/tools/linguist/linguist/Makefile


Once that was done, cad/qcad/work/qcad-1.5.4/Makefile also needed "-ldl"
added to its LIBS definition.  Qcad then finished building, installed
and appears to run fine.  It launched, anyway.  I haven't tried actually
doing anything with it yet.

-- 
John D. Baker, KN5UKS                    NetBSD     Darwin/MacOS X
jdbaker(at)mylinuxisp(dot)com                 OpenBSD            FreeBSD
BSD -- It just sits there and _works_!