/usr/bin/ld: cannot find -lxenctrl
Hi group,
Not sure if this is the right spot? Trying to build kexec, I get this error: gcc -lxenctrl -lz --no-undefined -nostartfiles -nostdlib -nodefaultlibs -e purgatory_start -r -o purgatory/purgatory.ro purgatory/purgatory.o purgatory/printf.o purgatory/string.o purgatory/arch/x86_64/entry64-32.o purgatory/arch/x86_64/entry64.o purgatory/arch/x86_64/setup-x86_64.o purgatory/arch/x86_64/stack.o purgatory/arch/x86_64/purgatory-x86_64.o purgatory/arch/i386/entry32-16.o purgatory/arch/i386/entry32-16-debug.o purgatory/arch/i386/crashdump_backup.o purgatory/arch/i386/console-x86.o purgatory/arch/i386/vga.o purgatory/arch/i386/pic.o purgatory/sha256.olibxenctrl is there: ls -lrat /usr/lib*/libxenctrl*Any ideas?? |
Quote:
Good Luck -z1p |
Quote:
Here is the right list: ls -lrat /usr/lib*/libxenctrl*I think the problem is the level of libxenctrl?? Is there a way to get the compiler to display what version of the libs it wants?? |
The -lxenctrl option tells the linker to looks for libxenctrl.so with no version number. So, /usr/lib64/libxenctrl.so should satisfy the linker.
So you're still getting the same error with the current symbolic links? Its looking right to me. Have you tried explicitly looking in /usr/lib64 with "-L/usr/lib64" on the compile line? |
All times are GMT -5. The time now is 05:53 PM. |