Skip to content

[doc] Changing libpth for building extensions #23267

Open
@Flamefire

Description

@Flamefire

Where
Possibly ExtUtils::Liblist::ext()

Description

ExtUtils::Liblist::ext() use libpth to search for libraries and custom implementations of it follow suit.
If I understood this correctly libpth is set during the configure/build of Perl itself.

We are in an environment that sets LD_LIBRARY_PATH & LIBRARY_PATH dynamically before building and using extensions.
But this seems to get ignored.

I've seen e.g. Term:Readline:Gnu providing e.g. --libdir to add paths but haven't found any option to modify libpth to have something generic enough.

Is this missing from the documentation, somewhere I haven't found yet or does it not exist at all?

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