From owner-freebsd-questions@FreeBSD.ORG Fri Sep 28 06:37:16 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06AA416A418 for ; Fri, 28 Sep 2007 06:37:16 +0000 (UTC) (envelope-from vdemart1@tin.it) Received: from smtp5.aruba.it (smtpd3.aruba.it [62.149.128.208]) by mx1.freebsd.org (Postfix) with SMTP id 5235313C48A for ; Fri, 28 Sep 2007 06:37:14 +0000 (UTC) (envelope-from vdemart1@tin.it) Received: (qmail 2983 invoked by uid 89); 28 Sep 2007 06:37:12 -0000 Received: by simscan 1.1.0 ppid: 2977, pid: 2981, t: 0.0728s scanners: clamav: 0.88.4/m:40/d:1722 Received: from unknown (HELO ?10.155.100.7?) (ml-vic@de-martino.it@79.18.223.61) by smtp5.aruba.it with SMTP; 28 Sep 2007 06:37:12 -0000 From: vittorio To: freebsd-questions@freebsd.org Date: Fri, 28 Sep 2007 08:37:15 +0000 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709280837.16084.vdemart1@tin.it> X-Spam-Rating: smtp5.aruba.it 1.6.2 0/1000/N Subject: Compilation error libpcre.so.0: ELF file OS ABI invalid X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2007 06:37:16 -0000 Context: Intel Core Duo, FreeBSD 6.2-p7, latest portsnap, gcc-4.2.2. Updating the statistical program R, some packages fail to compile (I use tarballs) because this cryptic error pops up * Installing *source* package 'MCMCpack' ... checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... grep: error while loading shared libraries: /usr/local/lib/libpcre.so.0: ELF file OS ABI invalid yes checking whether c++ accepts -g... grep: error while loading shared libraries: /usr/local/lib/libpcre.so.0: ELF file OS ABI invalid yes It seems that during the compilation a-linux-connected-lib is being looked for, doesn't it? Anyway, what should I do? Ciao Vittorio