Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
GitHub or Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 1530 [details]
error produced when running the executable created by mkbundle on a machine without Mono
(I guess this could be related to #3263)
I want to create a static Linux build of Lazyrenamer http://code.google.com/p/lazyrenamer/
I run this command:
mkbundle -o lazyrenamer_bundle_deps_static_z LazyRenamer.exe --deps --static -z
When I try to run the resulting executable on a machine without Mono installed, I get an error message about missing libc (note it is just "libc", with no .dll suffix). This appears to be because the test system doesn't have any dev packages installed - it runs without that error once I create libc.so as a link to the actual libc-2.15.so that is on the system.
Now I get the attached error which seems to indicate that it can't find "gdiplus.dll", and I can't figure out a workaround. Am I missing something?
you need to put a config file with --config also to map libc.
I don't think the question was fully answered. It is not clear what the original reporter's precise question was.
- if it is missing routines in libc, and libgdiplus vs gdiplus.dll, it is as I said, mkbundle --config is the anwser.
- OTOH, System.Windows.Forms , do need libgdiplus or gdiplus.dll . That's requirement for GUI programs from the .net world . mkbundle cannot change that.