Problem building OpenSSL 3.3.0 from source - RPATH - Shared libraries #24365
-
Hello.
also
Where is the issue? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
According to the NOTES.UNIX file the syntax for setting rpath looks like this: Line 43 in 3de3d48 Note the comma after rpath and lack of |
Beta Was this translation helpful? Give feedback.
-
Do you think is the case to open an Issue on GitHub about this bug? |
Beta Was this translation helpful? Give feedback.
-
Even explicit path works for me. This is what I have done on my system (OpenBSD-7.5)
runpath is set ax expected. |
Beta Was this translation helpful? Give feedback.
-
Ah, I figured this out. The original command should have been: ./config -Wl,-rpath,/opt/ssl33/lib64 -Wl,--enable-new-dtags --prefix=/opt/ssl33 --openssldir=/opt/ssl33 Note the "lib64" instead of "lib" at the end of the rpath. With that it all works. This kind of problem is why I suppose the "$(LIBRPATH)" form is the recommended approach in NOTES-UNIX.md:
|
Beta Was this translation helpful? Give feedback.
Hmmm....I just tried it and got the same problem.
I got it working like this:
Not sure why the explicit rpath didn't work