-
Notifications
You must be signed in to change notification settings - Fork 2
test failure macOS Ventura: ld: library not found for -lnghttp2 #18
Copy link
Copy link
Open
Labels
Description
Looks like some recent Macs do not have the nghttp2 library installed, or it is in a location the test is not checking. Test fail log is below.
This is for a share install, perl 5.36.0 via perlbrew. Let me know if you want the full perl -v and other details.
Installing nghttp2 via Homebrew does not change things but Homebrew also warns that it is keg only so is not in the path. (Curl is also keg only fwiw).
Tangential note, the system did not find curl on my system so it ran a share install.
t/alien_curl.t .. 2/? ld: warning: -undefined dynamic_lookup may not work with chained fixups
# Failed test 'xs'
# at t/alien_curl.t line 50.
# ExtUtils::CBuilder->link failed
# error building /Users/shawn/.cpanm/work/1668135943.74670/Alien-curl-0.10/_alien/tmp/test-alien-fuwQ9y/test.bundle from /Users/shawn/.cpanm/work/1668135943.74670/Alien-curl-0.10/_alien/tmp/test-alien-fuwQ9y/test.o at /Users/shawn/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/ExtUtils/CBuilder/Base.pm line 332.
# cc -L/Users/shawn/.cpanm/work/1668135943.74670/Alien-curl-0.10/blib/lib/auto/share/dist/Alien-curl/lib -mmacosx-version-min=13.0 -bundle -undefined dynamic_lookup -fstack-protector-strong -o /Users/shawn/.cpanm/work/1668135943.74670/Alien-curl-0.10/_alien/tmp/test-alien-fuwQ9y/test.bundle /Users/shawn/.cpanm/work/1668135943.74670/Alien-curl-0.10/_alien/tmp/test-alien-fuwQ9y/test.o -lcurl -lnghttp2 -lidn2 -lldap -lz -lnghttp2 -lidn2 -lldap -lz
# ld: library not found for -lnghttp2
# clang: error: linker command failed with exit code 1 (use -v to see invocation)
t/alien_curl.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/6 subtests
Reactions are currently unavailable