English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Build error w/ Findlib on Mandrake 10.1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-05-31 (17:29)
From: Matt Gushee <mgushee@h...>
Subject: Re: [Caml-list] Build error w/ Findlib on Mandrake 10.1
Damien Bobillot wrote:

> Le 31 mai 05 à 00:50, Matt Gushee a écrit :

>>   ocamlfind ocamlopt -package "unix str labltk" -linkpkg -o  bantam.bin \
>>     common.cmx util.cmx config.cmx images.cmx bantam.cmx
>>   Cannot find file /usr/lib/ocaml//labltk/labltk.so.cmxa
>>   make: *** [opt] Error 2
> Does the file /usr/lib/ocaml/labltk/labltk.so.cmxa exists ?

That's a good question. Based on the error messages, I presumed not, but 
I didn't specifically ask. But if that file did exist, what on earth 
would it be? As far as I know, there is no such thing as an '.so.cmxa' 
file, nor any reason for it to exist.

> Or the  file 
> /usr/lib/ocaml//labltk/labltk.cmxa without ".so" ?

Another good question; I'll try to find out.

> In my ocaml version, I don't have any .so in caml library names. Try  to 
> create a symlink from labltk.so.cmxa to labltk.cmxa

Hmm ... thank you, but that's a kludge, not a solution. What I would 
really like to find out is whether this error was caused by something 
under my control. If so, I'll fix it; if not, someone needs to report a 
bug to the Mandrake[*] team.

Anyway, thanks for the response.

Matt Gushee
Englewood, CO, USA

[*] Yes, I know, it's "Mandriva" now. I try to avoid that name--it
     always makes me think of apes with purple buttocks.