Version française
Home     About     Download     Resources     Contact us    
Browse thread
Error linking sqlite
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Flavio <sixdegreesoit@y...>
Subject: Re: [Caml-list] Error linking sqlite
Alle 14:22, lunedì 24 ottobre 2005, Richard Jones ha scritto:
> On Mon, Oct 24, 2005 at 10:57:49AM +0200, Flavio wrote:
> > ocamlfind ocamlopt -package sqlite -linkpkg prova.ml
> >
> > Is this a bug in the debian package? I tried both
> > libsqlite-ocaml-dev version 0.3.5.arch.4-4 and version
> > 0.3.5.arch.4-3
>
> I think it might be because the Ocaml stubs are linked to a file
> called libsqlite.a, which has the same name as the sqlite library
> itself (/usr/lib/libsqlite.so), thus confusing the C linker.

Thank you, all works fine if I add "-ccopt /usr/lib/libsqlite.so" when 
compiling.

But is this behaviour intended? Should I fill a bug report? (I ask here 
because it seems that there are debian package maintainers for ocaml on this 
list)

Flavio

	

	
		
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it