From owner-freebsd-questions@FreeBSD.ORG Tue Aug 17 17:41:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7840A1065673 for ; Tue, 17 Aug 2010 17:41:23 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 21CC68FC1F for ; Tue, 17 Aug 2010 17:41:21 +0000 (UTC) Received: by gxk24 with SMTP id 24so3283063gxk.13 for ; Tue, 17 Aug 2010 10:41:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=phqhdyHqauwn2rniRXt2m3Ai4w2M797phrQ7/nVcVaw=; b=BBz0Yc3yiKoEhOIhcrYNhlAOOoc3T9K3UMbEQFzTT4mrfE2CT4s4Tt9aB6M3ph+OCJ 7Rz9Mzcbb+TKyfV8bKFruMlh4cTzSbHUecE1pFMvlxEpYuXgveWQh7mv+3awvs52vj3d H+X3cUFAofdpcB62A4u7HHDgNpuHEv8rUvM/8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=fSnpnYC22iCrEbbRnrx39ejcgpwOLra5iVELE6WsZqD4/p2ZA6M9B/9ri62ONgWsuM VhSd1ik+ic+VkzSh4UKIjTzxWWJbfLPRKhOCcFY6HDNE3R6YRtV0LV2MINu85pT/1k2i CfFLSGcrokwpAtQSqRejuGdDLP2rbG658cwoU= MIME-Version: 1.0 Received: by 10.151.114.18 with SMTP id r18mr4223641ybm.130.1282066881325; Tue, 17 Aug 2010 10:41:21 -0700 (PDT) Received: by 10.231.148.133 with HTTP; Tue, 17 Aug 2010 10:41:21 -0700 (PDT) Date: Tue, 17 Aug 2010 10:41:21 -0700 Message-ID: From: Steve Franks To: glarkin@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: fixed: can't find .so, but it's right there. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2010 17:41:23 -0000 Bugger me! Something, sometime, pulled a linux mplayer onto my disk, wonder when I did that? (It's been awhile that I've had this issue, and I have a bad habit of dump/restoring disks between work & home computers willy-nilly). Anyway, /usr/bin/mplayer looked a bit funny (not in /usr/local), and brandelf /usr/bin/mplayer caught it red-handed as an SRV4 file! (should have been FreeBSD for anyone out there reading the archives not familiar with brandelf). Deleted it, and the freebsd mplayer hiding in /usr/local/bin fired right up. Anyway, thanks, y'all; sorry for the dumb question! Steve On Tue, Aug 17, 2010 at 10:31 AM, Steve Franks wr= ote: > On Tue, Aug 17, 2010 at 10:28 AM, Greg Larkin wrote= : >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Steve Franks wrote: >>> What gives? =A0This is after portupgrade -akfO and an ldconfig just for >>> good measure. >>> >>> [steve@fyre /usr/home/steve]$ cd /usr/local/lib >>> [steve@fyre /usr/local/lib]$ ls -la | grep aa >>> -rw-r--r-- =A0 =A01 root =A0wheel =A0 =A0189146 Jul 13 06:55 libaa.a >>> -rwxr-xr-x =A0 =A01 root =A0wheel =A0 =A0 =A01077 Jul 13 06:55 libaa.la >>> lrwxr-xr-x =A0 =A01 root =A0wheel =A0 =A0 =A0 =A010 Jul 13 06:55 libaa.= so -> libaa.so.1 >>> -rwxr-xr-x =A0 =A01 root =A0wheel =A0 =A0121682 Jul 13 06:55 libaa.so.1 >>> [steve@fyre /usr/local/lib]$ mplayer >>> mplayer: error while loading shared libraries: libaa.so.1: cannot open >>> shared object file: No such file or directory >>> [steve@fyre /usr/local/lib]$ >>> >>> >>> Best, >>> Steve >> >> Hi Steve, >> >> What is the output of the following command? >> >> ldd `which mplayer` >> > > [steve@fyre /usr/home/steve]$ ldd `which mplayer` > /usr/bin/mplayer: > /usr/bin/mplayer: error while loading shared libraries: libaa.so.1: > cannot open shared object file: No such file or directory > /usr/bin/mplayer: exit status 127 > [steve@fyre /usr/home/steve]$ > > I also rebuilt libaa specifically, FYI. =A0It's there, but mplayer can't > get to it for some reason... > > Thanks, > Steve >