From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id D744BBB81 for ; Mon, 24 Oct 2005 16:41:18 +0200 (CEST) Received: from smtp003.mail.ukl.yahoo.com (smtp003.mail.ukl.yahoo.com [217.12.11.34]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id j9OEfIak013736 for ; Mon, 24 Oct 2005 16:41:18 +0200 Received: (qmail 75170 invoked from network); 24 Oct 2005 14:41:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Received:From:Reply-To:To:Subject:Date:User-Agent:References:In-Reply-To:MIME-Version:Content-Disposition:Content-Type:Content-Transfer-Encoding:Message-Id; b=H5V/4E4tsUGU1YAv/ztbGFYN5xUN10SQ7h/FkDpd47wK7MaHJs2NY7Rmbd1Qroa4OQlzm3CyXmj9Ku/KWFnpwgqQG4FEOrhpjKXsa44j3dPaAB3n3O4ZRuAMk7SN+5NuIenLFABhmtd2+oJGCA+lMiCUYa01+MTUHzNgeqxM1aE= ; Received: from unknown (HELO host121-231.pool80104.interbusiness.it) (sixdegreesoit@80.104.231.121 with plain) by smtp003.mail.ukl.yahoo.com with SMTP; 24 Oct 2005 14:41:17 -0000 From: Flavio Reply-To: 6degreesoit@yahoo.it To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Error linking sqlite Date: Mon, 24 Oct 2005 17:15:13 +0200 User-Agent: KMail/1.8.2 References: <200510241057.49536.sixdegreesoit@yahoo.it> <20051024122242.GA15996@furbychan.cocan.org> In-Reply-To: <20051024122242.GA15996@furbychan.cocan.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200510241715.13401.sixdegreesoit@yahoo.it> X-Miltered: at concorde with ID 435CF28E.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocamlfind:01 ocamlopt:01 -package:01 -linkpkg:01 bug:01 ocaml:01 stubs:01 usr:01 lib:01 usr:01 lib:01 bug:01 ocaml:01 2005,:98 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=DNS_FROM_RFC_ABUSE autolearn=disabled version=3.0.3 Alle 14:22, luned=EC 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=20 compiling. But is this behaviour intended? Should I fill a bug report? (I ask here=20 because it seems that there are debian package maintainers for ocaml on thi= s=20 list) =46lavio ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it