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
ExtUtils::Embed::ldopts produces wrong output for static perl #6856
Comments
From stas@stason.orgCreated by stas@stason.orgThis bugreport is talking about 5.8.1, but quite possible it applies to other ExtUtils::Embed says: perl -MExtUtils::Embed -e ldopts -- DynaLoader This will print arguments for linking with just the DynaLoader but it doesn't. I get: perl-5.8.1-ithread-nouseshrplib -MExtUtils::Embed -e ldopts -- DynaLoader -rdynamic -L/usr/local/lib instead of giving me: /home/stas/perl/5.8.1-ithread-nouseshrplib/lib/5.8.1/i686-linux-thread-multi/CORE/libperl.a it gives: -L/home/stas/perl/5.8.1-ithread-nouseshrplib/lib/5.8.1/i686-linux-thread-multi/CORE which is suitable for shared libperl.so, which I don't have (for this not talking about the duplicated Dynaloader.a entry (notice that I This bug was reported by Bryn Dyment, running on Brian has posted his 'perl -V' here: Perl Info
|
From stas@stason.orgStas Bekman (via RT) wrote: Some more info on this issue:
Eventually we figured out that the user had -L/usr/lib while linking and he So should ExtUtils::Embed be fixed to give a full path to libperl.a when perl __________________________________________________________________ |
Migrated from rt.perl.org#24258 (status was 'open')
Searchable as RT24258$
The text was updated successfully, but these errors were encountered: