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

pythonfmu-export problem in another system #192

Open
levanthanh3005 opened this issue Nov 26, 2023 · 2 comments
Open

pythonfmu-export problem in another system #192

levanthanh3005 opened this issue Nov 26, 2023 · 2 comments

Comments

@levanthanh3005
Copy link

Hi,
After run build, I bring my fmu file to another system, and it does not work with the error:
"Failed to load shared library /tmp/tmp9az2e0dh/binaries/linux64/PythonSlave.so. libpython3.9.so.1.0: cannot open shared object file: No such file or directory"
I think I have not pack it in the pythonfmu-export,
Do you have a full script from "pythonfmu build -f fmu-pythonslave.py" to the pythonfmu-export that pack the entire fmu inside the binary wrapper of C++.
I can not find it in the folder pythonfmu-export or the script in github action,
Regards,
T

@levanthanh3005 levanthanh3005 changed the title pythonfmu-export pythonfmu-export problem in another system Nov 26, 2023
@markaren
Copy link
Member

markaren commented Dec 1, 2023

PythonFMU links with Python 3.9, so it expects to find it on the target system. This has been an issue on Linux from the start.
#187 should fix the issue, so if you are able to build from source that should fix the issue.

@markaren
Copy link
Member

markaren commented Dec 6, 2023

Please re-export using PythonFMU 0.6.3 and see if the issue is resolved.

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

No branches or pull requests

2 participants