[MacPorts] #53508: python36 @3.6.0_0+readline: python3.6-config --ldflags does not provide complete library search path

MacPorts noreply at macports.org
Tue Feb 7 17:52:17 UTC 2017


#53508: python36 @3.6.0_0+readline: python3.6-config --ldflags does not provide
complete library search path
------------------------+----------------------
 Reporter:  jdswinbank  |      Owner:
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  python36
------------------------+----------------------
 To illustrate:

 {{{
 $ python3.6-config --ldflags
 -L/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/config-3
 .6m-darwin -lpython3.6m -lintl -ldl -framework CoreFoundation

 $ c++ test.cc $(python3.6-config --ldflags)  # for trivial test.cc
 ld: library not found for -lintl
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}

 `libintl.dylib` lives in `/opt/local/lib`, which isn't searched by
 default: I'd expect `python3.6-config` to output it if necessary (which it
 is).

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


More information about the macports-tickets mailing list