RE: libm.so.5 not found

Search this archive.

From: Matan Ziv-Av (matan@svgalib.org)
Date: Sat 10 Feb 2001 - 10:43:18 IST


> On 09-Feb-2001 Jeffrey Lane Joiner wrote:
> > I just tried to compile the tutorial, and got a message about libm.so.5
> > not found.
> > I used locate, and found libm.so & libm.so.6 on my system.
> >
> > Does this mean I've got to recompile the SVGA library source in order to
> > use
> > the library on my system?NOTE:  I am a newbie to LINUX; please keep it
> > simple.
> 
> It means that you downloaded a SVGAlib binary compiled against
> the old libc (i.e.libc 5, used by Redhat 5 and other distros).

Or that you did not install svgalib package, but did install a
compatibility libraries package that includes svgalib. On Mandrake 7.2,
for example this means package libc-5.3.12-34mdk.

The best solution is probably to install both svgalib and svgalib-devel
packages of your distribution.

> Alternately (and preferably) you could also get the sources and
> compile them yourself.Provided you have a compiler installed and
> working, it's not hard.  It shouldnt require any more than to
> unpack the source, cd into it, (maybe edit Makefile.cfg to set
> BACKGROUND to N, or comment it out),and type make install to
> compile it and set it up.

This is slightly wrong. Setting BACKGROUND to N is the same as setting
it to Y. All the compiler cares is if it is defined or not. If you want
to run svgalib programs with 2.4 kernels, you need to compile svgalib
with BACKGROUND undefined, which means the line must be commented out.


-- 
Matan Ziv-Av.                         matan@svgalib.org



------------------------------------------------------------------
Unsubscribe:  To:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST