[MacPorts] #30309: geos @3.3.0: Undefined symbols __ZNSt8auto_ptrIN4geos4geom8EnvelopeEEcvSt12auto_ptr_refIT_EIS2_EEv (was: Geos 3.3.0 installation problem on Lion)
MacPorts
noreply at macports.org
Mon Aug 8 06:47:46 PDT 2011
#30309: geos @3.3.0: Undefined symbols
__ZNSt8auto_ptrIN4geos4geom8EnvelopeEEcvSt12auto_ptr_refIT_EIS2_EEv
-------------------------------+--------------------------------------------
Reporter: pico303@… | Owner: opendarwin@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.0
Keywords: lion | Port: geos
-------------------------------+--------------------------------------------
Changes (by ryandesign@…):
* cc: nlebedev@… (added)
Old description:
> When installing Geos 3.3.0 (for PostGIS), I got the following error:
>
> {{{
> :info:build Undefined symbols for architecture x86_64:
> :info:build
> "__ZNSt8auto_ptrIN4geos4geom8EnvelopeEEcvSt12auto_ptr_refIT_EIS2_EEv",
> referenced from:
> :info:build virtual thunk to
> geos::geom::GeometryCollection::computeEnvelopeInternal() constin
> GeometryCollection.o
> :info:build
> "std::auto_ptr<geos::geom::Envelope>::auto_ptr(std::auto_ptr_ref<geos::geom::Envelope>)",
> referenced from:
> :info:build virtual thunk to
> geos::geom::GeometryCollection::computeEnvelopeInternal() constin
> GeometryCollection.o
> :info:build ld: symbol(s) not found for architecture x86_64
> :info:build collect2: ld returned 1 exit status
> :info:build make[2]: *** [libgeos.la] Error 1
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_geos/geos/work/geos-3.3.0/src'
> :info:build make[1]: *** [all-recursive] Error 1
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_geos/geos/work/geos-3.3.0/src'
> :info:build make: *** [all-recursive] Error 1
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_geos/geos/work/geos-3.3.0'
> :info:build shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_geos/geos/work/geos-3.3.0"
> && /usr/bin/make -j2 -w all " returned error 2
> :error:build Target org.macports.build returned: shell command failed
> (see log for details)
> }}}
>
> It did work if I installed Geos as follows:
>
> sudo port install geos configure.cc=gcc-4.2 configure.cxx=g++-4.2
New description:
When installing Geos 3.3.0 (for PostGIS), I got the following error:
{{{
:info:build Undefined symbols for architecture x86_64:
:info:build
"__ZNSt8auto_ptrIN4geos4geom8EnvelopeEEcvSt12auto_ptr_refIT_EIS2_EEv",
referenced from:
:info:build virtual thunk to
geos::geom::GeometryCollection::computeEnvelopeInternal() constin
GeometryCollection.o
:info:build
"std::auto_ptr<geos::geom::Envelope>::auto_ptr(std::auto_ptr_ref<geos::geom::Envelope>)",
referenced from:
:info:build virtual thunk to
geos::geom::GeometryCollection::computeEnvelopeInternal() constin
GeometryCollection.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: ld returned 1 exit status
:info:build make[2]: *** [libgeos.la] Error 1
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_geos/geos/work/geos-3.3.0/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_geos/geos/work/geos-3.3.0/src'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_geos/geos/work/geos-3.3.0'
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_geos/geos/work/geos-3.3.0"
&& /usr/bin/make -j2 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see
log for details)
}}}
It did work if I installed Geos as follows:
{{{
sudo port install geos configure.cc=gcc-4.2 configure.cxx=g++-4.2
}}}
--
Comment:
Has duplicate #30655.
--
Ticket URL: <https://trac.macports.org/ticket/30309#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list