Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2014 15:17:51 +0100 (CET)
From:      Marcin Gryszkalis <mg@fork.pl>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/186276: /usr/bin/ld: cannot find -lstdc++ (FreeBSD 10-RELEASE) in math/gmp graphics/tiff audio/flac
Message-ID:  <20140130141751.D2B91191AC011@cymeon.fork.pl>
Resent-Message-ID: <201401301430.s0UEU0OO042277@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186276
>Category:       ports
>Synopsis:       /usr/bin/ld: cannot find -lstdc++ (FreeBSD 10-RELEASE) in math/gmp graphics/tiff audio/flac
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 30 14:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Marcin Gryszkalis
>Release:        FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD cymeon.fork.pl 10.0-RELEASE FreeBSD 10.0-RELEASE #1 r261164: Sun Jan 26 00:39:40 CET 2014 root@cymeon.fork.pl:/usr/obj/usr/src/sys/cymeon amd64


	
>Description:
Cannot build these 3 libraries because of mentioned error.
Seems to be the same as ports/184963

	
>How-To-Repeat:
    portmaster audio/flac

--- libFLAC++.la ---
/bin/sh /usr/local/bin/libtool  --tag=CXX    --mode=link c++   -O2 -pipe -O2 -pipe -g -DLIBICONV_PLUG -fno-strict-aliasing -DLIBICONV_PLUG -Wcast-align -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-promo -Wundef  -fvisibility=hidden  -version-info 9:0:3 -L/usr/lib -o libFLAC++.la -rpath /usr/local/lib metadata.lo stream_decoder.lo  stream_encoder.lo ../libFLAC/libFLAC.la -lm
libtool: link: c++  -fPIC -DPIC -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o  .libs/metadata.o .libs/stream_decoder.o .libs/stream_encoder.o   -Wl,-rpath -Wl,/usr/ports/audio/flac/work/flac-1.3.0/src/libFLAC/.libs -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/lib ../libFLAC/.libs/libFLAC.so -L/usr/local/lib /usr/local/lib/libogg.so -lstdc++ -lm -lc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o  -O2 -O2   -Wl,-soname -Wl,libFLAC++.so.9 -o .libs/libFLAC++.so.9
/usr/bin/ld: cannot find -lstdc++
c++: error: linker command failed with exit code 1 (use -v to see invocation)


	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140130141751.D2B91191AC011>