Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 2015 04:34:12 +0000 (UTC)
From:      Jin Guojun <jguojun@sbcglobal.net>
To:        Bernt Hansson <bah@bananmonarki.se>,  Questions Freebsd <questions@freebsd.org>
Subject:   Re: mis-match library in 10.1 octave/g++48 package
Message-ID:  <902159866.4278844.1428035652702.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <551D10C7.7080201@bananmonarki.se>
References:  <704404404.3511095.1427958533488.JavaMail.yahoo@mail.yahoo.com> <551D10C7.7080201@bananmonarki.se>

next in thread | previous in thread | raw e-mail | index | archive | help
It looks like that libstdc++.so.6 is too old, which does not support GLIB 3.4.10 or later.
libstdc++.so.6 is part of system installation, not a package. 
Question is if installing a latest libstdc++.so, will it break the current system?
-Jin

%./a.out
/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by /usr/local/lib/octave/3.6.3/liboctave.so.2 not found
%strings /usr/lib/libstdc++.so.6 | grep GLIB
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_FORCE_NEW
 


     On Thursday, April 2, 2015 2:50 AM, Bernt Hansson <bah@bananmonarki.se> wrote:
   

 There is a PR for this error

http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2014-March/275149.html


On 2015-04-02 09:08, Jin Guojun wrote:
> I installed octave-3.8.2 and compiled code but got run time error as following:
> g++48 octave-c-api.c -I/usr/local/include/octave-3.8.2/octave -I/usr/local/include -L/usr/local/lib/octave/3.8.2 -loctave -lpcre
>
> ./a.out
> /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc48/libgfortran.so.3 not found
> GNU C library often cause such problem, but it is not clear why gcc 4.8 requires 4.6 library.Does anyone know how to solve this problem?
> Current octave package requires gnu c++ (g++) to build, and native BSD c++ does not work on this build.I wonder if octave can be built by BSD C/C++ compiler instead of G++ to avoid such problem in future.
> Also, since 10.1-R use pkg to fetch/install packages from a centralized repository, and package is keeping to update to the latest release, some mechanism needs to be used to insure the library will match.
> -Jin


   
From owner-freebsd-questions@FreeBSD.ORG  Fri Apr  3 06:55:53 2015
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: questions@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 7454DB0A
 for <questions@freebsd.org>; Fri,  3 Apr 2015 06:55:53 +0000 (UTC)
Received: from nm6.bullet.mail.gq1.yahoo.com (nm6.bullet.mail.gq1.yahoo.com
 [98.136.218.71])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 3A79CBD7
 for <questions@freebsd.org>; Fri,  3 Apr 2015 06:55:52 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048;
 t=1428043998; bh=iR6wo+YnVlXoh6b0rtKT2UkBhDfQ3c+567eyvbqvXSU=;
 h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject;
 b=RQ6A+veqXbf3R+JSTdEu1QkE7PNIE+eLR/rUAlgjPT0DL7woCS417yBsGexMv50J6ga/VH40eehwHnJ8eDvoBXizaERGLm/S7ZOERWvUATFTlZhpxtyEV7SWxUrh0TfIPKWfDm9nbEXiiVeHxg1pwtLbGrOIYzX2Hi/GU6faRXdy8Aikl3b81XLMGXssSpg2tymJhS2JUGeiS53voyvZtUmSRbDJhEX2XDj3smoZTj1O5B4F0XePK8o36S/ZVJRNB6rZMnirlVSTioNRYNcCQDj7OA9Zh2/4uk6erzmH5exu4PfLYsrRcT10SbuNgGm9H5EVfADR5MxQ2utNm5UNMg==
Received: from [98.137.12.60] by nm6.bullet.mail.gq1.yahoo.com with NNFMP;
 03 Apr 2015 06:53:18 -0000
Received: from [98.137.12.195] by tm5.bullet.mail.gq1.yahoo.com with NNFMP;
 03 Apr 2015 06:53:18 -0000
Received: from [127.0.0.1] by omp1003.mail.gq1.yahoo.com with NNFMP;
 03 Apr 2015 06:53:18 -0000
X-Yahoo-Newman-Property: ymail-5
X-Yahoo-Newman-Id: 442518.60368.bm@omp1003.mail.gq1.yahoo.com
X-YMail-OSG: DgteIi8VM1krjbt_0s4UQfdVVcyYbiZ69Q17Y_pzBcAMeTu2_nE7GahrB8Rqsdz
 V66UFjDBGFM7lE0yCl0zGez7uJYHD70ykjTEkk7fca0_gtL.4AWCT0IJb6xTmbB2jt2cSbcuxfkO
 vo0YtjcShi_E9Vd6PzmS9rvBoDgcgfOByOwQarMOEaCNS7vyCVJIe9f5_BXPpvkxG0IRs8ICJjSQ
 fa_tXjsvQVGFlKGnCOBcOSRcVcwUH.V9zaLtSkTL7QlNQNS6beLlmtHDKEMkT2UPpKJc_ObuQive
 cEVj9pnEjOXSG0u5iFu4rs7jPdq2CXX0Qhq4qeH1fLIUUjFKgFV72BCS_SWbYhA8_gnaaRzW0SwL
 N1e9JQDXQfESmBq.EeEXkn97aW6o2KLJ5JFD7mZrw0YKtltRMdLYmwWNrP_1mUvXZIqZjIIcKE60
 .cZTguQr_Nl9DeW6UgsvMRPN5lnqUADn04kR_Fgxsx0CxZwb3xgoXOCvEbRUG4O9W8XFRxhcRBGl
 3r0DbSWtrJ9CTDRFF_hdgWFYj0zvYNtI3NvFKg_s1tnE72ArHebXxlQDXUe3nFJLe2C85bmQbcVA
 069uOUnsLEgEoYOheFuDPqNZMgic1Ps5rLuTOnXRsCh.jgYB.hv1uNHeBkRJui9_P6TJc2Tx.CkO
 wHnKQ
Received: by 98.138.105.213; Fri, 03 Apr 2015 06:53:17 +0000 
Date: Fri, 3 Apr 2015 06:53:17 +0000 (UTC)
From: Jin Guojun <jguojun@sbcglobal.net>
Reply-To: Jin Guojun <jguojun@sbcglobal.net>
To: Bernt Hansson <bah@bananmonarki.se>, 
 Questions Freebsd <questions@freebsd.org>
Message-ID: <1473636192.4348418.1428043997041.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <902159866.4278844.1428035652702.JavaMail.yahoo@mail.yahoo.com>
References: <704404404.3511095.1427958533488.JavaMail.yahoo@mail.yahoo.com>
 <551D10C7.7080201@bananmonarki.se>
 <902159866.4278844.1428035652702.JavaMail.yahoo@mail.yahoo.com>
Subject: Re: mis-match library in 10.1 octave/g++48 package
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Apr 2015 06:55:53 -0000

Okay, switched to 8.4-R and replaced /usr/lib/libstdc++.so.6 from package gcc-4.6.3, the problem solved. 
But still has no clue how to solve the /lib/libgcc_s.so.1 problem for 10.1-R system.

     On Thursday, April 2, 2015 9:34 PM, Jin Guojun <jguojun@sbcglobal.net> wrote:
   
 It looks like that libstdc++.so.6 is too old, which does not support GLIB 3.4.10 or later.
libstdc++.so.6 is part of system installation, not a package. 
Question is if installing a latest libstdc++.so, will it break the current system?
-Jin

%./a.out
/libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by /usr/local/lib/octave/3.6.3/liboctave.so.2 not found
%strings /usr/lib/libstdc++.so.6 | grep GLIB
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_FORCE_NEW
 


     On Thursday, April 2, 2015 2:50 AM, Bernt Hansson <bah@bananmonarki.se> wrote:
   

 There is a PR for this error

http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2014-March/275149.html


On 2015-04-02 09:08, Jin Guojun wrote:
> I installed octave-3.8.2 and compiled code but got run time error as following:
> g++48 octave-c-api.c -I/usr/local/include/octave-3.8.2/octave -I/usr/local/include -L/usr/local/lib/octave/3.8.2 -loctave -lpcre
>
> ./a.out
> /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc48/libgfortran.so.3 not found
> GNU C library often cause such problem, but it is not clear why gcc 4.8 requires 4.6 library.Does anyone know how to solve this problem?
> Current octave package requires gnu c++ (g++) to build, and native BSD c++ does not work on this build.I wonder if octave can be built by BSD C/C++ compiler instead of G++ to avoid such problem in future.
> Also, since 10.1-R use pkg to fetch/install packages from a centralized repository, and package is keeping to update to the latest release, some mechanism needs to be used to insure the library will match.
> -Jin


   

   
From owner-freebsd-questions@FreeBSD.ORG  Fri Apr  3 07:11:05 2015
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@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 233E3C87
 for <freebsd-questions@freebsd.org>; Fri,  3 Apr 2015 07:11:05 +0000 (UTC)
Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com
 [IPv6:2607:f8b0:4001:c03::234])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id DF1DACE6
 for <freebsd-questions@freebsd.org>; Fri,  3 Apr 2015 07:11:04 +0000 (UTC)
Received: by iebrs15 with SMTP id rs15so746372ieb.3
 for <freebsd-questions@freebsd.org>; Fri, 03 Apr 2015 00:11:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:date:message-id:subject:from:to:content-type;
 bh=qnxyG5hQni6hcW1euO5KIwU1Pg1bOz+zzYNLf4z4bKU=;
 b=I63Q29Tyg9EWKD03eR0EcGGo1Tj5NGQJq+4o6aFDdzHPiVhAqGJAKJTuIxf/sMSrMw
 hbV/4a6nRnHXe47uV8kRQZ21iWzmo1awrqnvG7YZoBuzf0WgEqLlwnBi+NZwOw1m2IxB
 Ez1CCECddm1XerH7g7m/mUCRakMjrNk1//Bn0aaV/sYoXvZeQAQIYihNgPJBpftDfQfg
 L9D8H+T/vuA77rP8FvXh+q9JNu8WEx8u2iIlgiXIB0cD2fsdhFcxXicMwpFDb0u29rS8
 /4+R/udWviroo0gz9eTTljzFaG5J6h2M+4eTHs3xFXKMCoYk3/L+fZNZAMV9xdqX0O1O
 Z8rA==
MIME-Version: 1.0
X-Received: by 10.107.38.17 with SMTP id m17mr1745274iom.84.1428045064132;
 Fri, 03 Apr 2015 00:11:04 -0700 (PDT)
Sender: olivier2553@gmail.com
Received: by 10.107.155.135 with HTTP; Fri, 3 Apr 2015 00:11:04 -0700 (PDT)
Date: Fri, 3 Apr 2015 14:11:04 +0700
X-Google-Sender-Auth: WGyIrwyJx8RqRZOziebc00SCHiU
Message-ID: <CA+g+Bvgnn9CUYWb30HkFuJiJn-u_ohWpbjKvRGi1cLQ-Oh33ww@mail.gmail.com>
Subject: Cannot build security/trousers
From: Olivier Nicole <olivier.nicole@cs.ait.ac.th>
To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Apr 2015 07:11:05 -0000

Hi,

I cannot build /usr/ports/security/trousers. It fails during the make
configure part, leaving some nasty lines in the configure script that
end up causing the configure script to fail.

I tried to write to the maintener, but have yet received an answer. A
couple of weeks ago, I got it to compile fine on 3 successive
machines, but today I am facing the 2nd machine that makes trouble.

I don't remember seeing anything about that problem, am I alone?

Note that security/trousers is a stone in building gnutls, so quite necessary.

Best regards,

Olivier



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