Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Matt Gushee <mgushee@havenrock.com>
To: caml-list@pauillac.inria.fr
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] problem compiling 3.07 on RH7.3
Date: Tue, 25 Nov 2003 18:13:46 -0700	[thread overview]
Message-ID: <20031126011346.GA27183@swordfish> (raw)
In-Reply-To: <3FC3D972.3050008@research.att.com>

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


      reply	other threads:[~2003-11-26  1:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-25 22:36 Mary F. Fernandez
2003-11-26  1:13 ` Matt Gushee [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031126011346.GA27183@swordfish \
    --to=mgushee@havenrock.com \
    --cc=caml-list@inria.fr \
    --cc=caml-list@pauillac.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox