From owner-freebsd-questions@FreeBSD.ORG Tue Jan 10 19:44:37 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 A9D6416A41F for ; Tue, 10 Jan 2006 19:44:37 +0000 (GMT) (envelope-from lmccourry@charter.net) Received: from mxsf30.cluster1.charter.net (mxsf30.cluster1.charter.net [209.225.28.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3742B43D46 for ; Tue, 10 Jan 2006 19:44:36 +0000 (GMT) (envelope-from lmccourry@charter.net) Received: from mxip14a.cluster1.charter.net (mxip14a.cluster1.charter.net [209.225.28.144]) by mxsf30.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id k0AJiYDi022573 for ; Tue, 10 Jan 2006 14:44:34 -0500 Received: from 24-197-117-006.dhcp.spbg.sc.charter.com (HELO [192.168.1.101]) (24.197.117.6) by mxip14a.cluster1.charter.net with ESMTP; 10 Jan 2006 14:44:35 -0500 X-IronPort-AV: i="3.99,351,1131339600"; d="scan'208"; a="1180855717:sNHT50961578" Message-ID: <43C40EA1.2020500@charter.net> Date: Tue, 10 Jan 2006 14:44:33 -0500 From: Larry User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: runtime error (libm.so.3) 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, 10 Jan 2006 19:44:37 -0000 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 31 03:17:27 EST 2005...i386 When I try to run a certain program that I can compile and link without any warnings or errors I get the following error message: /libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by "libGL.so.1" All of my ports are up-to-date. How can I get rid of this error? I'm compiling and linking separately like this: g++ -I/usr/X11R6/include -c `wx-config --cxxflags` winmain.cpp g++ -o winmain winmain.o /usr/local/lib/compat/libm.so.3 `wx-config --libs gl,media,std,core,base` thanks, Bob