CentOS 8 You Do Not Appear To Have The Kernel Sources

Home » CentOS » CentOS 8 You Do Not Appear To Have The Kernel Sources
CentOS 1 Comment

(sorry about previous item – hit return and was not intending to).

Compiling on CentOS 8 and getting error “You do not appear to have the kernel sources loaded”.

I have kernel, kernel-devel, and kernel-headers all loaded.

What am I missing?
Thanks,

Jerry

One thought on - CentOS 8 You Do Not Appear To Have The Kernel Sources

  • Its looking for /lib/modules/{kernel}/build/.config where build is SYM
    link to /usr/src/kernels… etc What package do I need for that ?

    I think somehow the /usr/lib/modules/{kernel}/build LINK was not set right
    ???
    Mine shows build {in red when doing ls}
    So I am investigating…. I also noticed I did not do a yum -y update on CentOS 8 yet so hopefully that fixes things.

    Jerry