LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 07-24-2003, 07:30 PM   #1
zspirit
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Rep: Reputation: 0
Angry cannot find -lintl ??


hey people.
Me is now in chapter 6 on the lfs , trying to compile that buggy findutils and it exists like that:
gcc -s -o locate locate.o ../find/version.o ../lib/libfind.a -lintl
/static/bin/ld: cannot find -lintl <---- i guess thats the problem
collect2: ld returned 1 exit status
make[1]: *** [locate] Error 1
make[1]: Leaving directory `/findutils-4.1/locate'
making all in doc
make[1]: Entering directory `/findutils-4.1/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/findutils-4.1/doc'
making all in testsuite
make[1]: Entering directory `/findutils-4.1/testsuite'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/findutils-4.1/testsuite'

what did i do wrong?
should i link something to something?

zspirit
 
Old 07-25-2003, 04:55 PM   #2
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Kwajalein
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,569

Rep: Reputation: 45
Hey, I'm just grabbing at straws here, but you have:

gcc -s -o locate locate.o ../find/version.o ../lib/libfind.a -lintl

The findutils-4.1-segfault.patch fixes some problem with locate.c. Did you miss running that patch maybe?

Oh, and I realize that it's a patch against a possible segmentation fault, but hey, it might be related.

Just a thought.

Good luck...
 
Old 07-25-2003, 05:00 PM   #3
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Yes, you're right about where the problem is. It's telling you that a support library can't be found. In other words, it's expecting to have access to some prexisting software, but can't find it.

Have you looked for an answer in the LFS FAQ already?

What did you use for the configure command?

Have you followed the book exactly, or have you made changes as you went?

This is speculation, but the name of the library "intl" leads me to believe it should contain internationality. The only package I know of that has anything to do with internationality would be glibc. Did you have any problems installing it?
 
Old 07-25-2003, 05:56 PM   #4
zspirit
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Solved! i've just compiled findutils 4.12 with no problems.
now i'm far beyond that!! i've finished my lfs and it's alive and kicking!!!
thanks !!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
linux find to find files with multiple patterns subu_s Programming 6 12-15-2010 12:15 AM
Can`t find C-compiler in Debian ,or at least can`t find one that can make executables hemmelig Linux - Software 4 05-26-2008 03:07 AM
find: . changed during execution of find suse degraffenried13 Linux - General 3 12-12-2004 07:13 PM
linux 'find' to find text files subu_s Programming 2 12-02-2004 02:56 AM
cannot find -lintl? kandar Linux From Scratch 1 08-05-2004 04:37 AM


All times are GMT -5. The time now is 09:28 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
Open Source Consulting | Domain Registration