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 CAA15914; Wed, 26 Nov 2003 02:13:50 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id CAA15925 for ; Wed, 26 Nov 2003 02:13:48 +0100 (MET) Received: from mz2.forethought.net (mzpi4.forethought.net [216.241.36.13]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id hAQ1Dl102449 for ; Wed, 26 Nov 2003 02:13:47 +0100 (MET) Received: from [216.241.35.41] (helo=swordfish) by mz2.forethought.net with esmtp (Exim 4.14) id 1AOoFW-0005DM-9k; Tue, 25 Nov 2003 18:13:46 -0700 Received: from matt by swordfish with local (Exim 3.35 #1 (Debian)) id 1AOoFW-0007YU-00; Tue, 25 Nov 2003 18:13:46 -0700 Date: Tue, 25 Nov 2003 18:13:46 -0700 From: Matt Gushee To: caml-list@pauillac.inria.fr Cc: caml-list@inria.fr Subject: Re: [Caml-list] problem compiling 3.07 on RH7.3 Message-ID: <20031126011346.GA27183@swordfish> Reply-To: Matt Gushee Mail-Followup-To: caml-list@pauillac.inria.fr, caml-list@inria.fr References: <3FC3D972.3050008@research.att.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FC3D972.3050008@research.att.com> User-Agent: Mutt/1.3.27i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; gushee:01 mgushee:01 havenrock:01 caml-list:01 3.07:01 3.07:01 2.4.18:01 -processor:01 -prefix:01 mff:99 libgcc:01 dynamically:01 libgcc:01 blind:99 gcc:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, Nov 25, 2003 at 05:36:34PM -0500, Mary F. Fernandez wrote: > I am trying to compile the 3.07 source on: > > Red Hat Linux release 7.3 (Valhalla) > Kernel 2.4.18-10smp on a 2-processor i686 > > Configured as follows: > > ./configure -prefix /home/mff/ocaml-3.07-rh -no-tk > > Eventually, I get an error that libgcc_s.so.1 cannot be found: .... > Error on dynamically loaded library: libgcc_s.so.1: cannot open shared > object file: No such file or directory > This is not my machine nor do I have root access so I'm flying blind. > Does this error message indicate some problem with the RH 7.3 installation > on this machine, i.e., does ocaml depend upon libgcc_s.so.1? It looks like the system is missing a GCC support package. On my Debian system, libgcc_s.so.1 is provided by the 'libgcc1' package, whose description reads: .... a library of internal subroutines that GCC uses to overcome shortcomings of particular machines, or special needs for some languages. It's been a few years since I used RedHat, but I remember there being an equivalent package ... it might have been called 'gcc-lib'. In any case, I'm pretty sure that package *should* be installed on any development box. Is it absolutely necessary? That I don't know, but I just grepped the OCaml source tree for 'gcc_s', and that string doesn't occur, so it looks like GCC or some associated program decides when that library is needed. Maybe somebody with better knowledge of GCC internals can give you a more definite answer. -- Matt Gushee When a nation follows the Way, Englewood, Colorado, USA Horses bear manure through mgushee@havenrock.com its fields; http://www.havenrock.com/ When a nation ignores the Way, Horses bear soldiers through its streets. --Lao Tzu (Peter Merel, trans.) ------------------- 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