GNU Astronomy Utilities - Bugs: bug #56508, Custom library installation fails...
You are not allowed to post comments on this tracker with your current authentication level.
bug #56508: Custom library installation fails to link on macOS
Submitter: | Raul Infante-Sainz <infantesainz> | ||
Submitted: | Mon 17 Jun 2019 12:38:12 PM UTC | ||
Category: | Installation | Severity: | 3 - Normal |
Item Group: | Crash | Status: | Postponed |
Privacy: | Public | Assigned to: | makhlaghi |
Open/Closed: | Open |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
No changes have been made to this item
Powered by Savane 3.13-f8d8.
Corresponding source code
When the necessary libraries are not present in a standard search path, Gnuastro's configure script will also search for them in the same directory that Gnuastro will be installed.
For example this is the output line of ./configure for a custom-build CFITSIO:
But since we are intentionally not adding RPATH, when trying to run the programs built in this way, on macOS we get a linking error, for example this line in 'config.log' for the test of 'getgroups':
The interesting situation is that LD_LIBRARY_PATH has not been set. But it is also not used in macOS. However, setting DYLD_LIBRARY_PATH and DYLD_FALLBACK_LIBRARY_PATH for macOS also didn't fix this problem.