From owner-freebsd-bugs@FreeBSD.ORG Thu Nov 20 15:23:42 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9AE408CD for ; Thu, 20 Nov 2014 15:23:42 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 682F59DE for ; Thu, 20 Nov 2014 15:23:42 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sAKFNghH008016 for ; Thu, 20 Nov 2014 15:23:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 195090] /usr/bin/ld: cannot find -lstdc++ - Postgis / geos Error on install.. Date: Thu, 20 Nov 2014 15:23:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: martin@marketbridge.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2014 15:23:42 -0000 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 >&)' ../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.