LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-17-2008, 02:28 PM   #1
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Rep: Reputation: 15
Problem in Chapter 6.6


I am working through the 6.3 version of the book and in chapter 6.6 it has you create a few links. One of them is
ln -sv /tools/bin/perl /usr/bin


Should this have been
ln -sv /tools/bin/perl /usr/bin/perl

So there is a link to the perl tool that was created early from /usr/bin/perl and not turn /usr/bin into a link to /tools/bin/perl?

Thanks
 
Old 07-17-2008, 04:01 PM   #2
kundor
Member
 
Registered: Aug 2003
Distribution: GoboLinux
Posts: 167

Rep: Reputation: 30
So long as the directory /usr/bin already exists (which it should, from the previous step), "ln" will, by default, create a link with the same name as the source file. IE, it will create a link from /usr/bin/perl to /tools/bin/perl. This is just the same way as "cp" or "mv" work. (In fact, "cp -s" does largely the same thing as "ln -s".)
 
Old 07-17-2008, 04:07 PM   #3
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
If you do this as described - you have a symbolic link /usr/bin/perl which points to /tools/bin/perl.
If you do it as you suggest - the result is the same.
Point is: it works as it is described.
Check it after executing the command!
ls -al /usr/bin/perl
 
  


Reply



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
Yet another glibc, chapter 6.9 problem... gViscardi Linux From Scratch 4 10-25-2008 12:10 PM
Problem in Chapter 5.13. Ncurses-5.5 redeye1 Linux From Scratch 5 07-17-2008 01:10 PM
Problem in Chapter 5.11 flobobe Linux From Scratch 12 02-03-2007 02:29 AM
Problem in Chapter 5.7 flobobe Linux From Scratch 4 12-17-2006 11:30 PM
glibc problem in chapter 6 alaios Linux From Scratch 5 04-04-2004 04:27 AM

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

All times are GMT -5. The time now is 12:35 AM.

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