LinuxQuestions.org
Help answer threads with 0 replies.
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 07-21-2002, 07:37 AM   #1
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
Compiled some exes without -static flag. Now what?


Hi,
I just tried lfs for some fun. But unfortunatly I compiled some files with out -static flag. I don't know how this happened. I just followed the instructions in the 3.3 book. But after chroot it said /bin/ls no such file or directory. So I came out ran file $LFS/bin/ls and found it is dynamically linked. Any Idea how it might have happened?. Should I recompile the whole thing?.

Thanks,

--Sarin
 
Old 07-22-2002, 06:22 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
You should recompile the packages which weren't compiled with static libraries. Otherwise you won't get much further in the rest of the book. If it was only the fileutils package where you forgot to add the -static then it shouldn't be too much work to redo just that one.
 
Old 07-22-2002, 09:40 PM   #3
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354

Original Poster
Blog Entries: 2

Rep: Reputation: 34
I tried some stunt like putting the gcc just after that. Did not yield expected results. So just tried copying some stuff from existing system. But unfortunatly over ended up with a lot of trouble when it first booted up. There was not much fun though that was the aim!. So just did a rm -rf $LFS and made it all over agin. After every step ran
file $LFS/bin/* | grep -i dynamic and file $LFS/usr/bin | grep -i dynamic
at the end after 6 hrs of work I now have my LFS. But I just feel like laughing now. I one should say If made LFS what did Linus do?
--Sarin
( This is bad, every time I should edit my post to correct spellings. Since I am here let me put some smilies! )

Last edited by sarin; 07-22-2002 at 09:42 PM.
 
  


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
Howto Assign Multiple Static Public IP Addresses under SBC's PPPoE Static Ip system o trekgraham Linux - Networking 8 04-17-2007 11:51 AM
Is there any static ARP for static IP network? linux_lover2005 Linux - Networking 2 05-18-2005 01:01 PM
Red Flag varun_33 Linux - Distributions 1 01-11-2005 03:38 PM
FC2 Overriding static if in favor of dhcp system set for static pkraus109 Linux - Networking 8 09-21-2004 12:13 PM
What exactly does the !H routing flag mean? peppiv Linux - Networking 6 02-23-2004 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration