caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Stéphane Glondu" <steph@glondu.net>
To: Erick Matsen <matsen@berkeley.edu>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] problem with LACAML and static linking
Date: Wed, 28 Jan 2009 08:20:08 +0100	[thread overview]
Message-ID: <49800728.9070200@glondu.net> (raw)
In-Reply-To: <243054520901272248k31b0a68fs2130dd84f1278dbd@mail.gmail.com>

Erick Matsen a écrit :
> /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,

-- 
Stéphane


  reply	other threads:[~2009-01-28  7:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-28  6:48 Erick Matsen
2009-01-28  7:20 ` Stéphane Glondu [this message]
2009-01-28 17:17   ` [Caml-list] " Erick Matsen
2009-01-28 17:33     ` Mauricio Fernandez
2009-01-28 17:56       ` Erick Matsen
2009-01-28 18:49         ` Stéphane Glondu
2009-01-28 18:50           ` Erick Matsen
2009-01-28 19:05             ` Stéphane Glondu
2009-01-28 19:24               ` Markus Mottl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49800728.9070200@glondu.net \
    --to=steph@glondu.net \
    --cc=caml-list@yquem.inria.fr \
    --cc=matsen@berkeley.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).