[MacPorts] #54412: nghttp2 @1.23.1 won't build on Snow Leopard, Mac OS X 10.6.8, (cxx_stdlib = libc++) because of "Undefined symbols for architecture x86_64"

MacPorts noreply at macports.org
Sun Jul 2 20:39:52 UTC 2017


#54412: nghttp2 @1.23.1 won't build on Snow Leopard, Mac OS X 10.6.8, (cxx_stdlib =
libc++) because of "Undefined symbols for architecture x86_64"
-------------------------+---------------------
 Reporter:  ballapete    |      Owner:
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.4.1
 Keywords:  snowleopard  |       Port:  nghttp2
-------------------------+---------------------
 {{{
 libtool: link: /opt/local/bin/clang-mp-3.9 -pipe -Os -arch x86_64
 -Wl,-headerpad_max_install_names -arch x86_64 -o .libs/libevent-client
 libevent-client.o -pthread  -L/opt/local/lib ../lib/.libs/libnghttp2.dylib
 ../third-party/.libs/libhttp-parser.a -levent -levent_openssl -lcrypto
 -lssl -ldl -pthread
 clang: warning: argument unused during compilation: '-pthread'
 clang: warning: argument unused during compilation: '-pthread'
 clang: warning: argument unused during compilation: '-pthread'
 clang: warning: argument unused during compilation: '-pthread'
 Undefined symbols for architecture x86_64:
   "_strndup", referenced from:
       _main in libevent-client.o
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54412>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list