Subject: Re: /usr/pkg/qt3/lib/ doesn't find X libraries
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 05/13/2004 09:32:40
> >          -lXmu.6 => not found
> >          -lXinerama.1 => not found
> >          -lXft.2 => /usr/pkg/lib/
> >          -lXext.6 => not found
> >          -lX11.6 => not found
> >          -lICE.6 => not found
> >          -lSM.6 => not found

> > /usr/pkg/qt3/lib/, /usr/pkg/qt3/lib/, and
> > /usr/pkg/qt3/lib/ have same problem of not having the rpaths
> > set for the X libraries.
> As you showed, it's a problem in the qt3-libs and qt3-tools packages;
> perhaps they haven't been built on xpkgwedged systems before, so nobody
> noticed?
> They should be bl3ed and the problem fixed...

It had been over a month since I buildlink3'd my qt3-libs packages. I
forgot. I am attempting to use buildlink3 for qt3-libs.

It works for Linux with LOCALBASE as /usr so it should work on my standard
NetBSD box using /usr/pkg.

On Thu, 13 May 2004, Vincent wrote:

> That's looks like what I got. Try to reinstall or update x11-links and
> then recompile ?

I have removed x11-links. I am using xpgkwedge. I am rebuilding qt3-libs
again to see if it works (again using USE_BUILDLINK3=yes).

My patch is below (ignore the unrelated USE_PAX which I need):

Index: x11/qt3-libs/Makefile
RCS file: /cvsroot/pkgsrc/x11/qt3-libs/Makefile,v
retrieving revision 1.24
diff -b -u -r1.24 Makefile
--- x11/qt3-libs/Makefile	16 Apr 2004 14:30:44 -0000	1.24
+++ x11/qt3-libs/Makefile	13 May 2004 16:25:12 -0000
@@ -8,7 +8,9 @@
 PKGNAME=		qt3-libs-${QTVERSION}
 COMMENT=		C++ X GUI toolkit

 GCC_REQD+=		2.95.3

 ALL_TARGET=		sub-plugins
@@ -34,16 +36,16 @@
 	${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/plugins/imageformats/ ${QTPREFIX}/plugins/imageformats
 	${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/plugins/imageformats/ ${QTPREFIX}/plugins/imageformats

-.include "../../devel/zlib/"
-.include "../../fonts/Xft2/"
-.include "../../graphics/jpeg/"
-.include "../../graphics/MesaLib/"
-.include "../../graphics/glu/"
-.include "../../graphics/mng/"
-.include "../../graphics/png/"
-.include "../../graphics/freetype2/"
-.include "../../x11/Xrandr/"
-.include "../../x11/xcursor/"
+.include "../../devel/zlib/"
+.include "../../fonts/Xft2/"
+.include "../../graphics/jpeg/"
+.include "../../graphics/MesaLib/"
+.include "../../graphics/glu/"
+.include "../../graphics/mng/"
+.include "../../graphics/png/"
+.include "../../graphics/freetype2/"
+.include "../../x11/Xrandr/"
+.include "../../x11/xcursor/"

-.include "../../mk/"
+.include "../../mk/"
 .include "../../mk/"

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links