From owner-freebsd-questions@FreeBSD.ORG Thu Apr 2 07:12:16 2015 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D719FFFE for ; Thu, 2 Apr 2015 07:12:16 +0000 (UTC) Received: from nm30-vm6.bullet.mail.ne1.yahoo.com (nm30-vm6.bullet.mail.ne1.yahoo.com [98.138.91.123]) (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 9E3FC131 for ; Thu, 2 Apr 2015 07:12:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1427958534; bh=yos/3f8MRaKw2VR5LkUcmKcwsIKlG9JPiwm7Fm/nmZU=; h=Date:From:Reply-To:To:Subject:From:Subject; b=OZ8JU5y8eefnAmAENjTOFmbfPSfXVDNQzDvYB2AKSfVfTjp5pZg+QBDiMQ2IklXQeeSrKnBh26FxH1WY6mgGtYKI3y9qo7jG9Hn5h0AzjjeyRZuAsOZMT09m4Cvp2II0oz941mI7qojQ5MsEa7hZQqFUjkUyzTkyPzpNUw4V7bHmFn2+qS/w9wwMeP2URntnXXlB91T0KULn1b+slScxgeeLlHLNf7bkxOXZvjS8MtneGHjduANaQ7pMVEHkE810+htIok1+r+DWgDEZCezM7xLGC0trtFwEaLKY/h6x43CO/UxHTqbmEzyB/7mGyh3XhW02ZkMlE5jFCMfU9sdp+g== Received: from [98.138.226.180] by nm30.bullet.mail.ne1.yahoo.com with NNFMP; 02 Apr 2015 07:08:54 -0000 Received: from [98.138.88.236] by tm15.bullet.mail.ne1.yahoo.com with NNFMP; 02 Apr 2015 07:08:54 -0000 Received: from [127.0.0.1] by omp1036.mail.ne1.yahoo.com with NNFMP; 02 Apr 2015 07:08:54 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 417569.12187.bm@omp1036.mail.ne1.yahoo.com X-YMail-OSG: bZfSxEkVM1l5j29zGM3L4OEcaPym4Y2TBf38.v8a2hPOIrdAQ62jO4TqFSQZ4eK 2gQTGgtxaiDEkWrUG._4cvyq07HVFhs3GOJPZgXLB9l0_LuLtoadC8rS4E_SySbbhrqgHm7mdJN7 2YBMB7mKwdaIxqQkBcIVZCiDYMxGAmSPkXduaHkS9qdGrXnmjUG0PFjpfIFPzh7g3E7YVdp5spXR 8ZObH6nijB.58yu1UW1HSvoXz872jXQyf0zTDsH24Zaeq.qhB23ICxDks48_G2sx4OHhd1TSytNe yVy7RHuIbONR_D31UoyOI2g2GA8AAh9mRzrHDy5H21FdhBV95VCCA9rQyOfSPYx9W.BhvoeO6Hq7 P__u6pH6Gfcqe0Jw00SZUImW5.B0tpT9EB8IORVnkLRsJc8kU4PyGUKI.xaPCqVti7HEUMelCirF 8ZQ6qHV0dnTMoZVTWk7JKY2L4UrE0sA3BEVKzt1uANMwDfyUBE_6VVfEFL3jHhCcW58wwkLeCPTw ELojVIPUs_g1rmfQVl.PDR3djg7Ij Received: by 98.138.101.166; Thu, 02 Apr 2015 07:08:53 +0000 Date: Thu, 2 Apr 2015 07:08:53 +0000 (UTC) From: Jin Guojun Reply-To: Jin Guojun To: Questions Freebsd Message-ID: <704404404.3511095.1427958533488.JavaMail.yahoo@mail.yahoo.com> Subject: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2015 07:12:16 -0000 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