On Tue, 2011-05-24 at 00:34 -0700, Douglas Goodall wrote:
> [doug@server include]$ sdcc
> sdcc: /lib/libc.so.6: version `GLIBC_2.7' not found (required by sdcc)
> [doug@server include]$ 

These are the libraries used by sdcc :

roelofh@baywatch:~$ ldd /usr/local/bin/sdcc
        linux-gate.so.1 =>  (0x00fd6000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00d68000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x0023d000)
        /lib/ld-linux.so.2 (0x009ed000)



> AfterI Downloaded glibc-2.7.tar.gz from ftp.gnu.org and tried to build
> it but something isn't
> happening right because it didn't help.

It is better to use a command like "apt-get install libc6"
as root.

What is the error message ?

And as always, I/we can not help you or anybody else when there
is no information like :

roelofh@baywatch:~$ uname -a
Linux baywatch 2.6.32-31-generic #61-Ubuntu SMP Fri Apr 8 18:24:35 UTC
2011 i686 GNU/Linux

or :

roelofh@baywatch:~$ cat /proc/version
Linux version 2.6.32-31-generic (buildd@rothera) (gcc version 4.4.3
(Ubuntu 4.4.3-4ubuntu5) ) #61-Ubuntu SMP Fri Apr 8 18:24:35 UTC 2011


> Why doesn't the Linux binary distribution of sdcc possess it's own
> libraries?

Why should it ?
You can install the libraries needed with a simple apt-get
command. To my knowledge libc is one of the basic lib's needed
to run anything at all. You can check for it :

roelofh@baywatch:~$ dpkg -l |grep libc
<snip and formated>
ii  libc6
ii  libc6-dev

roelof




------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to