From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 4A03BBB81 for ; Mon, 24 Oct 2005 14:04:32 +0200 (CEST) Received: from furbychan.cocan.org (furbychan.cocan.org [80.68.91.176]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j9OC4Ub8023348 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 24 Oct 2005 14:04:32 +0200 Received: from rich by furbychan.cocan.org with local (Exim 3.35 #1 (Debian)) id 1EU1Le-0004Bu-00; Mon, 24 Oct 2005 13:22:42 +0100 Date: Mon, 24 Oct 2005 13:22:42 +0100 To: 6degreesoit@yahoo.it Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Error linking sqlite Message-ID: <20051024122242.GA15996@furbychan.cocan.org> References: <200510241057.49536.sixdegreesoit@yahoo.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200510241057.49536.sixdegreesoit@yahoo.it> User-Agent: Mutt/1.3.28i From: Richard Jones X-Miltered: at concorde with ID 435CCDCE.001 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 notepad:01 wrote:01 debian:02 confusing:02 linking:03 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_FAIL autolearn=disabled version=3.0.3 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. Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com