Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] problem compiling 3.07 on RH7.3
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Matt Gushee <mgushee@h...>
Subject: Re: [Caml-list] problem compiling 3.07 on RH7.3
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 cannot be found:


> Error on dynamically loaded library: 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

It looks like the system is missing a GCC support package. On my Debian
system, 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

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

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           its fields;   When a nation ignores the Way,
                            Horses bear soldiers through
                                its streets.
                            --Lao Tzu (Peter Merel, trans.)

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: