Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
problem with LACAML and static linking
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-01-28 (19:24)
From: Markus Mottl <markus.mottl@g...>
Subject: Re: [Caml-list] problem with LACAML and static linking
On Wed, Jan 28, 2009 at 2:05 PM, Stéphane Glondu <> wrote:
> Oh... I overlooked this one. You have to manage to get a set of .a files
> so that each object (.o) is there only once. In this case, I would drop
> libblas.a, since it is a dependency of liblapack (AFAIU).

Another thing you could do is to copy one of the static libraries to
your build directory, remove the offending symbol using the "ar"
command line tool, and then link the resulting library and the other
one statically into your executable.  Dirty, but what you're gonna


Markus Mottl