From owner-freebsd-current@FreeBSD.ORG Fri Feb 6 00:20:13 2004 Return-Path: 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 B4C8A16A4CE for ; Fri, 6 Feb 2004 00:20:13 -0800 (PST) Received: from smtp.fud.org.nz (203-79-110-29.cable.paradise.net.nz [203.79.110.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C14443D53 for ; Fri, 6 Feb 2004 00:19:59 -0800 (PST) (envelope-from andy@fud.org.nz) Received: by smtp.fud.org.nz (Postfix, from userid 1001) id C4740170A9; Fri, 6 Feb 2004 21:15:42 +1300 (NZDT) Date: Fri, 6 Feb 2004 21:15:42 +1300 From: Andrew Thompson To: Joe Marcus Clarke Message-ID: <20040206081542.GA41057@kate.fud.org.nz> References: <20040206070625.GA27382@mail.unixjunkie.com> <1076049972.3937.16.camel@shumai.marcuscom.com> <20040206072215.GA27485@mail.unixjunkie.com> <1076050538.3937.19.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1076050538.3937.19.camel@shumai.marcuscom.com> User-Agent: Mutt/1.5.6i cc: John cc: freebsd-current@freebsd.org Subject: Re: mplayer borked with libpthread + feb4th Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2004 08:20:13 -0000 > > > > dri-4.3.0,1 png-1.2.5_3 > > > > expat-1.95.6_1 popt-1.6.4_2 > > > > fontconfig-2.2.90_4 racoon-20040116a > > > > freetype2-2.1.5_2 rc_subr-1.16 > > > > gettext-0.12.1 rpm-3.0.6_9 > > > > gettext-0.13.1 ruby-1.6.8.2003.10.15 > > > > glib-1.2.10_10 unzip-5.50_2 > > > > gmake-3.80_1 win32-codecs-2.0.90_1,1 > > > > gtk-1.2.10_11 wrapper-1.0_3 > > > > imake-4.3.0_2 zip-2.3_1 > > > > jpeg-6b_1 > > > > > > > > The only kernel config change i've made was to disable i486 and i586 > > > > and add the following. > > > > # no reason to trust wep ;) > > > > options IPSEC > > > > options IPSEC_ESP > > > > _______________________________________________ > > > > freebsd-current@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > -- > > > PGP Key : http://www.marcuscom.com/pgp.asc > > > > sure does, don't know why i didn't think about that ;). > > By using ldd on mplayer, then all of its dependencies, you can track > down which library is bringing in the libc_r dependency (it maybe > mplayer itself). Note: you should do this after doing a forced > reinstall of all of mplayer's dependencies: > > portupgrade -Rf mplayer\* > Would anything like this help tracking programs linking to libc_r? (in semi psudo code) [ from rtld.c ] static char * find_library(const char *xname, const Obj_Entry *refobj) { char *pathname; char *name; if (strchr(xname, '/') != NULL) { /* Hard coded pathname */ if (xname[0] != '/' && !trust) { _rtld_error("Absolute pathname required for shared object \"%s\"", xname); return NULL; } return xstrdup(xname); } + if (strncmp(xname, "libc_r", 6) == 0) + if (libmap_disable || (refobj == NULL) || (name = lm_find(refobj->path, xname)) == NULL) name = (char *)xname; ... Andy