Hello,
We have libgdiplus installed on our server.
But we get this error:
Code: Select all
#ls -al /usr/lib/libgdi*
lrwxrwxrwx 1 root root 19 Feb 13 2017 /usr/lib/libgdiplus.so -> libgdiplus.so.0.0.0
lrwxrwxrwx 1 root root 19 Feb 13 2017 /usr/lib/libgdiplus.so.0 -> libgdiplus.so.0.0.0
-rw-r--r-- 1 root root 423896 Feb 13 2017 /usr/lib/libgdiplus.so.0.0.0
#
#./Report
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'gdi32.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libgdi32.dll: cannot open shared object file: No such file or directory
at Stimulsoft.Report.Export.PdfFonts.DeleteObject(IntPtr objectHandle)
at Stimulsoft.Report.Export.PdfFonts.GetFontMetricsFullTrust(Font font, PdfFontInfo currentFontInfo, UInt16[] glyphMap, Boolean isWpf)
at Stimulsoft.Report.Export.PdfFonts.GetFontMetrics(Font font, PdfFontInfo currentFontInfo, UInt16[] glyphMap, Boolean isWpf)
at Stimulsoft.Report.Export.PdfFonts.InitFontsData(Boolean isWpf)
at Stimulsoft.Report.Export.StiPdfExportService.ExportPdf1(StiReport report, Stream stream, StiPdfExportSettings settings)
at Stimulsoft.Report.Export.StiPdfExportService.ExportPdf(StiReport report, Stream stream, StiPdfExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, StiExportService exportService, Stream stream, StiExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, Stream stream, StiExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, Stream stream)
at Report_Dispatcher_CS.Utils.StimulsoftUtils.CreateStiReportPdfStream(report report)
at Report_Dispatcher_CS.Classes.Worker.SendPdfToMail(users_report usersReport)
at Report_Dispatcher_CS.Classes.Worker.Start()
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139_1(Object state)
at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()