From owner-freebsd-questions@FreeBSD.ORG Thu Jul 31 22:58:01 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 42B2137B401 for ; Thu, 31 Jul 2003 22:58:01 -0700 (PDT) Received: from mz2.forethought.net (mzpi4.forethought.net [216.241.36.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BC6F43F93 for ; Thu, 31 Jul 2003 22:58:00 -0700 (PDT) (envelope-from camp@dimensional.com) Received: from wcpi4.forethought.net ([216.241.32.143] helo=dimensional.com) by mz2.forethought.net with smtp (Exim 4.14) id 19iSvQ-0007nf-E2; Thu, 31 Jul 2003 23:58:00 -0600 Received: from 69.15.80.20 (SquirrelMail authenticated user camp) by webmail.dimensional.com with HTTP; Thu, 31 Jul 2003 23:58:00 -0600 (MDT) Message-ID: <15767.69.15.80.20.1059717480.squirrel@webmail.dimensional.com> Date: Thu, 31 Jul 2003 23:58:00 -0600 (MDT) From: To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.11) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: HELP! Undefined symbol "__stdoutp" in FreeBSD 4.3... 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, 01 Aug 2003 05:58:01 -0000 Hi, On a FreeBSD 4.3 server (I inherited when I took over IT duties at a new client), I am getting "Undefined symbol "__stdoutp"" error messages when I try to run utilities (e.g. sudo) that I have pkg_add'ed to the server. Also, attempts to build the latest 'sudo' port fail. Initially, the port building failure involved the fact that /usr/local/bin/sed_inplace did not exist. Trying to build that port failed as well... so I pkg_add'ed sed_inplace... But then the sudo port build kept failing. Here is an example of the error I get when I try to run sudo: > sudo date /usr/libexec/ld-elf.so.1: Undefined symbol "__stdoutp" referenced from COPY relocation in sudo I tried searching the mailing lists via http://lists.freebsd.org, but was told the "lists are unavailable at this time"... I have tried 'google' searches etc. The best I can figure is that something changed somewhere along the way in FreeBSD 4.X causing port builds to fail. I am also guessing that it _may_ have something to do with the 'compat' libraries, but this is just a guess. I see the following "C lib" related compat libraries in /usr/lib/compat: /usr/lib/compat/libc.so.3 /usr/lib/compat/libc_r.so.3 /usr/lib/compat/libc_r.so.4 Note: I do _not_ have a /usr/lib/compat/libc.so.4.... should I? I can generally figure things out on my own... but this has kind of got me turning in circles... Maybe if someone can just point me in the correct direction... or send me a pointer to a FAQ or HowTo article, or a simple list of instructions. After doing some more searching... I'm getting the feeling that I need to re-build my libraries, which would mean installing the source, wouldn't it? If this is correct, I need some instructions or pointers to instructions in the handbook. Update: I have done a 'make' in /usr/src/lib/libc and copied the newly created libc.so.4 to /usr/lib/libc.so.4 and changed the permissions to 444... but I still get the same Undefined symbol "__stdoutp" error... This smells like there has to be a _simple_ fix for this... Many thanks. -- Steve Camp steve@camp.com