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-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: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
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: 374Reputation: 374Reputation: 374Reputation: 374
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



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
cannot find -lintl? kandar Linux - Software 3 06-08-2014 07:51 AM
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

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

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