#40334 closed defect (fixed)
gdal 1.10.1: Undefined symbols: _environ
Reported by: | gnw3 | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | seanasy@…, EJFielding (Eric Fielding), mojca (Mojca Miklavec), ryandesign (Ryan Carsten Schmidt), jorgos.castello@…, calvin@…, mdekauwe (Martin De Kauwe) | |
Port: | gdal |
Description
http://trac.osgeo.org/gdal/ticket/5197. discusses changes in the definition (or
not) of TARGET_OS_IPHONE
by Apple in TargetConditionals.h
as used in port/cpl_spawn.cpp
.
A workaround for Snow Leopard with Xcode 3.2 is to run the configure step, edit port/cpl_spawn.cpp
, and then build.
Change History (11)
comment:1 Changed 11 years ago by mf2k (Frank Schima)
Keywords: | upstream bug removed |
---|
comment:2 Changed 11 years ago by EJFielding (Eric Fielding)
comment:6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… jorgos.castello@… added |
---|
comment:7 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | calvin@… added |
---|---|
Summary: | gdal 1.10.1 build fails on Snow Leopard due to known upstream issue → gdal 1.10.1: Undefined symbols: _environ |
comment:8 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mdekauwe@… added |
---|
Has duplicate #40452.
comment:9 follow-up: 10 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:10 Changed 11 years ago by mdekauwe (Martin De Kauwe)
Replying to ryandesign@…:
how do we apply this fix? Or is it awaiting some kind of confirmation? I tried to reinstall GDAL and it was still failing for me. Thanks
comment:11 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
As always, wait 30 minutes after the commit, then run "sudo port selfupdate".
Note: See
TracTickets for help on using
tickets.
Fails on 10.7.4 also. Seems to be the same reason:
:info:build Undefined symbols for architecture x86_64: :info:build "_environ", referenced from: :info:build _CPLSpawnAsync in cpl_spawn.o :info:build ld: symbol(s) not found for architecture x86_64