Subject: qt3 and NAS
To: None <tech-pkg@NetBSD.org>
From: =?UTF-8?Q?C=C3=A9sar_Catri=C3=A1n?= C. <ccatrian@eml.cc>
List: tech-pkg
Date: 07/26/2005 14:57:19
I built qt3-libs with support for NAS.
Now I am building MyPasswordSafe, which is not supposed to use NAS, but I got
the following error building it:
libtool --mode=link c++ -Wl,-rpath-link,/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/qt3/lib -Wl,-R/usr/pkg/qt3/lib -L/usr/pkg/packages/Xft2-2.1.6nb1/lib -Wl,-R/usr/pkg/packages/Xft2-2.1.6nb1/lib -L/usr/pkg/packages/fontconfig-2.3.1nb1/lib -Wl,-R/usr/pkg/packages/fontconfig-2.3.1nb1/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/packages/expat-1.95.8nb2/lib -Wl,-R/usr/pkg/packages/expat-1.95.8nb2/lib -L/usr/pkg/packages/glu-6.2.1nb1/lib -Wl,-R/usr/pkg/packages/glu-6.2.1nb1/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/pkg/packages/jpeg-6bnb3/lib -Wl,-R/usr/pkg/packages/jpeg-6bnb3/lib -L/usr/pkg/packages/lcms-1.14/lib -Wl,-R/usr/pkg/packages/lcms-1.14/lib -L/usr/pkg/packages/png-1.2.8/lib -Wl,-R/usr/pkg/packages/png-1.2.8/lib -L/usr/pkg/packages/freetype2-2.1.9nb1/lib -Wl,-R/usr/pkg/packages/freetype2-2.1.9nb1/lib -L/usr/pkg/packages/Xrandr-1.0.2nb2/lib -Wl,-R/usr/pkg/packages/Xrandr-1.0.2nb2/lib -L/usr/pkg/packages/randrext-1.0nb1/lib -L/usr/pkg/packages/xcursor-1.1
.2/lib -Wl,-R/usr/pkg/packages/xcursor-1.1.2/lib -L/usr/pkg/packages/Xrender-0.8.4nb1/lib -Wl,-R/usr/pkg/packages/Xrender-0.8.4nb1/lib -L/usr/pkg/packages/Xfixes-2.0.1nb1/lib -Wl,-R/usr/pkg/packages/Xfixes-2.0.1nb1/lib -L/usr/pkg/packages/fixesext-2.0.1/lib -Wl,-R/usr/pkg/packages/fixesext-2.0.1/lib -L/usr/pkg/qt3/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/qt3/lib -o MyPasswordSafe .obj/main.o .obj/securedstring.o .obj/safe.o .obj/safeserializer.o .obj/serializers.o .obj/encryptedstring.o .obj/BlowFish.o .obj/Util.o .obj/sha1.o .obj/myutil.o .obj/startupdlg.o .obj/smartptr.o .obj/safelistview.o .obj/uuid.o .obj/xmlserializer.o .obj/plaintextlizer.o .obj/safedragobject.o .obj/mypasswordsafe.o .obj/pwordeditdlg.o .obj/passphrasedlg.o .obj/preferencesdlg.o .obj/aboutdlg.o .obj/manualdlg.o .obj/startupdlgbase.o .obj/newpassphrasedlg.o .obj/qmake_image_collection.o .obj/moc_safe.o .obj/moc_startupdlg.o .obj/moc_safelistview.o .obj/moc_safedragobject.o .obj/moc_mypasswordsafe.o .obj/
moc_pwordeditdlg.o .obj/moc_passphrasedlg.o .obj/moc_preferencesdlg.o .obj/moc_aboutdlg.o .obj/moc_manualdlg.o .obj/moc_startupdlgbase.o .obj/moc_newpassphrasedlg.o -L/usr/pkg/lib -L/usr/pkg/qt3/lib -L/usr/X11R6/lib uuid-1.0.0/.libs/libuuid.a -lqt-mt -lXext -lX11 -lm
mkdir .libs
c++ -Wl,-rpath-link -Wl,/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkg/packages/Xft2-2.1.6nb1/lib -Wl,-R/usr/pkg/packages/fontconfig-2.3.1nb1/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/packages/expat-1.95.8nb2/lib -Wl,-R/usr/pkg/packages/glu-6.2.1nb1/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/packages/jpeg-6bnb3/lib -Wl,-R/usr/pkg/packages/lcms-1.14/lib -Wl,-R/usr/pkg/packages/png-1.2.8/lib -Wl,-R/usr/pkg/packages/freetype2-2.1.9nb1/lib -Wl,-R/usr/pkg/packages/Xrandr-1.0.2nb2/lib -Wl,-R/usr/pkg/packages/xcursor-1.1.2/lib -Wl,-R/usr/pkg/packages/Xrender-0.8.4nb1/lib -Wl,-R/usr/pkg/packages/Xfixes-2.0.1nb1/lib -Wl,-R/usr/pkg/packages/fixesext-2.0.1/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/qt3/lib -o MyPasswordSafe .obj/main.o .obj/securedstring.o .obj/safe.o .obj/safeserializer.o .obj/serializers.o .obj/encryptedstring.o .obj/BlowFish.o .obj/Util.o .obj/sha1.o .obj/myutil.o .obj/startupdlg.o .obj/smartptr.o .obj/safelistview.o .obj/uuid.o .obj/xmlserializer.o .obj/plain
textlizer.o .obj/safedragobject.o .obj/mypasswordsafe.o .obj/pwordeditdlg.o .obj/passphrasedlg.o .obj/preferencesdlg.o .obj/aboutdlg.o .obj/manualdlg.o .obj/startupdlgbase.o .obj/newpassphrasedlg.o .obj/qmake_image_collection.o .obj/moc_safe.o .obj/moc_startupdlg.o .obj/moc_safelistview.o .obj/moc_safedragobject.o .obj/moc_mypasswordsafe.o .obj/moc_pwordeditdlg.o .obj/moc_passphrasedlg.o .obj/moc_preferencesdlg.o .obj/moc_aboutdlg.o .obj/moc_manualdlg.o .obj/moc_startupdlgbase.o .obj/moc_newpassphrasedlg.o -L/usr/pkg/lib -L/usr/pkg/qt3/lib -L/usr/pkg/packages/Xft2-2.1.6nb1/lib -L/usr/pkg/packages/fontconfig-2.3.1nb1/lib -L/usr/lib -L/usr/pkg/packages/expat-1.95.8nb2/lib -L/usr/pkg/packages/glu-6.2.1nb1/lib -L/usr/X11R6/lib -L/usr/pkg/packages/jpeg-6bnb3/lib -L/usr/pkg/packages/lcms-1.14/lib -L/usr/pkg/packages/png-1.2.8/lib -L/usr/pkg/packages/freetype2-2.1.9nb1/lib -L/usr/pkg/packages/Xrandr-1.0.2nb2/lib -L/usr/pkg/packages/randrext-1.0nb1/lib -L/usr/pkg/packages/xcursor-1
.1.2/lib -L/usr/pkg/packages/Xrender-0.8.4nb1/lib -L/usr/pkg/packages/Xfixes-2.0.1nb1/lib -L/usr/pkg/packages/fixesext-2.0.1/lib uuid-1.0.0/.libs/libuuid.a /usr/pkg/qt3/lib/libqt-mt.so -laudio -lXt /usr/pkg/packages/png-1.2.8/lib/libpng.so /usr/pkg/packages/MesaLib-6.2.1nb2/lib/libGL.so -lXmu /usr/pkg/packages/Xrandr-1.0.2nb2/lib/libXrandr.so /usr/pkg/packages/xcursor-1.1.2/lib/libXcursor.so /usr/pkg/packages/Xfixes-2.0.1nb1/lib/libXfixes.so -lXinerama /usr/pkg/packages/Xft2-2.1.6nb1/lib/libXft.so /usr/pkg/packages/Xrender-0.8.4nb1/lib/libXrender.so /usr/pkg/packages/fontconfig-2.3.1nb1/lib/libfontconfig.so /usr/pkg/packages/freetype2-2.1.9nb1/lib/libfreetype.so -lz /usr/pkg/packages/expat-1.95.8nb2/lib/libexpat.so -lICE -lSM -lXext -lX11 -lm -Wl,--rpath -Wl,/usr/pkg/qt3/lib -Wl,--rpath -Wl,/usr/pkg/packages/png-1.2.8/lib -Wl,--rpath -Wl,/usr/pkg/packages/MesaLib-6.2.1nb2/lib -Wl,--rpath -Wl,/usr/pkg/packages/Xrandr-1.0.2nb2/lib -Wl,--rpath -Wl,/usr/pkg/packages/xcursor-1.1.
2/lib -Wl,--rpath -Wl,/usr/pkg/packages/Xfixes-2.0.1nb1/lib -Wl,--rpath -Wl,/usr/pkg/packages/Xft2-2.1.6nb1/lib -Wl,--rpath -Wl,/usr/pkg/packages/Xrender-0.8.4nb1/lib -Wl,--rpath -Wl,/usr/pkg/packages/fontconfig-2.3.1nb1/lib -Wl,--rpath -Wl,/usr/pkg/packages/freetype2-2.1.9nb1/lib -Wl,--rpath -Wl,/usr/pkg/packages/expat-1.95.8nb2/lib -Wl,--rpath -Wl,/usr/pkg/qt3/lib -Wl,--rpath -Wl,/usr/pkg/packages/png-1.2.8/lib -Wl,--rpath -Wl,/usr/pkg/packages/MesaLib-6.2.1nb2/lib -Wl,--rpath -Wl,/usr/pkg/packages/Xrandr-1.0.2nb2/lib -Wl,--rpath -Wl,/usr/pkg/packages/xcursor-1.1.2/lib -Wl,--rpath -Wl,/usr/pkg/packages/Xfixes-2.0.1nb1/lib -Wl,--rpath -Wl,/usr/pkg/packages/Xft2-2.1.6nb1/lib -Wl,--rpath -Wl,/usr/pkg/packages/Xrender-0.8.4nb1/lib -Wl,--rpath -Wl,/usr/pkg/packages/fontconfig-2.3.1nb1/lib -Wl,--rpath -Wl,/usr/pkg/packages/freetype2-2.1.9nb1/lib -Wl,--rpath -Wl,/usr/pkg/packages/expat-1.95.8nb2/lib
ld: cannot find -laudio
I don't know how libtool works, but it pushes the -laudio arg to the build, without
being especified.
Does this means that every qt3 application, NAS adapted or not, has to be built in
this way?
I am starting to familiarize myself with qt apps, I would like to know if the -laudio
flag can be suppresed, or any help available.
Thanks in advance
César Catrián C.