Skip to content

The pkg-config for libkrun-sev and libkrun-efi seems to not be installed #351

Open
@afbjorklund

Description

@afbjorklund

Only libkrun.pc is generated, but it doesn't have entries for the other two?

Package libkrun-efi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libkrun-efi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libkrun-efi' not found

The library in the file might not even exist.

install -m 644 include/libkrun.h /usr/local/include
install -m 644 libkrun.pc /usr/local/lib/pkgconfig
install -m 755 target/release/libkrun-efi.1.13.0.dylib /usr/local/lib/
cd /usr/local/lib/ ; ln -sf libkrun-efi.1.13.0.dylib libkrun-efi.1.dylib ; ln -sf libkrun-efi.1.dylib libkrun-efi.dylib

The workaround is to just use -lkrun-efi.

(and to add any -I and -L flags needed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions