LinuxQuestions.org
Visit Jeremy's Blog.
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 02-04-2014, 05:02 PM   #1
r.stiltskin
Member
 
Registered: Oct 2003
Location: USA
Distribution: Xubuntu, Arch
Posts: 231

Rep: Reputation: 31
discrepancy in expect library name


Section 5.12.2 of Linux From Scratch 7.4 lists the installed library of expect as libexpect-5.45.a but after building and installing expect5.45 my lfs/tools/lib/expect5.45 directory contains libexpect5.45.so

I assume this should be reported as a bug to be corrected in the next edition but it's not clear where to report it.
 
Old 02-04-2014, 08:23 PM   #2
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
In the BLFS book, just for comparison, the expect page lists the shared library being installed just as you discovered in your LFS tools dir (not a static library as the LFS book says). The configure command in the BLFS book includes --enable-shared which would install the .so library. Even though the LFS expect page does not include the --enable-share configure option, the configure --help information for expect-5.45 (which I just looked at) states that --enable-shared is the default. So I would expect the installed library to be the .so as you found. This exact situation seems to go back to at least LFS v6.8 which used the same version of expect. To me, this is probably a simple typo in the LFS book. If you like, you can report it either by creating a new ticket at the LFS wiki or by posting it in one of the LFS mailing lists (say, lfs-dev or lfs-support). I've reported stuff like that both ways. Doesn't really matter much since the same guys all read all of that stuff. They seem to appreciate it. Go to http://www.linuxfromscratch.org/ and follow links to the wiki or the mailing lists.
 
Old 02-05-2014, 07:54 AM   #3
r.stiltskin
Member
 
Registered: Oct 2003
Location: USA
Distribution: Xubuntu, Arch
Posts: 231

Original Poster
Rep: Reputation: 31
Thanks stoat. I opened a ticket on the wiki.

I agree that it's a typo. I didn't mean to imply that there was anything wrong with the library itself. When I wrote "bug" I was referring to the documentation error.
 
Old 02-05-2014, 10:23 PM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
There's a few errors still in the book that pop up from time to time or are noticed.
 
Old 02-06-2014, 04:59 PM   #5
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
Quote:
Originally Posted by me

They seem to appreciate it.
Somebody has already fixed this matter in the development version of the book (and I did check there the other day, too). So you made a little contribution to the book. Now, if you end up really liking B/LFS (like I do), they mostly appreciate this proof-reading kind of help when the release candidates come out. Those are for people to test the steps and read the text and so on looking for things that need to be fixed for the final release. The release schedule lately has been March and September, so a release candidate probably will be available in a mere couple of weeks. Sometimes I build the release candidate, and sometimes not. Sometimes the release candidate becomes the final version. Anyway, I try to help these people out when I can. I also donate money to Beekmans for every new release. BLFS is the only Linux distro (and very nearly the only OS) that I use. I value it and the project.
 
  


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
[root@fugo trace]# sh expect.sh expect.sh: line 9: expect: command not found sivaloga Linux - Kernel 1 08-22-2013 04:29 AM
df vs du discrepancy DebianUser Linux - Hardware 3 09-12-2011 04:36 PM
[SOLVED] /usr/bin/expect : Script to check server load using both expect and bash Soji Antony Programming 1 07-27-2010 11:27 PM
expect: line seems to match exactly, however expect thinks not deadeyes Linux - General 5 06-16-2010 06:05 PM
Discrepancy df/du aztrix SUSE / openSUSE 5 01-12-2010 04:52 PM

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

All times are GMT -5. The time now is 10:07 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