Skip to content

iconv doesn't provide .pc file which breaks detection of libarchive #75

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

Open
kjmeagher opened this issue Feb 5, 2025 · 2 comments
Open

Comments

@kjmeagher
Copy link
Member

libarchive provides a .pc file to help detection, but it depends on iconv which does not provide a pc file. This causes breakage so that you can use pkg-config to find libarchive

pkg-config libarchive --cflags
Package iconv was not found in the pkg-config search path.
Perhaps you should add the directory containing `iconv.pc'
to the PKG_CONFIG_PATH environment variable
Package 'iconv', required by 'libarchive', not found
@dsschult dsschult added the bug label Feb 5, 2025
@dsschult
Copy link
Collaborator

dsschult commented Mar 7, 2025

From what I can see, the maintainers of libiconv don't support pkg-config and don't include anything in the src build to provide this. Distros that have one maintain their own patches downstream.

@kjmeagher
Copy link
Member Author

This is an issue with the pre-build binaries provided by spack. I started a discussion there: spack/spack#49687

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

No branches or pull requests

2 participants