From owner-freebsd-current Mon Jan 20 14:16:30 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5098337B401 for ; Mon, 20 Jan 2003 14:16:28 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09ABB43EB2 for ; Mon, 20 Jan 2003 14:16:28 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id EBE4F2A89E; Mon, 20 Jan 2003 14:16:23 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: cscotts@mindspring.com Cc: current@FreeBSD.org Subject: Re: Undefined symbol "__xuname" In-Reply-To: <200301201621.37003.cscotts@mindspring.com> Date: Mon, 20 Jan 2003 14:16:23 -0800 From: Peter Wemm Message-Id: <20030120221623.EBE4F2A89E@canning.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Scott Sipe wrote: > Running current updated today. I tried running Fetchmailconf (for the fi= > rst=20 > time) and this is the message I get: > > Traceback (most recent call last): > File "/usr/local/libexec/fetchmailconf.bin", line 9, in ? > from Tkinter import * > File "/usr/local/lib/python2.2/lib-tk/Tkinter.py", line 35, in ? > import _tkinter # If this fails your Python may not be configured for= > Tk > ImportError: /usr/local/lib/libtcl83.so.1: Undefined symbol "__xuname" > > I've rebuit fetchmail, python, Tk, Tcl, and py-tkinter, and still get thi= > s. =20 > Apologies if this isn't a current issue. > > Any ideas? First of all, check this: peter@overcee[2:06pm]~-104> objdump --dynamic-syms /usr/lib/libc.so.5 | grep __xuname 0005d4a0 g DF .text 00000361 __xuname Secondly, I'll bet you have got a 4.x binary involved in there somewhere, and whatever is generating this message is happening because the main executable is being linked against libc.so.4 (which doesn't have __xuname). Its a bit hard to see what is actually being executed from your traceback, but I'm guessing that it is /usr/local/libexec/fetchmailconf.bin. If so, that is a python script, and it runs "python" from your $PATH. Try 'which python' or 'type python' to find out. Assuming it is /usr/local/bin/python, try: ldd /usr/local/bin/python and see if it is using libc.so.4 or libc.so.5. If it is using libc.so.4, then that is your problem.. > > thanks, > scott > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message