Skip to content

linux x86 upstream build NativeCore.so exception #241

Closed
@ihateadmins

Description

@ihateadmins

x64 build works flawless, but x86 is displaying error msgbox in Release:
Failed to load native core functions! Couldnt find at location /home/foo/ReClass.NET-projects/ReClass.NET/build/Release/x86/NativeCore.so

and in Debug version:

Unhandled Exception:
System.IO.FileNotFoundException: Failed to load native core functions! Couldnt find at location /home/foo/ReClass.NET-projects/ReClass.NET/build/Debug/x86/NativeCore.so
at ReClassNET.Core.InternalCoreFunctions.Create () [0x0003e] in :0
at ReClassNET.Core.CoreFunctionsManager..ctor () [0x00013] in :0
at ReClassNET.Program.Main (System.String[] args) [0x000f0] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Failed to load native core functions!
Couldnt find at location /home/foo/ReClass.NET-projects/ReClass.NET/build/Debug/x86/NativeCore.so
at ReClassNET.Core.InternalCoreFunctions.Create () [0x0003e] in :0
at ReClassNET.Core.CoreFunctionsManager..ctor () [0x00013] in :0
at ReClassNET.Program.Main (System.String[] args) [0x000f0] in :0

NativeCore.so exists in both directories for build and debug x86. It is the same file as in the respective NativeCore/Unix/ x86 directories

#root@foo /h/f/R/R/b/D/x86 (master) [1]# file NativeCore.so
NativeCore.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (GNU/Linux), dynamically linked, Build
ID[sha1]=4023686347f2ac70c5ff16d1403b613bb363fe2d, with debug_info, not stripped

Arch Linux with mono-msbuild 16.10.1.xamarinxplat.2021.05.26.14.00-3

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