Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Stéphane Glondu <steph@g...>
Subject: Re: [Caml-list] problem with LACAML and static linking
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