From owner-freebsd-ports@FreeBSD.ORG Wed Aug 13 18:28:17 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4306337B401 for ; Wed, 13 Aug 2003 18:28:17 -0700 (PDT) Received: from mailman.packetdesign.com (dns.packetdesign.com [65.192.41.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9E2443F93 for ; Wed, 13 Aug 2003 18:28:15 -0700 (PDT) (envelope-from casner@acm.org) Received: from acm.org (ash.packetdesign.com [192.168.0.243]) h7E1S6wq078919; Wed, 13 Aug 2003 18:28:12 -0700 (PDT) (envelope-from casner@acm.org) Message-ID: <3F3AE5C5.4050405@acm.org> Date: Wed, 13 Aug 2003 18:28:37 -0700 From: Stephen Casner User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030805 X-Accept-Language: en-us, en MIME-Version: 1.0 To: riggs@rrr.de Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: ports@FreeBSD.org Subject: FreeBSD Port: mplayer-0.90.0.110_2 and RealAudio doesn't find linux libm X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2003 01:28:17 -0000 I have installed the subject mplayer port and the linux-realplayer port on FreeBSD 4.8-RELEASE. Trying to decode a .rm file using the RealAudio encoding results in the error message: Error: Shared object "libm.so.6" not found That file is present in /usr/compat/linux/lib/libm.so.6, but that directory is apparently not in the search path. Adding that directory to LD_LIBRARY_PATH solves the problem, but it seems that might cause some the linux library to be selected by non-linux programs. I tried building mplayer with that directory added to the --with-extralibdir configure argument, but that didn't help (I presume because it's not the mplayer binary that needs to load libm, but rather the sipr.so.6 codec library that needs it, and I'm not sure how mplayer loads codecs that are linux libraries). This question was asked on the mplayer-users list where the answer suggested installing symlinks to the desired files, or to run ldconfig. What is the correct approach? -- Steve