From owner-freebsd-ports-bugs Thu Feb 6 23:20:14 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B7E937B401 for ; Thu, 6 Feb 2003 23:20:10 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 533C643FBF for ; Thu, 6 Feb 2003 23:20:09 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h177K9NS088269 for ; Thu, 6 Feb 2003 23:20:09 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h177K9Xh088268; Thu, 6 Feb 2003 23:20:09 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A5B637B401; Thu, 6 Feb 2003 23:18:05 -0800 (PST) Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id E692A43F75; Thu, 6 Feb 2003 23:18:04 -0800 (PST) (envelope-from edwin@mavetju.org) Received: from k7.mavetju (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 742AC2B9A2; Fri, 7 Feb 2003 08:17:57 +0100 (CET) Received: by k7.mavetju (Postfix, from userid 1001) id 072746A712B; Fri, 7 Feb 2003 18:17:53 +1100 (EST) Message-Id: <20030207071753.072746A712B@k7.mavetju> Date: Fri, 7 Feb 2003 18:17:53 +1100 (EST) From: Edwin Groothuis Reply-To: Edwin Groothuis To: FreeBSD-gnats-submit@FreeBSD.org Cc: kde@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/48030: x11-toolkits/qt31 isn't LD_LIBRARY_PATH friendly Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 48030 >Category: ports >Synopsis: x11-toolkits/qt31 isn't LD_LIBRARY_PATH friendly >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 06 23:20:08 PST 2003 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 4.5-RELEASE i386 >Organization: - >Environment: System: FreeBSD k7.mavetju 4.5-RELEASE FreeBSD 4.5-RELEASE #4: Sat Sep 14 10:41:50 EST 2002 edwin@k7.mavetju:/usr/src/sys/compile/k7 i386 >Description: Trying to compile x11-toolkits/qt31 on a machine which doesn't have LOCALBASE pointing to /usr/local fails and LD_LIBRARY_PATH is pointing to the right directories: [~/ports-5/x11-toolkits/qt31] edwin@ref5>echo $LD_LIBRARY_PATH /home/edwin/local-5/lib:/home/edwin/X11R6-5/lib [~/ports-5/x11-toolkits/qt31] edwin@ref5>make ===> Building for qt-3.1.1_2 cd qmake && gmake [...] gmake[3]: Entering directory `/local0/scratch/edwin/ports/x11-toolkits/qt31/work/qt-x11-free-3.1.1/tools/designer/designer' /local0/scratch/edwin/ports/x11-toolkits/qt31/work/qt-x11-free-3.1.1/bin/uic -L /local0/scratch/edwin/ports/x11-toolkits/qt31/work/qt-x11-free-3.1.1/plugins newform.ui -o newform.h /usr/libexec/ld-elf.so.1: Shared object "liblcms.so.1" not found When printing $LD_LIBRARY_PATH before this command is execute, it suddenly pointing to /local0/scratch/edwin/ports/x11-toolkits/qt31/work/qt-x11-free-3.1.1/lib only. >How-To-Repeat: See above >Fix: RCS file: /home/ncvs/ports/x11-toolkits/qt31/Makefile,v retrieving revision 1.129 diff -u -r1.129 Makefile --- Makefile 31 Jan 2003 22:55:56 -0000 1.129 +++ Makefile 7 Feb 2003 07:16:46 -0000 @@ -63,7 +63,7 @@ CONFIGURE_ENV= ${ECHO} yes | QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH MAKE_ENV?= QTDIR=${WRKSRC} \ - LD_LIBRARY_PATH=${WRKSRC}/lib \ + LD_LIBRARY_PATH=${WRKSRC}/lib:${LD_LIBRARY_PATH} \ PATH=${WRKSRC}/bin:$$PATH ALL_TARGET= sub-tools >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message