From owner-freebsd-questions@FreeBSD.ORG Fri May 9 04:29:40 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C68937B401 for ; Fri, 9 May 2003 04:29:40 -0700 (PDT) Received: from mail.munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BB2F43F75 for ; Fri, 9 May 2003 04:29:39 -0700 (PDT) (envelope-from munk@mail.munk.nu) Received: from munk by mail.munk.nu with local (Exim 4.14) id 19E64I-0008ja-22; Fri, 09 May 2003 12:29:38 +0100 Date: Fri, 9 May 2003 12:29:38 +0100 From: Jez Hancock To: "Philip M. Gollucci" Message-ID: <20030509112938.GC33359@users.munk.nu> Mail-Followup-To: "Philip M. Gollucci" , FreeBSD questions List References: <200305090141.37665.philip@p6m7g8.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200305090141.37665.philip@p6m7g8.com> User-Agent: Mutt/1.4.1i Sender: User Munk cc: FreeBSD questions List Subject: Re: ports -- compile error: /usr/local/lib/libkdesu.so: undefined reference to `unlockpt' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2003 11:29:40 -0000 On Fri, May 09, 2003 at 01:41:37AM -0500, Philip M. Gollucci wrote: > I've seen this on /usr/ports/java/jdk14, /usr/ports/deskutils/kdepim3, > /usr/ports/graphics/gimp-devel > > /bin/sh ../../libtool --silent --mode=link --tag=CXX c++ -Wnon-virtual-dtor > o-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes - > ite-strings -DNDEBUG -DNO_DEBUG -O2 -O -pipe -mcpu=pentiumpro -fno-exceptions > no-check-new -o kabc2mutt -L/usr/X11R6/lib -pthread -L/usr/local/lib -L/u > local/lib -R /usr/local/lib -R /usr/X11R6/lib -R /usr/X11R6/lib -R /usr/local > b main.o -lkabc -lkdecore -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/l > -ljpeg -L/usr/X11R6/lib > /usr/local/lib/libkdesu.so: undefined reference to `unlockpt' > /usr/local/lib/libkdesu.so: undefined reference to `grantpt' > gmake[3]: *** [kabc2mutt] Error 1 Long shot but... You might want to check that the ports make system isnt' isn't using a different version of libkdesu.so than it thinks it is - this can happen if you somehow manage to get a version of the lib installed in a location that overrides the lib in /usr/local/lib/. Try this: ldconfig -r | grep libkde and see if there are any other refs to it other than the one in /usr/local/lib. Regards, Jez