Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2006 14:44:33 -0500
From:      Larry <lmccourry@charter.net>
To:        freebsd-questions@freebsd.org
Subject:   runtime error (libm.so.3)
Message-ID:  <43C40EA1.2020500@charter.net>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43C40EA1.2020500>