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

distutils out-of-date for runtime_library_dirs flag on OS X #46529

Closed
janssen mannequin opened this issue Mar 12, 2008 · 6 comments
Closed

distutils out-of-date for runtime_library_dirs flag on OS X #46529

janssen mannequin opened this issue Mar 12, 2008 · 6 comments
Labels
easy stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@janssen
Copy link
Mannequin

janssen mannequin commented Mar 12, 2008

BPO 2276
Nosy @ronaldoussoren, @tarekziade, @bitdancer

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2015-04-09.17:41:38.054>
created_at = <Date 2008-03-12.02:50:02.430>
labels = ['easy', 'type-bug', 'library']
title = 'distutils out-of-date for runtime_library_dirs flag on OS X'
updated_at = <Date 2015-04-09.17:41:38.051>
user = 'https://bugs.python.org/janssen'

bugs.python.org fields:

activity = <Date 2015-04-09.17:41:38.051>
actor = 'r.david.murray'
assignee = 'janssen'
closed = True
closed_date = <Date 2015-04-09.17:41:38.054>
closer = 'r.david.murray'
components = ['Distutils']
creation = <Date 2008-03-12.02:50:02.430>
creator = 'janssen'
dependencies = []
files = []
hgrepos = []
issue_num = 2276
keywords = ['easy']
message_count = 6.0
messages = ['63469', '74438', '74456', '92319', '189602', '240360']
nosy_count = 4.0
nosy_names = ['ronaldoussoren', 'janssen', 'tarek', 'r.david.murray']
pr_nums = []
priority = 'normal'
resolution = 'rejected'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue2276'
versions = ['Python 2.6', 'Python 3.0', 'Python 3.1', 'Python 2.7']

@janssen
Copy link
Mannequin Author

janssen mannequin commented Mar 12, 2008

The OS X linker now understands -R, but distutils continues to pass the
wrong flags back in
distutils.unixccompiler.runtime_library_dir_option(). I'm checking with
the Apple folks as to exactly what the right flag is.

@janssen janssen mannequin self-assigned this Mar 12, 2008
@janssen janssen mannequin added stdlib Python modules in the Lib dir easy type-bug An unexpected behavior, bug, or error labels Mar 12, 2008
@ronaldoussoren
Copy link
Contributor

Do you mean the -rpath option?

Note that this is (IMHO) less useful than on other systems because the
linked-to library needs to have a specific link path (@rpath/mylib.dylib).

It can be useful for linking extentions though.

Using this feature requires OSX 10.5, AFAIK it is not supported on earlier
releases of OSX.

@janssen
Copy link
Mannequin Author

janssen mannequin commented Oct 7, 2008

Yes, we were looking at using this for linking PyLucene's JCC extension.
I believe we came up with a different way of doing it. It would still
be useful to have distutils.unixccompiler.runtime_library_dir_option()
updated to understand the right flags for Leopard.

@ronaldoussoren
Copy link
Contributor

Could you provide an example that shows why adding support for the -rpath
option on OSX would be useful? (As in a set of source files that shows how
this support would be used).

As I mentioned before the OSX support for -rpath behaves completely
different than that on Linux, and I'd expect that adding
runline_library_dirs_option support for OSX would cause confusion because
of that.

@BreamoreBoy
Copy link
Mannequin

BreamoreBoy mannequin commented May 19, 2013

Is this still a problem or not? If yes what can be done about it? If no can we close it?

@bitdancer
Copy link
Member

Since no example was forthcomming, let's close this.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants