caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* problem with LACAML and static linking
@ 2009-01-28  6:48 Erick Matsen
  2009-01-28  7:20 ` [Caml-list] " Stéphane Glondu
  0 siblings, 1 reply; 9+ messages in thread
From: Erick Matsen @ 2009-01-28  6:48 UTC (permalink / raw)
  To: caml-list

Hello everyone---


I apologize for posting what is certainly a naive question, but I have
not been able to find an answer on the web.

I am having trouble with static compilation and LACAML. I have used
ocamlopt with -ccopt -static a number of times sucessfully (with PCRE
and I think GSL), but when I added modules using LACAML I get a series
of errors like

/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'
...

It appears that I need somehow to make sure that lapack can find
gfortgran, but libgfortran is sitting happily in /usr/lib.

I'm running ocaml 3.10.2, lacaml 3.0.19, and lapack 3.

Any help would be much appreciated.


Thanks,

Erick


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-01-28 19:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-28  6:48 problem with LACAML and static linking Erick Matsen
2009-01-28  7:20 ` [Caml-list] " Stéphane Glondu
2009-01-28 17:17   ` 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

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).