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: Erick Matsen <matsen@b...>
Subject: Re: [Caml-list] problem with LACAML and static linking
Hm, unfortunately not the first one.

>> /usr/lib/libblas.a(xerbla.o): In function `xerbla_':
>> (.text+0x0): multiple definition of `xerbla_'
>> /usr/lib/liblapack.a(xerbla.o):(.text+0x0): first defined here

It doesn't link...


Thanks,

Erick


On Wed, Jan 28, 2009 at 10:49 AM, Stéphane Glondu <steph@glondu.net> wrote:
> Erick Matsen a écrit :
>> [...]
>> /usr/lib/libblas.a(xerbla.o): In function `xerbla_':
>> (.text+0x0): multiple definition of `xerbla_'
>> /usr/lib/liblapack.a(xerbla.o):(.text+0x0): first defined here
>> /usr/lib/ocaml/3.10.2/libasmrun.a(unix.o): In function `caml_dlopen':
>> (.text+0x223): warning: Using 'dlopen' in statically linked
>> applications requires at runtime the shared libraries from the glibc
>> version used for linking
>> /usr/lib/ocaml/3.10.2/libunix.a(getgr.o): In function `unix_getgrgid':
>> ... similar messages ....
>> [...]
>
> These are warnings, aren't they? Doesn't your program run if you ignore
> them? The warnings concern ocaml runtime, so I guess you cannot do much
> about it...
>
>
> Cheers,
>
> --
> Stéphane
>
>