Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
To: Basile STARYNKEVITCH <basile@starynkevitch.net>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] mostly static ocaml binaries
Date: Fri, 18 May 2007 17:47:57 +0100	[thread overview]
Message-ID: <20070518164757.GA8265@furbychan.cocan.org> (raw)
In-Reply-To: <464DCE27.9000705@starynkevitch.net>

On Fri, May 18, 2007 at 06:02:47PM +0200, Basile STARYNKEVITCH wrote:
> I would like to know how to make ocaml with mostly static binaries.
> 
> My motivation is the following: I want to code some dynamic web site but 
> my small hosting company provide only a very basic linux system. In 
> particular even the /usr/lib/libpcre.so is not available.

Just a thought, but how about keeping the shared libraries in (eg)
your home directory or another writable place, and using
$LD_LIBRARY_PATH to cause them to be loaded into the process.  If this
works then at least you won't need to change how OCaml binaries get
built.

  LD_LIBRARY_PATH=$HOME/mylibs ./mywebapp

(or if using CGI, try a wrapper script or Apache SetEnv).

> Oh, did I forgot to tell that I hate PHP?

It's horrible.

Rich.

-- 
Richard Jones
Red Hat


  reply	other threads:[~2007-05-18 16:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-18 16:02 Basile STARYNKEVITCH
2007-05-18 16:47 ` Richard Jones [this message]
2007-05-25  7:32 ` [Caml-list] " Olivier Andrieu

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=20070518164757.GA8265@furbychan.cocan.org \
    --to=rich@annexia.org \
    --cc=basile@starynkevitch.net \
    --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