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 PAA08748; Mon, 19 May 2003 15:37:55 +0200 (MET DST) 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 PAA08458 for ; Mon, 19 May 2003 15:37:54 +0200 (MET DST) Received: from maties3.sun.ac.za (maties3.sun.ac.za [146.232.128.43]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h4JDbmT04105 for ; Mon, 19 May 2003 15:37:53 +0200 (MET DST) Received: from bywoner.sun.ac.za ([146.232.129.121] helo=bywoner) by maties3.sun.ac.za with esmtp (Exim 4.10) id 19Hkpf-0005ID-00 for caml-list@inria.fr; Mon, 19 May 2003 15:37:39 +0200 Received: from js by bywoner with local (Exim 3.35 #1 (Debian)) id 19Hkpe-0001hj-00 for ; Mon, 19 May 2003 15:37:38 +0200 Date: Mon, 19 May 2003 15:37:38 +0200 From: Johann Spies To: caml-list@inria.fr Subject: [Caml-list] Distributing programs Message-ID: <20030519133738.GA6485@sun.ac.za> Mail-Followup-To: Johann Spies , caml-list@inria.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *19Hkpf-0005ID-00*ksJ6bkWJTIE* X-Spam: no; 0.00; johann:01 spies:01 jspies:01 pcre:01 ocaml-tools:01 ocamlopt:01 pcre-ocaml:01 complained:01 libpcre:01 libcpre:01 usr:01 symlink:01 3.06:01 -ba:99 universiteit:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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