-
Notifications
You must be signed in to change notification settings - Fork 577
[doc] Changing libpth for building extensions #23267
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
Comments
My impression is that you haven't supplied sufficient information for us to help you with your problem. For example, I can't identify the operating system on which you are experiencing this problem. Can you supply us with the output of Can you supply us with the sequence of commands that reproduces the problem? If you have a
Please note that ExtUtils::Liblist is maintained upstream on CPAN as part of the ExtUtils-MakeMaker distribution. So any code change will first have to be sent to that library's issue tracker/pull request queue and evaluated there before appearing in the Perl core distribution. |
I'm using a Linux system, SLES 8 to be exact but this applies to any system supporting LD_LIBRARY_PATH & LIBRARY_PATH Not sure what you need to "reproduce". The question is basically: How to change This needs to be done either generally, via an environment variable or with a flag to perl such that In the source I have found this place where the value of this config options seems to be determined during configure and not updated on runtime: Line 202 in 29cc805
$ ./perl -Ilib -VSummary of my perl5 (revision 5 version 38 subversion 2) configuration:Platform: Characteristics of this binary (from libperl): |
Where
Possibly
ExtUtils::Liblist::ext()
Description
ExtUtils::Liblist::ext()
uselibpth
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 modifylibpth
to have something generic enough.Is this missing from the documentation, somewhere I haven't found yet or does it not exist at all?
The text was updated successfully, but these errors were encountered: