GNU Astronomy Utilities - Bugs: bug #62904, --disable-shared option not...
You are not allowed to post comments on this tracker with your current authentication level.
bug #62904: --disable-shared option not working for configure script on CentOS 7
Submitter: | Jash Shah <jash_shah> | ||
Submitted: | Tue 16 Aug 2022 07:08:43 PM UTC | ||
Category: | Installation | Severity: | 3 - Normal |
Item Group: | Configuration file | Status: | None |
Privacy: | Public | Assigned to: | None |
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
Description
Upon calling the configure script with the --disable-shared option, the shared library of Gnuastro i.e libgnuastro.so should not be built. However, this behavior is not shown by CentOS 7.
Complete Error message
How did I come across the bug
I have been trying to build many-linux builds for the Python package of Gnuastro as part of sr #110613. This requires me to install gnuastro in a docker container with a CentOS 7 image.
In order to avoid users of the Python package from having to install libgnuastro every time they install the Python package from PyPI, we statically link to libgnuastro by including it in the wheel file itself. This requires Gnuastro in the docker to be built with the --disable-shared option.
How to recreate
The docker image can be found at quay.io/pypa/manylinux2014_x86_64 and info on how to run the docker container can be found at https://github.com/pypa/manylinux .
Once you are inside the docker, you need to install wcslib and cfitsio from their source. You can find more info about how to do so hereThen you can get the latest gnuastro tarball and unzip it. and run the
to recreate the error.