ld is missing files...
Hello,
I'm trying to compile efitools on CentOS but I am running into an issue. This is what the error I get during make: Code:
# make Code:
# locate libefi Any suggestions would be much appreciated. |
You are right. For normal dynamic linking you would need .so files. The .a files are for static linking only.
Devel packages do not contain the actual dynamic libraries. You will need to install them separately. Actually I'm surprised that they didn't come over as dependencies of their headers. |
Quote:
I have the efi and gnuefi packages installed: Code:
# rpm -qa | grep -i efi |
I was wrong. I've been browsing around and it seems that efi programs are statically linked after all, which is why no dynamic library objects are provided. I've looked at examples of Hello World programs being built for efi and they seem to use the same ld flags as you do, so I don't know why your static libraries weren't found. I hope someone else picks this up as I seem to have done you a bad turn by taking away your "zero reply" flag.
|
Try the following:
Code:
/usr/lib64# ln -s gnuefi/crt0-efi-x86_64.o |
All times are GMT -5. The time now is 02:09 AM. |