joniles / mpxj

Primary repository for MPXJ library

Home Page:http://www.mpxj.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with Asta PP files when we build solution on docker (Linux)

ndinesh231 opened this issue · comments

Hi jon, we are building the solution on docker with Linux platform. We are facing one problem with deliverables generated from the library
All the files are working fine but Asta PP files are failing with below error

Unable to load shared library 'ikvm-native' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: Error loading shared library libikvm-native: No such file or directory.

But it is working in development environment which is windows.

After checking the output directory on docker, ikvm-native DLL is missing.
Is this expected to not to have ikvm-native DLL on Linux docker build?
Does MPXj supports Linux platform ?
Is there any config we need to do while building the solution with docker to get this DLL in output folder?

Thanks,
Dinesh

Hello Dinesh!

The shared libraries you'll need are part of the nuget package:

image

(I opened the package using NuGet explorer: https://nuget.info/packages/net.sf.mpxj/12.0.0)

It may be that you'll need to ensure that your Visual Studio config copies the native libraries across to your target directory for all of the architectures you want to support.

Hi @joniles ,
We configured everything to copy native libs to the target directory for linux. But no luck, still the same issue
Unable to load shared library 'ikvm-native' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: Error loading shared library libikvm-native: No such file or directory

How to resolve this ?

Thanks,
Dinesh