On 09/13/2014 07:23 PM, Armin K. wrote:
On 14.9.2014 1:35, Dan McGhee wrote:
I am sorry to ask a question like this when most of you are working hard
to release 7.6. I'm pushing to finish 7.5 to make sure my scripts all
work and to "play" with GRUB for UEFI.
Udev-208 fails during "make" with
LINK build/udevd
/usr/bin/ld: cannot find -lblkid
collect2: error: ld returned 1 exit status
udev-lfs-208-3/Makefile.lfs:232: recipe for target 'build/udevd' failed
make: *** [build/udevd] Error 1
ls -al /usr/include | grep id gives:
lrwxrwxrwx 1 udev-208 udev-208 20 Sep 13 22:46 blkid ->
/toolz/include/blkid
lrwxrwxrwx 1 udev-208 udev-208 19 Sep 13
22:46 uuid -> /toolz/include/uuid
[I removed the other two results]
and ls -al /toolz/include | grep id gives:
drwxr-xr-x 2 root root 4096 Jun 16 18:56 blkid
drwxr-xr-x 2 root root 4096 Jun 16 18:56 uuid
and blkid.h and uuid.h exist in their appropriate directories.
echo $LD_LIBRARY_PATH gives "/toolz/lib."
(Please don't ask about "toolz." I screwed up in 7.4 and must use
/toolz instead of /tools until I get another complete {,B}LFS system)
That's your problem. udev-lfs Makefile explicitly adds "-L/tools/lib".
You can change it yourself to "-L/toolz/lib"
Thanks so much, Armin. That was the key. All is well now.
Once again--something simple. I stepped through that Makefile looking
for a lot of other things and didn't even think about the "ghosts of my
errors."
Once as I was traveling the Southwest Desert in search of the meaning of
life, a wizened shaman told me, "There is joy in beating one's head
against a stone. It feels wondrous when he quits."
Thanks again, Armin.
Dan
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style