Skip to content

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

Open

Description

@kjmeagher

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

Activity

  1. dsschult commented on Mar 7, 2025

    @dsschult
    Collaborator

    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.

  2. kjmeagher commented on Mar 25, 2025

    @kjmeagher
    MemberAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions