Skip to content

bpo-14568: local libraries paths not passed to linker on HP-UX #8831

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

Closed
wants to merge 1 commit into from

Conversation

michael-o
Copy link
Contributor

@michael-o michael-o commented Aug 20, 2018

Third party libraries on HP-UX don't reside in /usr/local/lib, but in
/usr/local/lib/hpux<bitness>. These also need to be added to the compiler
library dirs to make linking possible, not just for module discovery.

Patch by Michael Osipov.

https://bugs.python.org/issue14568

@michael-o
Copy link
Contributor Author

This requires a backport to 3.7.

@adiroiban
Copy link

Hi @michael-o .
Thanks for pushing this patch.
Are you using Python on HPUX?

We have a few small patches for Python 2.7 for HPUX here https://github.com/chevah/python-package/tree/master/src/python and trying to get CFFI working on HPUX.
We have a private buildbot slave running tests for Python 2.7 on HPUX.
If you are interested in improving Python on HPUX maybe we can join our error and try to work together.

Cheers

@michael-o
Copy link
Contributor Author

michael-o commented Aug 20, 2018

@adiroiban In short -- yes. We want to migrate some mechinal application from Fortran to Python. Though, we plan to use 3.7+. I do not plan to contribute to 2.7 because it is a dead-end for me.

I'd love to join forces. I have already several PRs created and pushing several other changes locally.

Third party libraries on HP-UX don't reside in /usr/local/lib, but in
/usr/local/lib/hpux<bitness>. These also need to be added to the compiler
library dirs to make linking possible, not just for module discovery.

Patch by Michael Osipov.
@michael-o
Copy link
Contributor Author

@auvipy Thanks for the approval, waiting for the merge....

@michael-o
Copy link
Contributor Author

Closing because there is actually no /usr/local on HP-UX, System V does use /opt, not /usr/local.

@michael-o michael-o closed this Apr 26, 2019
@michael-o michael-o deleted the bpo-14568 branch April 26, 2019 09:16
@adiroiban adiroiban mannequin mentioned this pull request Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants