caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Johann Spies <jspies@sun.ac.za>
To: caml-list@inria.fr
Subject: [Caml-list] Distributing programs
Date: Mon, 19 May 2003 15:37:38 +0200	[thread overview]
Message-ID: <20030519133738.GA6485@sun.ac.za> (raw)

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 libpcre.so.3 file.  After copying a libcpre.so.3 from
another system to /usr/local/lib and making a symlink to /usr/lib/ the
next complaint was 

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

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?

Regards.
Johann
-- 
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 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-05-19 13:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-19 13:37 Johann Spies [this message]
2003-05-19 14:01 ` Gerd Stolpmann

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=20030519133738.GA6485@sun.ac.za \
    --to=jspies@sun.ac.za \
    --cc=caml-list@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;
as well as URLs for NNTP newsgroup(s).