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

Configure netcdf-4.9.2 without libzip #2792

Closed
WardF opened this issue Nov 7, 2023 Discussed in #2791 · 0 comments · Fixed by #2793
Closed

Configure netcdf-4.9.2 without libzip #2792

WardF opened this issue Nov 7, 2023 Discussed in #2791 · 0 comments · Fixed by #2793
Assignees
Milestone

Comments

@WardF
Copy link
Member

WardF commented Nov 7, 2023

Discussed in #2791

Originally posted by vbsteph November 6, 2023
Attempting to configure netcdf-4.9.2 with Autotools such that -lzip does not get included as an "extra library". libzip is installed on the system in question, but due to some downstream linking issues, we specifically want to build netcdf without libzip (or zlib). Based on the docs, I thought that disabling nczarr and netcdf-4 (and therefore hdf5) would be enough, but no luck. I've been unable to come up with a combination of configure line options that eliminates the dependency; this is the most recent set I tried that still resulted in -lzip as an extra library:

--disable-shared
--disable-nczarr
--disable-hdf5
--disable-netcdf-4
--disable-netcdf4
--disable-dap
--disable-byterange
--disable-testsets
--disable-cdf5

Is there a set of options I can use to eliminate that dependency? Does the configure step always include that library when found regardless of whether it's needed?

EDIT: building with gcc 10.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant