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] Distributing programs
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Johann Spies <jspies@s...>
Subject: [Caml-list] Distributing programs
I have developed a program on Debian Sarge Linux using pcre and
ocaml-tools.  I thought that a static (ocamlopt) compilation of the
program would allow me to run it on other Linux systems without having
to install ocaml (or pcre-ocaml) on them.  But this seems not to be
the case.

Trying to run the program on a Redhat 7.2 system firstly complained
about a missing file.  After copying a from
another system to /usr/local/lib and making a symlink to /usr/lib/ the
next complaint was 

zsh % sncd
sncd: /lib/i686/ version `GLIBC_2.3' not found (required by

I then installed ocaml-3.06-1.src.rpm on the system and did a rpm -ba,
installed the binary package, converted Debian libpcre-ocaml-packages
to rpm's, installed it and recompiled my program (sncd) and ... at
last I have sncd running.

Is there an easier way distribute a binary program?

Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "But as it is written, Eye hath not seen, nor ear 
      heard, neither have entered into the heart of man, the
      things which God hath prepared for them that love 
      him."      I Corinthians 2:9 

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