Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2003 12:29:38 +0100
From:      Jez Hancock <jez.hancock@munk.nu>
To:        "Philip M. Gollucci" <philip@p6m7g8.com>
Cc:        FreeBSD questions List <freebsd-questions@freebsd.org>
Subject:   Re: ports -- compile error: /usr/local/lib/libkdesu.so: undefined reference to `unlockpt'
Message-ID:  <20030509112938.GC33359@users.munk.nu>
In-Reply-To: <200305090141.37665.philip@p6m7g8.com>
References:  <200305090141.37665.philip@p6m7g8.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030509112938.GC33359>