Skip to content

Cannot link statically against alsa library #159

@juliohq

Description

@juliohq

I'm getting the following error when trying to link against alsa (statik set to true):

error: could not find native static library `asound`, perhaps an -L flag is missing?

I'm using a patched pkg-config-rs that removes is_static_available (#102) and in theory, just allows you to statically link any system library.

I'm using Arch Linux, so there are no static libraries (*.a files) under /usr/lib (as stated in this forum comment: https://bbs.archlinux.org/viewtopic.php?pid=751287#p751287). Maybe that's the reason why I cannot statically link on Arch?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions