Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2017 08:59:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222998] graphics/ImageMagick: failed to build 6.9.9-15 on 11.1 with error cannot find -lstdc++
Message-ID:  <bug-222998-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 222998
           Summary: graphics/ImageMagick: failed to build 6.9.9-15 on 11.1
                    with error cannot find -lstdc++
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kwm@FreeBSD.org
          Reporter: guyyur@gmail.com
             Flags: maintainer-feedback?(kwm@FreeBSD.org)
          Assignee: kwm@FreeBSD.org

I am trying to build graphics/ImageMagick 6.9.9-15 on 11.1-RELEASE-p1 and I=
 get
the following error:

/usr/bin/ld: cannot find -lstdc++
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
gmake[3]: *** [Makefile:5557: Magick++/lib/libMagick++-6.la] Error 1


>From configure output it looks like it assumes gcc:
checking for gcc... cc
...
checking whether we are using the GNU C++ compiler... yes


If I add compiler:gcc-c++11-lib to USES it builds successfully.

--=20
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-222998-13>