From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA31429; Tue, 30 Jul 2002 18:37:29 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA32407 for ; Tue, 30 Jul 2002 18:37:28 +0200 (MET DST) Received: from mel-rto2.wanadoo.fr (smtp-out-2.wanadoo.fr [193.252.19.254]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g6UGbRj11371; Tue, 30 Jul 2002 18:37:27 +0200 (MET DST) Received: from mel-rta7.wanadoo.fr (193.252.19.61) by mel-rto2.wanadoo.fr (6.5.007) id 3D1838B6012584BD; Tue, 30 Jul 2002 18:37:25 +0200 Received: from iliana (80.9.197.176) by mel-rta7.wanadoo.fr (6.5.007) id 3D2A78FA009CA9E0; Tue, 30 Jul 2002 18:37:25 +0200 Received: from luther by iliana with local (Exim 3.35 #1 (Debian)) id 17ZZhd-0000Bm-00; Tue, 30 Jul 2002 18:18:29 +0200 Date: Tue, 30 Jul 2002 18:18:19 +0200 To: John Max Skaller Cc: Xavier Leroy , Hans Ole Rafaelsen , caml-list@inria.fr Subject: Re: [Caml-list] Dynamically loaded library problems (ocaml-3.05) Message-ID: <20020730161819.GB713@iliana> References: <20020730115637.A20994@pauillac.inria.fr> <3D46ABE4.5080703@ozemail.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D46ABE4.5080703@ozemail.com.au> User-Agent: Mutt/1.4i From: Sven LUTHER Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, Jul 31, 2002 at 01:08:20AM +1000, John Max Skaller wrote: > Xavier Leroy wrote: > > >>I just installed ocaml-3.05. Compiling and installation worked > >>without any complains. However, I am having problems linking with > >>dynamic libraries. > >> > >>hansr [4] [11:29] [~] ocamlmktop -o mytop nums.cma > >>Error on dynamically loaded library: /usr/local/lib/ocaml/dllnums.so: > >>undefined symbol: custom_compare_default > >> > > > >On a fresh 3.05 install, dllnums.so should be loaded from > >lib/ocaml/stublibs > >rather than lib/ocaml. I conjecture you have old files lying around > >in /usr/local/lib/ocaml. Try "rm -rf /usr/local/lib/ocaml" before > >installing OCaml 3.05. > > > Can I suggest that the directory: > > /usr/local/lib/ocaml_3.05/ > > might be a better default name? In switching versions around, having to > reinstall Is this not configurable ? I guess yes, and you can easily use one of the configuration options to have ocaml installed in ocaml_3.05 (libdir, i think it is, but you could also use prefix /usr/local/ocaml_3.05 i think). Friendly, Sven Luther ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners