EntryPointNotFound with x86 binary on x64 (Linux)
See original GitHub issueI’m running Void Linux and have tried the latest release binary as well as compiling it manually with 32bit versions of mono, msbuild, and libgdiplus with never any luck. I’m sure it’s as simple as me just missing a dependency but there’s no mention of them and I really know nothing about .NET
System.EntryPointNotFoundException: MessageBeep
at (wrapper managed-to-native) Microsoft.SqlServer.MessageBox.ExceptionMessageBoxForm.MessageBeep(Microsoft.SqlServer.MessageBox.ExceptionMessageBoxForm/BeepType)
at Microsoft.SqlServer.MessageBox.ExceptionMessageBoxForm.Beep () [0x00030] in <ad707fea65384e9586f402d5c8889649>:0
at Microsoft.SqlServer.MessageBox.ExceptionMessageBoxForm.NewMessageBoxForm_Load (System.Object sender, System.EventArgs e) [0x00026] in <ad707fea65384e9586f402d5c8889649>:0
at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x0001f] in <9835c66fd5474f78b8153be779aa52c8>:0
at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00023] in <9835c66fd5474f78b8153be779aa52c8>:0
Unhandled Exception:
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Microsoft.SqlServer.MessageBox.ExceptionMessageBoxForm'.
at System.Windows.Forms.Control.CreateHandle () [0x00013] in <9835c66fd5474f78b8153be779aa52c8>:0
at System.Windows.Forms.Form.CreateHandle () [0x00000] in <9835c66fd5474f78b8153be779aa52c8>:0
at System.Windows.Forms.Control.get_Handle () [0x00022] in <9835c66fd5474f78b8153be779aa52c8>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00090] in <9835c66fd5474f78b8153be779aa52c8>:0
at System.Windows.Forms.Form.ShowDialog (System.Windows.Forms.IWin32Window owner) [0x001b7] in <9835c66fd5474f78b8153be779aa52c8>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window)
at Microsoft.SqlServer.MessageBox.ExceptionMessageBox.Show (System.Windows.Forms.IWin32Window owner) [0x0040f] in <ad707fea65384e9586f402d5c8889649>:0
at ReClassNET.Program.ShowException (System.Exception ex) [0x0001f] in <278374da9bc743a0a12245dbbb6e842d>:0
at ReClassNET.Program.Main (System.String[] args) [0x000c0] in <278374da9bc743a0a12245dbbb6e842d>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Microsoft.SqlServer.MessageBox.ExceptionMessageBoxForm'.
at System.Windows.Forms.Control.CreateHandle () [0x00013] in <9835c66fd5474f78b8153be779aa52c8>:0
at System.Windows.Forms.Form.CreateHandle () [0x00000] in <9835c66fd5474f78b8153be779aa52c8>:0
at System.Windows.Forms.Control.get_Handle () [0x00022] in <9835c66fd5474f78b8153be779aa52c8>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00090] in <9835c66fd5474f78b8153be779aa52c8>:0
at System.Windows.Forms.Form.ShowDialog (System.Windows.Forms.IWin32Window owner) [0x001b7] in <9835c66fd5474f78b8153be779aa52c8>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window)
at Microsoft.SqlServer.MessageBox.ExceptionMessageBox.Show (System.Windows.Forms.IWin32Window owner) [0x0040f] in <ad707fea65384e9586f402d5c8889649>:0
at ReClassNET.Program.ShowException (System.Exception ex) [0x0001f] in <278374da9bc743a0a12245dbbb6e842d>:0
at ReClassNET.Program.Main (System.String[] args) [0x000c0] in <278374da9bc743a0a12245dbbb6e842d>:0
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How does x86 / x64 binary compatibility work on Linux?
It depends on the GNU/Linux distribution in question, and whether relevant packages for 32-bit compatibility have been installed.
Read more >How to determine if a linux binary file is 32-bit or 64-bit?
The answer to the question in the title is right there at the beginning of the output: ELF 64-bit LSB executable, x86-64.
Read more >How to Compile 32-bit Binary on 64-bit Linux System
A practical guide to compiling 32-bit binaries on 64-bit Linux systems.
Read more >How to compile a 32-bit binary on a 64-bit linux machine ...
In short: use the -m32 flag to compile a 32-bit binary. Also, make sure that you have the 32-bit versions of all required...
Read more >Qsturng ado not found. It contains only 3 parameters. It seems a
Qsturng ado not found. It contains only 3 parameters. It seems as though QtCore 1 Answer. Allversions below are equivalent; the qOverload one...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Welp… After an endless time spent recompiling it was as simple as only installing 32bit mono (
XBPS_ARCH=i686 sudo -E xbps-install -Uf mono
on my distro) and changing to the x86 directory before running it. Hopefully this helps someone in the future though lol.Could you try if this change helps?