caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Vu Ngoc San <san.vu-ngoc@ujf-grenoble.fr>
Cc: caml-list@inria.fr
Subject: dynamically finding libraries
Date: Thu, 15 Mar 2007 14:38:25 +0100	[thread overview]
Message-ID: <45F94C51.8030100@ujf-grenoble.fr> (raw)
In-Reply-To: <45F87661.4020504@softhome.net>

I have a program compiled to native code on a linux machine, which uses 
some more-or-less "standard" library like libpangocairo-1.0.so.0.
Since this library is not universally present on all linux boxes, I 
suspect it might be not so easy for an average user to install it. 
Moreover, it's very small. Therefore I decide to ship it with my software.

The question is: is there a way to decide, at run-time, whether the user 
already has this library or not ? If so, I can ignore (and even delete) 
the version I shipped, and use the user's library. If not, I fall back 
on "my" version.


San


  parent reply	other threads:[~2007-03-15 13:38 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-14 22:25 Style and organization of code ian
2007-03-15  3:21 ` [Caml-list] " Tom
2007-03-15  1:03   ` ian
2007-03-15  8:02     ` Gabriel Kerneis
2007-03-15  8:09       ` Maxence Guesdon
2007-03-15  8:20         ` Gabriel Kerneis
2007-03-15 10:11           ` ian
2007-03-15 20:04             ` Martin Jambon
2007-03-15  3:44 ` Chris King
2007-03-15  3:50   ` Chris King
2007-03-15  4:01 ` skaller
2007-03-15  9:03   ` micha
2007-03-15 13:38 ` Vu Ngoc San [this message]
2007-03-15 17:10   ` [Caml-list] dynamically finding libraries Eric Cooper
2007-03-15 17:29     ` slightly OT: anyone reading this list with Mutt? Eric Cooper
2007-03-15 18:44       ` [Caml-list] " Stefano Zacchiroli
2007-03-15 19:00       ` caml-list
2007-03-15 19:44         ` ls-ocaml-developer-2006
2007-03-15 22:39 ` [Caml-list] Style and organization of code Richard Jones
2007-03-29  0:49 ` Jon Harrop
2007-03-15 13:42 dynamically finding libraries Vu Ngoc San

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=45F94C51.8030100@ujf-grenoble.fr \
    --to=san.vu-ngoc@ujf-grenoble.fr \
    --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).