Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2014 01:50:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 195090] New: /usr/bin/ld: cannot find -lstdc++ -  Postgis / geos Error on install..
Message-ID:  <bug-195090-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 195090
           Summary: /usr/bin/ld: cannot find -lstdc++ -  Postgis / geos
                    Error on install..
           Product: Base System
           Version: 10.1-STABLE
          Hardware: i386
                OS: Any
            Status: Needs Triage
          Severity: Affects Many People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: martin@marketbridge.com

Hello,

Go easy on me here - first time reporting what looks like a bug.  I was on 9.1
and had a disaster hardware crash (2 drives - what luck - in RAID 5).  Anyhow,
my data was backed up.  I reinstalled 9.1 from CD but had issues with
re-installing Postgis and Geos.  So I upgraded (might as well) to 10.1 release
but still get the issue below.  I tried compiling Geos pkg from source (no
luck).  It's the gcc linker that keeps complaining about the lstdc++ library
not being there and it is correct.  If I look in /usr/bin, I do not see that
library. ???

Any help is appreciated.

om.a geomgraph/.libs/libgeomgraph.a index/.libs/libindex.a io/.libs/libio.a
linearref/.libs/liblinearref.a noding/.libs/libnoding.a
operation/.libs/liboperation.a planargraph/.libs/libplanargraph.a
precision/.libs/libprecision.a simplify/.libs/libsimplify.a
triangulate/.libs/libtriangulate.a util/.libs/libutil.a -Wl,--no-whole-archive
-L/usr/lib -lstdc++ -lm -lc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o
-Wl,-soname -Wl,libgeos-3.4.2.so -o .libs/libgeos-3.4.2.so

/usr/bin/ld: cannot find -lstdc++

c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[7]: *** [libgeos.la] Error 1

-- 
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>