darling icon indicating copy to clipboard operation
darling copied to clipboard

Module darling-mach not found in directory /lib/modules/5.3.0-42-generic Failed to load the kernel module

Open eleijonmarck opened this issue 5 years ago • 5 comments

ubuntu 19.10 zsh

When running anything after building complete I get this error.

$ darling shell
modprobe: FATAL: Module darling-mach not found in directory /lib/modules/5.3.0-42-generic
Failed to load the kernel module

Failed build during installation w. the following errors:

CMake Error: failed to create symbolic link '/usr/local/libexec/darling/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework': no such file
 or directory                                                                                                                                                                           
CMake Error: failed to create symbolic link '/usr/local/libexec/darling/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework': no such f
ile or directory                                                                                                                                                                        
CMake Error: failed to create symbolic link '/usr/local/libexec/darling/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework': no such file 
or directory                                                                                                                                                                            
CMake Error: failed to create symbolic link '/usr/local/libexec/darling/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework': no such file o
r directory    
CMake Error: failed to create symbolic link '/usr/local/libexec/darling/System/Library/Frameworks/CoreServices.framework/Frameworks': no such file or directory 

eleijonmarck avatar Apr 03 '20 06:04 eleijonmarck

You apparently failed to build and install the kernel module for your running kernel.

LubosD avatar Apr 03 '20 06:04 LubosD

CMake Error: failed to create symbolic link '/usr/local/libexec/darling/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework': no such file
 or directory                                                                                                                                                                           
CMake Error: failed to create symbolic link '/usr/local/libexec/darling/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework': no such f
ile or directory                                                                                                                                                                        
CMake Error: failed to create symbolic link '/usr/local/libexec/darling/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework': no such file 
or directory                                                                                                                                                                            
CMake Error: failed to create symbolic link '/usr/local/libexec/darling/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework': no such file o
r directory    
CMake Error: failed to create symbolic link '/usr/local/libexec/darling/System/Library/Frameworks/CoreServices.framework/Frameworks': no such file or directory 

These are the errors I could find!

Updated my original issue

eleijonmarck avatar Apr 03 '20 07:04 eleijonmarck

@eleijonmarck What were the commands you used to build darling? If you updated darling, did you make sure to also update the submodules as well?

CuriousTommy avatar Apr 03 '20 23:04 CuriousTommy

@eleijonmarck What were the commands you used to build darling? If you updated darling, did you make sure to also update the submodules as well?

No I did a first install of it.

eleijonmarck avatar Apr 06 '20 05:04 eleijonmarck

I am getting the same error on Fedora 35, is there any fix besides compiling on a docker container? modprobe: FATAL: Module darling-mach not found in directory /lib/modules/5.15.12-200.fc35.x86_64 Failed to load the kernel module

Ziad0dev avatar Jan 07 '22 03:01 Ziad0dev