Open peastman opened 4 months ago
Should Delocate add an alternative syntax for handing DYLD_LIBRARY_PATH
? Such as an --extra-library-path <dir>
argument?
That would be really useful. In the mean time, it's no problem to use python -m
. Maybe document it so people know about the issue?
Should Delocate add an alternative syntax for handing
DYLD_LIBRARY_PATH
? Such as an--extra-library-path <dir>
argument?
This could be quite helpful in general as macOS SIP can be quite confusing.
Describe the bug I'm setting
DYLD_LIBRARY_PATH
to tell delocate where to find my libraries, but it still fails to find them:On the other hand, if I invoke it as a python module then it does work:
I tried modifying
delocate_listdeps.main()
to add the lineat the very start. This confirms that the environment variable is seen when I run it with
python -m
, but not when I use thedelocate-listdeps
command line tool. Something in there is blocking the environment variables.Platform (please complete the following information):