Subject: Compile kde problem!
To: None <netbsd-help@netbsd.org>
From: Diego Linke - GAMK <linke@calnet.com.br>
List: tech-pkg
Date: 09/03/2003 09:56:16
I have an big problem!
See:
c++ -Wl,-R/usr/X11R6/qt3/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -fno-exceptions -o ../../../bin/uic .obj/release-shared-mt/main.o .obj/release-shared-mt/uic.o .obj/release-shared-mt/form.o .obj/release-shared-mt/object.o .obj/release-shared-mt/subclassing.o .obj/release-shared-mt/embed.o .obj/release-shared-mt/widgetdatabase.o .obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o -L/usr/pkgsrc/x11/qt3-tools/work/.buildlink/lib -L/usr/pkgsrc/x11/qt3-tools/work/.buildlink-x11/lib -L/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.1.2/lib -L/usr/pkgsrc/x11/qt3-tools/work/.buildlink-x11/qt3/lib -lqt-mt /usr/pkg/lib/libpng.so -L/usr/pkg/lib /usr/lib/libz.so /usr/X11R6/lib/libGLU.so /usr/X11R6/lib/libGL.so -lXmu -lXrender -lXft /usr/pkg/lib/libfreetype.so -lz -lXext -lX11 -lm -lICE -lSM /usr/pkg/lib/libpthread.so -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/X11R6/lib -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/X11R6/lib
ld: cannot find -lqt-mt
gmake[3]: *** [../../../bin/uic] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.1.2/tools/designer/uic'
gmake[2]: *** [sub-uic] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.1.2/tools/designer'
gmake[1]: *** [sub-designer] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.1.2/tools'
gmake: *** [sub-tools] Error 2
*** Error code 2
The problem is "ld: cannot find -lqt-mt", but i have this lib.
See below:
work# pkg_info | grep qt3
qt3-libs-3.1.2nb2 C++ X GUI toolkit
work# pkg_info -L qt3-libs-3.1.2nb2 | grep qt-mt
/usr/pkg/qt3/lib/libqt-mt.a
/usr/pkg/qt3/lib/libqt-mt.la
/usr/pkg/qt3/lib/libqt-mt.so
/usr/pkg/qt3/lib/libqt-mt.so.3
/usr/pkg/qt3/lib/libqt-mt.so.3.1
work# ls -l /usr/pkg/qt3/lib/libqt-mt*
-rw-r--r-- 1 root wheel 9625212 Sep 3 09:39 /usr/pkg/qt3/lib/libqt-mt.a
-r--r--r-- 1 root wheel 984 Sep 3 09:39 /usr/pkg/qt3/lib/libqt-mt.la
lrwxr-xr-x 1 root wheel 15 Sep 3 09:39 /usr/pkg/qt3/lib/libqt-mt.so@ -> libqt-mt.so.3.1
lrwxr-xr-x 1 root wheel 15 Sep 3 09:39 /usr/pkg/qt3/lib/libqt-mt.so.3@ -> libqt-mt.so.3.1
-r--r--r-- 1 root wheel 7391907 Sep 3 09:39 /usr/pkg/qt3/lib/libqt-mt.so.3.1
work#
I try, create an simbolic link /usr/X11R6/qt3 -> /usr/pkg/qt3 but not work!!!!
Somebody habe an idea ?
Thanks
--
[ Diego Linke - GAMK ]
System/Network/Security Administrator
E-Mail/Site: gamk@gamk.com.br - http://www.gamk.com.br
Public Key: http://www.gamk.com.br/gamk.asc
Phone Number: (+5541) 9967-3464