Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.DllNotFoundException /app/mono/lib/libgdiplus.so #6

Open
sergeykosik opened this issue Feb 27, 2014 · 1 comment
Open

System.DllNotFoundException /app/mono/lib/libgdiplus.so #6

sergeykosik opened this issue Feb 27, 2014 · 1 comment

Comments

@sergeykosik
Copy link

I am trying to run the asp.net app using FlexCel (http://www.tmssoftware.com/site/flexcel.asp ) on heroku and getting DLLNotFoundException.
As I understand this is more about Mono issue.
Any advise on how I can solve the issue with DLLNotFoundException /app/mono/lib/libgdiplus.so?

@fx-adi-lima
Copy link

fx-adi-lima commented Dec 28, 2017

Try to use a .config file, maybe app.exe.config, containing the following:
(assuming the NotFound dll was libc, and if not, change the line to point to your exact location of that library)

<configuration>
  <dllmap dll="libc" target="/lib64/libc-2.26.so"/>
</configuration>

Then launch using --config like this:
mono --config app.exe.config MyApp.exe

Of course, you need to change the name accordingly.
:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants