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

no LC_RPATH's found on macos sonoma #4641

Open
kaligrafy opened this issue Mar 19, 2024 · 4 comments
Open

no LC_RPATH's found on macos sonoma #4641

kaligrafy opened this issue Mar 19, 2024 · 4 comments
Labels
troubleshooting a request to help debug an issue with the software

Comments

@kaligrafy
Copy link

kaligrafy commented Mar 19, 2024

I get this error while starting valhalla_service in macos sonoma on arm:

dydyld[52020]: Library not loaded: @rpath/libvalhalla.3.dylib
Referenced from: /usr/local/bin/valhalla_service
Reason: no LC_RPATH's foundld[52020]: Librar y not loaded: @rpath/libvalhalla.3.dylib
Referenced from: /usr/local/bin/valhalla_service
Reason: no LC_RPATH's found

@kevinkreiser
Copy link
Member

@kaligrafy did you want to maybe clarify what the issue is? i assume its something with locales but without more of an explanation i'd be inclined to close the issue.

@kaligrafy
Copy link
Author

kaligrafy commented Mar 19, 2024

Sorry, the content of the message was lost! Added it back

@kaligrafy kaligrafy changed the title LC_RPATH no LC_RPATH's found on macos sonoma Mar 19, 2024
@kevinkreiser kevinkreiser added the troubleshooting a request to help debug an issue with the software label Mar 19, 2024
@kevinkreiser
Copy link
Member

to me this looks like a mac specific thing... im not sure what this rpath thing is but it seems you need to tell your system where it shoudl look for the installed libvalhalla dynamicly linked library. in linux we do that with LD_LIBRARY_PATH but it seems that maybe this LC_RPATH is like a "relative" path? maybe all you need is:

LC_RPATH=../lib valhalla_service valhalla.json

assuming that libvalhalla.3.dylib is in /usr/local/lib. im just guessing though and haven't researched this 😄

@kaligrafy
Copy link
Author

It works if I run the service from the build dir as you said, but can't install it globally yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
troubleshooting a request to help debug an issue with the software
Projects
None yet
Development

No branches or pull requests

2 participants