From: Markus Mottl <markus@oefai.at>
To: Richard Nyberg <rnyberg@it.su.se>
Cc: OCAML <caml-list@inria.fr>
Subject: Re: [Caml-list] shared libraries [pcre-ocaml]
Date: Mon, 22 Apr 2002 11:42:08 +0200 [thread overview]
Message-ID: <20020422094208.GA12805@kiefer.ai.univie.ac.at> (raw)
In-Reply-To: <20020422103046.B21430@gromit.it.su.se>
On Mon, 22 Apr 2002, Richard Nyberg wrote:
> Error on dynamically loaded library: Shared object "libpcre.so.0" not found
> So, should I have to use ldconfig or is there something wrong?
It seems to me that you hadn't set the environment variable
"OCAML_LIB_INSTALL" to your installation directory before "make"ing the
library, i.e. it's default is "+contrib" now:
[snip]
> access("/usr/local/lib/ocaml/contrib/libpcre.so.0",0) ERR#2 'No such file or directory'
[snip]
The path leading to this directory is added to the generated OCaml-library
so that it can find the shared C-library. Usually things should also work
when you set your LD_LIBRARY_PATH appropriately in your shell or even add
this path to your global /etc/ld.so.conf. However, the preferred solution
is surely to let the library now where to find things it depends on.
Regards,
Markus Mottl
--
Markus Mottl markus@oefai.at
Austrian Research Institute
for Artificial Intelligence http://www.oefai.at/~markus
-------------------
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
next prev parent reply other threads:[~2002-04-22 10:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-22 8:30 Richard Nyberg
2002-04-22 9:42 ` Markus Mottl [this message]
2002-04-22 10:03 ` Richard Nyberg
2002-04-22 20:29 ` John Max Skaller
2002-04-23 0:43 ` Jacques Garrigue
2002-04-23 6:51 ` Richard Nyberg
2002-04-23 9:59 ` Markus Mottl
2002-04-24 0:20 ` John Max Skaller
2002-04-24 12:13 ` Xavier Leroy
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=20020422094208.GA12805@kiefer.ai.univie.ac.at \
--to=markus@oefai.at \
--cc=caml-list@inria.fr \
--cc=rnyberg@it.su.se \
/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