Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2014 15:23:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 195090] /usr/bin/ld: cannot find -lstdc++ -  Postgis / geos Error on install..
Message-ID:  <bug-195090-8-M5XUtrdzwg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195090-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195090-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195090

--- Comment #4 from martin@marketbridge.com ---
Ok, I made headway on this... VERY STRANGE ... I found some packages that were
installed to support GEOS showed a certain version with the "pkg info" command
but when I tried to deinstall and make clean inside that version, it said the
package was not installed.  I would then go into another port version... and
THEN I could deinstall even though pkg info showed a different version.  I
don't get it.  Anyhow, I deinstalled all Postgis dependencies, make clean and
then reinstalled them.  NOW, the pkg info command shows the correct version and
all dependencies installed without a problem (including geos).  However, I have
one remaining problem:

"./liblwgeom/.libs/liblwgeom.so: undefined reference to
`geos::operation::valid::IsValidOp::getValidationError()'
../liblwgeom/.libs/liblwgeom.so: undefined reference to
`geos::io::WKBReader::read(std::__1::basic_istream<char,
std::__1::char_traits<char> >&)'
../liblwgeom/.libs/liblwgeom.so: undefined reference to `std::terminate()'
../liblwgeom/.libs/liblwgeom.so: undefined reference to
`geos::triangulate::DelaunayTriangulationBuilder::setSites(geos::geom::Geometry
const&)'
../liblwgeom/.libs/liblwgeom.so: undefined reference to
`geos::geom::GeometryFactory::createMultiPolygon() const'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:103: recipe for target 'shp2pgsql' failed
gmake[4]: *** [shp2pgsql] Error 1
gmake[4]: Leaving directory
'/usr/ports/databases/postgis21/work/postgis-2.1.3/loader'
GNUmakefile:14: recipe for target 'all' failed
gmake[3]: *** [all] Error 1
gmake[3]: Leaving directory '/usr/ports/databases/postgis21/work/postgis-2.1.3'
"

I cannot explain this.  This is on make install clean for:
 /usr/ports/database/postgis21

Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195090-8-M5XUtrdzwg>