From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 6FBFEBB84 for ; Wed, 28 Jan 2009 08:20:12 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgYDAHmVf0mK54gDgWdsb2JhbACUDQEBFiK2FIVHBoUH X-IronPort-AV: E=Sophos;i="4.37,336,1231110000"; d="scan'208";a="22121838" Received: from rouge.crans.org ([138.231.136.3]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 28 Jan 2009 08:20:12 +0100 Received: from localhost (localhost.crans.org [127.0.0.1]) by rouge.crans.org (Postfix) with ESMTP id 7EB9B8076; Wed, 28 Jan 2009 08:20:11 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at crans.org Received: from rouge.crans.org ([10.231.136.3]) by localhost (rouge.crans.org [10.231.136.3]) (amavisd-new, port 10024) with LMTP id DrjqiLLTfyLo; Wed, 28 Jan 2009 08:20:11 +0100 (CET) Received: from [88.185.141.188] (korell.glondu.net [88.185.141.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by rouge.crans.org (Postfix) with ESMTP id 17B088051; Wed, 28 Jan 2009 08:20:10 +0100 (CET) Message-ID: <49800728.9070200@glondu.net> Date: Wed, 28 Jan 2009 08:20:08 +0100 From: =?UTF-8?B?U3TDqXBoYW5lIEdsb25kdQ==?= User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) MIME-Version: 1.0 To: Erick Matsen Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] problem with LACAML and static linking References: <243054520901272248k31b0a68fs2130dd84f1278dbd@mail.gmail.com> In-Reply-To: <243054520901272248k31b0a68fs2130dd84f1278dbd@mail.gmail.com> X-Enigmail-Version: 0.95.0 OpenPGP: id=FCE03DAA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; lacaml:01 usr:01 lib:01 usr:01 lib:01 dependencies:01 -static:01 phane:98 steph:98 phane:98 caml-list:01 dependency:01 undefined:01 undefined:01 output:02 Erick Matsen a =C3=A9crit : > /usr/lib//liblapack.a(sgesvd.o): In function `sgesvd_': > (.text+0x3ad): undefined reference to `_gfortran_concat_string' > /usr/lib//liblapack.a(sgesvd.o): In function `sgesvd_': > (.text+0x94f): undefined reference to `_gfortran_concat_string' > ... You might get such errors when one of liblapack's dependency is not available as a static library. What is the output of `ldd /usr/lib/liblapack.a'? The solution might be as simple as installing development packages for these dependencies, or might involve recompiling them for use with -static (i.e. into .a instead of .so). Hope this helps, --=20 St=C3=A9phane