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"

As most people know, I use the Package Users System.  I've tried
building as user=udev-208 and root.  I get the failure in both
situations.  In situations like this, my experience tells me that the
solution is something terribly simple.  I *think* I have checked the
obvious simple stuff, but I'm out of ideas.

Thanks,
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

Reply via email to