ok output /lib/libc.so.6 --version command not found also run as root
readlink -f /lib/libc.so.6
returns
/lib/libc-2.13.so
ok output /lib/libc.so.6 --version command not found also run as root
readlink -f /lib/libc.so.6
returns
/lib/libc-2.13.so
DUAL BOOT XP & Natty, Trying LFS
I,ll pop back tomorrow thks for your help
DUAL BOOT XP & Natty, Trying LFS
Hi
I'm not quite sure why you are getting what you are getting. It's late here so it's quite possible my brain has stopped working for the night though.
Let's have a look at what it is pointing to. What's the output ofCode:matthew@matthew-laptop:~$ /lib/libc.so.6 --version GNU C Library (Ubuntu EGLIBC 2.11.1-0ubuntu7.8) stable release version 2.11.1, by Roland McGrath et al. Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 4.4.3. Compiled on a Linux >>2.6.24-27-server<< system on 2011-01-21. Available extensions: crypt add-on version 2.1 by Michael Glad and others GNU Libidn by Simon Josefsson Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B For bug reporting instructions, please see: <http://www.debian.org/Bugs/>. matthew@matthew-laptop:~$ readlink -f /lib/libc.so.6 /lib/libc-2.11.1.so matthew@matthew-laptop:~$
Kind regardsCode:ls -l /lib/libc-2.13.so
If you believe everything you read, you better not read. ~ Japanese Proverb
If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain
Thinking about becoming an Ubuntu Member?
ls -l /lib/libc-2.13.soCode:spiky@spiky-toshiba:~$ /lib/libc.so.6 --version bash: /lib/libc.so.6: No such file or directory spiky@spiky-toshiba:~$ readlink -f /lib/libc.so.6 /lib/libc-2.13.so
cd /lib && ls | less just what we need.Code:spiky@spiky-toshiba:~$ ls -l /lib/libc-2.13.so ls: cannot access /lib/libc-2.13.so: No such file or directory spiky@spiky-toshiba:~$ sudo ls -l /lib/libc-2.13.so [sudo] password for spiky: ls: cannot access /lib/libc-2.13.so: No such file or directory spiky@spiky-toshiba:~$
ls of i386-linux-gnuCode:ld-linux.so.2 libatasmart.so.4 libatasmart.so.4.0.3 libatm.so.1 libatm.so.1.0.0 libbrlapi.so.0.5 libbrlapi.so.0.5.5 libbsd.so.0 libbsd.so.0.2.0 libbz2.so.1 libbz2.so.1.0 libbz2.so.1.0.4 libcap.so.2 libcap.so.2.20 libcrypto.so.0.9.8 libc.so.6 libdevmapper-event.so.1.02.1
ls -l /lib/libc.so.6Code:ld-2.13.so ld-linux.so.2 libacl.so.1 libacl.so.1.1.0 libanl-2.13.so libanl.so.1 libattr.so.1 libattr.so.1.1.0 libblkid.so.1 libblkid.so.1.1.0 libBrokenLocale-2.13.so libBrokenLocale.so.1 libc-2.13.so libcidn-2.13.so libcidn.so.1 libcom_err.so.2 libcom_err.so.2.1 libcrypt-2.13.so libcrypt.so.1 libc.so.6 libdbus-1.so.3 libdbus-1.so.3.5.4 libdl-2.13.so libdl.so.2ls -l /Code:spiky@spiky-toshiba:/lib$ ls -l libc.so.6 lrwxrwxrwx 2 spiky spiky 12 2011-06-19 16:11 libc.so.6 -> libc-2.13.so spiky@spiky-toshiba:/lib$
I think I,ve covered it all hereCode:drwxr-xr-x 19 root root 4096 2011-10-09 18:53 lib
DUAL BOOT XP & Natty, Trying LFS
Hi
I think I,ve covered it all here
andCode:spiky@spiky-toshiba:~$ readlink -f /lib/libc.so.6 /lib/libc-2.13.so
Now we are getting somewhere. The symlink (/lib/libc.so.6) is pointing to a file (/lib/libc-2.13.so) that does not exist.Code:spiky@spiky-toshiba:~$ ls -l /lib/libc-2.13.so ls: cannot access /lib/libc-2.13.so: No such file or directory
The symlink needs to point to
Open a terminal and type/lib/i386-linux-gnu/libc-2.13.so
This will remove the link. Then typeCode:sudo rm /lib/libc.so.6
You are using Natty. I don't believe the link /lib/libc.so.6 is used on Natty. Deleting the link would break Maverick and Lucid and would have to be repaired from a live CD/USB by recreating the symlink.Code:sudo ln -s /lib/i386-linux-gnu/libc-2.13.so /lib/libc.so.6
Check the link after by typing
Kind regardsCode:/lib/libc.so.6 --version
Last edited by matt_symes; October 10th, 2011 at 07:13 PM. Reason: Highlighted dangers on Maverick and Lucid
If you believe everything you read, you better not read. ~ Japanese Proverb
If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain
Thinking about becoming an Ubuntu Member?
Thks for your time and effort now the script runs clean
DUAL BOOT XP & Natty, Trying LFS
Bookmarks