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

FIX: changed find strategy of cmake for python #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HenningScheufler
Copy link
Contributor

For the linux system, libpythonfmu-export.so has to be unique for every python version and readelf -d libpythonfmu-export.so should link to the corresponding python version (here: 3.7 )

0x0000000000000001 (NEEDED) Gemeinsame Bibliothek [libpython3.7m.so.1.0]
0x0000000000000001 (NEEDED) Gemeinsame Bibliothek [libstdc++.so.6]
0x0000000000000001 (NEEDED) Gemeinsame Bibliothek [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Gemeinsame Bibliothek [libc.so.6]
0x000000000000000e (SONAME) soname der Bibliothek: [libpythonfmu-export.so]

NOTE: this fix requires CMAKE 3.15 ubuntu 20.04 ships with 3.16

@markaren
Copy link
Member

Perhaps better to build with ubuntu-18.04 and update cmake (pip install cmake) ? The real question is if ubuntu-18.04 users can use the binary built by a newer version?

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

Successfully merging this pull request may close these issues.

2 participants