From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 09:00:58 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 73E0F16A4BF for ; Mon, 6 Oct 2003 09:00:58 -0700 (PDT) Received: from postal.netaxs.com (postal.netaxs.com [207.8.186.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 011C643FE9 for ; Mon, 6 Oct 2003 09:00:54 -0700 (PDT) (envelope-from soneill@netaxs.com) Received: from unix4.netaxs.com (mail@unix4.netaxs.com [207.8.186.6]) h96G0qjc013570 for ; Mon, 6 Oct 2003 12:00:52 -0400 (EDT) Received: (from soneill@localhost) by unix4.netaxs.com (8.8.7/8.8.4) id MAA17210; Mon, 6 Oct 2003 12:00:50 -0400 (EDT) Date: Mon, 6 Oct 2003 12:00:50 -0400 (EDT) From: soneill To: freebsd-questions@freebsd.org In-Reply-To: <44vfr34fq8.fsf@be-well.ilk.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: Problem with libtcl8.3 on FBSD 5.1 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: Mon, 06 Oct 2003 16:00:58 -0000 On 5 Oct 2003, Lowell Gilbert wrote: > soneill writes: > > > On 4 Oct 2003, Lowell Gilbert wrote: > > > > > soneill writes: > > > > > > > I've recently installed FreeBSD 5.1 on my Athlon-based machine, and most > > > > everything seems to be working ok. However, I have a problem trying to run > > > > any s/w that uses the Tcl library libtcl8.3.so.1. Whenver I run such a > > > > program, including wish8.3, tkdesk, tkman and others, I get the following > > > > error message: > > > > > > > > /usr/libexec/ld-elf.so.1: /usr/local/lib/libtcl83.so.1: Undefined \ > > > > symbol "__xuname" > > > > > > > > I have no idea why I would have such an undefined symbol in an officially > > > > ported FBSD package. Can anyone give me some insight into this problem, and > > > > a possible solution? TIA for any help you can give me. > > > > > > Best guess would be that you installed from packages rather than > > > ports, and the packages were in some way mismatched. Installing > > > software from ports avoids this risk, but with packages you should be > > > able to get them all from one place and have it work. > > > > > > > I thought that might be the problem, too, so I uninstalled the package, then > > built the port of tcl8.3. It didn't make any difference; the libtcl8.3 > > library still had the undefined symbol. > > I would have expected that you would need to rebuild the libtcl port... It's automatically built as part of building tcl8.3. That's one of the things that make this so puzzling. > > > There's something odder happening here; a check inside the libraries for > > tcl8.0, 8.2, and 8.4 all show that "__xuname" is a symbol in all of them. > > Since it doesn't seem to be defined anywhere, I'm stumped as to how to > > proceed to get around this problem. Is anyone else having this problem > > running tcl/tk programs of _any_ recent vintage? > > For what it's worth, I'm not. One thing I'm wondering; what version of the XFree86 libraries do you have insalled? Mine are version 3.0.5. Are yours 3.0.6, by any chance? It may be that my libraries are mismatched to what tcl8.3 wants to see. Steve O'Neill