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

Make sure libGaudiCoreSvc.so is found by genconf #97

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

Conversation

gganis
Copy link

@gganis gganis commented Feb 25, 2023

Fixes several dlopen failures on MacOsX of this sort:

WARNING: cannot load libGaudiCoreSvc.so for factory ApplicationMgr
WARNING: dlopen(libGaudiCoreSvc.so, 0x0009): tried: 'libGaudiCoreSvc.so' (no such file), '/usr/local/lib/libGaudiCoreSvc.so' (no such file), '/usr/lib/libGaudiCoreSvc.so' (no such file), '/Users/ganis/local/key4hep/build/k4FWcore/test/k4FWCoreTest/libGaudiCoreSvc.so' (no such file)

Setting LD_LIBRARY_PATH and similar does not work, but perhaps there is another way to fix it.

BEGINRELEASENOTES

  • Fixes several dlopen failures on MacOsX due to libGaudiCoreSvc.so not being found.

ENDRELEASENOTES

Fixies a dlopen failire on MacOsX. Setting LD_LIBRARY_PATH and similar
does not work
@gganis gganis requested a review from vvolkl February 25, 2023 12:38
@vvolkl
Copy link
Contributor

vvolkl commented Feb 26, 2023

Hi Gerri, yes, I'm hoping this issue will be fixed upstream, see issue https://gitlab.cern.ch/gaudi/Gaudi/-/issues/251 .
Using the current working directory for the libraries is possible, but it has the downside that you would need to do this for all gaudi modules, so most key4hep packages as well, which seems cumbersome. #98 is an alternative fix that should work for everything, provided you are not using the system python, but an installation outside of /usr/bin.

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

Successfully merging this pull request may close these issues.

2 participants