[MacPorts] #71089: Undefined curl symbols
MacPorts
noreply at macports.org
Tue Oct 15 16:38:06 UTC 2024
#71089: Undefined curl symbols
---------------------+-----------------------
Reporter: tehcog | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.10.2
Resolution: | Keywords: mavericks
Port: |
---------------------+-----------------------
Comment (by tehcog):
Replying to [comment:3 ryandesign]:
> When you had used `./configure`, had you specified any other flags, such
as a flag to tell it which curl to use? Or had you had the `CFLAGS`,
`CPPFLAGS`, and/or `LDFLAGS` environment variables set? (If so, to which
values?) It seems like if the MacPorts build was going to automatically
find your MacPorts curl installation, it should have picked up both the
necessary `CPPFLAGS` (the `-I` flag) and the necessary `LDFLAGS` (the `-L`
flag), not just one of them, since it finds it by using the output of
`curl-config --cflags` (which should print the `-I` flag) and `curl-config
--libs` (which should print the `-L` flag).
Typically I only use ./configure for this 'curl ports install' build, then
install curl into that. I am referencing said installation
(--prefix=/opt/bootstrap_2102) for curl usage - by the main ports install
in /opt/local... - by configuring using '--with-
curlprefix=/opt/bootstrap_2102'.
Based on your information, it sounds like something 'circular' may be
going on.
The only other thing I may have done differently was 'clean' the previous
'curl ports install' - removing leaves - including pkgconfig. However,
pkgconfig port was still available in the main ports install. This time I
have setrequested pkgconfig in the 'curl ports install'. If you see
something based on this new info that may be causing the issue, please let
me know, otherwise we will see what happens next time.
Thanks Again
--
Ticket URL: <https://trac.macports.org/ticket/71089#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list