From owner-freebsd-questions Sun Jan 26 17:09:16 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA08960 for questions-outgoing; Sun, 26 Jan 1997 17:09:16 -0800 (PST) Received: from battra.telebase.com (mail@battra.telebase.com [192.132.57.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA08953 for ; Sun, 26 Jan 1997 17:09:11 -0800 (PST) Received: (from mail@localhost) by battra.telebase.com (8.8.3/8.8.1) id UAA14675; Sun, 26 Jan 1997 20:09:05 -0500 (EST) Received: from unknown(172.16.2.129) by battra.telebase.com via smap (V1.3) id sma014671; Sun Jan 26 20:08:56 1997 Received: from odo.telebase.com (odo.telebase.com [172.16.2.217]) by wormhole.telebase.com (8.8.5/8.8.1) with ESMTP id UAA02770; Sun, 26 Jan 1997 20:08:54 -0500 (EST) Received: (from bmc@localhost) by odo.telebase.com (8.8.3/8.8.1) id UAA03000; Sun, 26 Jan 1997 20:08:54 -0500 (EST) Date: Sun, 26 Jan 1997 20:08:54 -0500 (EST) Message-Id: <199701270108.UAA03000@odo.telebase.com> From: Brian Clapper To: John Brann Cc: questions@FreeBSD.ORG (freeq) Subject: Re: gdb problem in 2.1.6 In-Reply-To: <133380053@toto.iv> Organization: N2K Inc Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >>>>> "John" == John Brann writes: John> Hi, I've just moved my laptop to 2.1.6. When I try to invoke gdb I John> get: John> ld.so: Undefined symbol "_vasprintf" called from gdb:gdb at 0x92344 John> This happens both with the installed copy and the one on the CD live John> filesystem. I'm guessing that one of my system shared libraries is John> hosed, any idea which one? `libc.so.2.2'. I had the same problem after upgrading to 2.1.6. So I pulled down the sources for /usr/bin (susbin.?? on the CD), pulled off the libc.so.2.2 there, and compared its size with the one I already. They were different. `nm' showed that the one off the CD has `_vasprintf', but the one I had on my system immediately after upgrading it didn't. I installed the new one, and gdb was happy as a clam. Note for the unwary: You really want to take the system down to single user mode to replace libc.so.2.2. :-) ---- Brian Clapper, bmc@n2k.com If mathematically you end up with the wrong answer, try multiplying by the page number.