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

OpenSSL do not handle well "rpath" on Linux #24382

Closed
iz8mbw opened this issue May 13, 2024 · 1 comment
Closed

OpenSSL do not handle well "rpath" on Linux #24382

iz8mbw opened this issue May 13, 2024 · 1 comment
Labels
issue: bug report The issue was opened to report a bug

Comments

@iz8mbw
Copy link

iz8mbw commented May 13, 2024

Hello.
As discussed here, when configuring OpenSSL from source on Linux with -rpath in order to have OpenSSL installed in a non-default locations, OpenSSL didn't handle well the "rpath" .

I built OpenSSL like this: config -Wl,-rpath=/opt/ssl33/lib -Wl,--enable-new-dtags --prefix=/opt/ssl33 --openssldir=/opt/ssl33.
For some reasons the relative path -Wl,-rpath=/opt/ssl33/lib was not correclty handled.

@iz8mbw iz8mbw added the issue: bug report The issue was opened to report a bug label May 13, 2024
@iz8mbw
Copy link
Author

iz8mbw commented May 13, 2024

With this it worked:

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.

@iz8mbw iz8mbw closed this as completed May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug report The issue was opened to report a bug
Projects
None yet
Development

No branches or pull requests

1 participant