LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 03-19-2004, 04:45 AM   #1
davemar
Member
 
Registered: Mar 2004
Location: UK
Posts: 62

Rep: Reputation: 15
problem installing glibc in ch.6


I'm trying to compile glibc in chapter 6, and have carried out the configure and make OK, but when I do 'make install' it falls over when trying to copy libc.a over to /usr/lib - reporting it is not a directory.
I looked at /usr/lib and sure enough it isn't a directory, but a link to another file elsewhere (can't remember which off the top of my head). So it seems like a symbolic link has been wrongly setup for /usr/lib sometime previously?
Can anyone think of why this has happened?
 
Old 03-20-2004, 03:06 AM   #2
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
There shouldn't be any symlinks for /usr/lib. Most likely what happened to get it like that is you entered the a link for a library backwards.. .. create a link from /usr/lib to the library stead of the other way round.

There are ways of removing links.. however I would NOT be the one to tell you how, as the last link I tried to remove I ended up removing a critical system file stead of the link.

Look to see what file it is linked to and back step to that point. You might be able to get away with just backsteping to that point and installing from then on (after the link is removed) or you might end up having to start all over... ..

Last edited by Zero-0-Effect; 03-20-2004 at 03:07 AM.
 
Old 03-23-2004, 03:32 AM   #3
davemar
Member
 
Registered: Mar 2004
Location: UK
Posts: 62

Original Poster
Rep: Reputation: 15
On page 107 of the book there is the line:
ln -s /tools/lib/libgcc_s.so.1 /usr/lib
which I would have used, and that appears to make a symbolic link /usr/lib pointing to /tools/lib/libgcc_s.so.1.

So is the book in error here?
 
Old 03-23-2004, 05:41 PM   #4
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Works for me. That command installs a symbolic link in /usr/lib pointing at the libgcc_s.so.1 in /tools/lib
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
Problem With Installing Glibc-2.3.3 alexina Linux From Scratch 4 10-15-2005 03:45 PM
Having Problem in Installing glibc 2.3.5 Big D@ddy Linux - Software 2 04-18-2005 03:05 AM
Problem installing glibc-2.3.4 M.R Linux - Software 4 03-15-2005 08:03 AM
Problem installing glibc...need help tarballed Linux - General 1 01-27-2003 11:42 PM


All times are GMT -5. The time now is 11:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration