caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Leo Rozenberg <leonidr@gmail.com>
To: caml-list@inria.fr
Subject: [Caml-list] prelinking ocamlfind
Date: Wed, 14 Jul 2004 10:53:25 -0400	[thread overview]
Message-ID: <e5d671d00407140753456984de@mail.gmail.com> (raw)

Hello, all

I have noticed an odd behavior, between 3.07 and 3.08.0 versions of
ocaml. On otherwise identical systems of Fedora Core 1 distributions
(which by default prelinks libraries and executables daily), the
prelink command modifies ocamlfind built by 3.08 but not by 3.07.
This was concluded by examining the prelink log (prelink.log), which
is invoked with
/usr/sbin/prelink -av -mR -q

Another anomaly is the prelink cache witch stores the libraries and
their dependencies.
The cache (/etc/prelink.cache) is a binary, but one can get human
readable output with
/usr/sbin/prelink -p.

on the 3.08.0 system the relevant section of the cache is:
/usr/bin/ocamlfind:
    /lib/tls/libm-2.3.2.so [0x2db5504f]
    /lib/libdl-2.3.2.so [0xe9cd81da]
    /usr/lib/libncurses.so.5.3 [0xf3099bee]
    /lib/tls/libpthread-0.60.so [0x0b8fe91d]
    /lib/tls/libc-2.3.2.so [0xaa341c82]
    /lib/ld-2.3.2.so [0xe10ed221]
    /usr/lib/libgpm.so.1.19.0 [0xf249a779]

while the relevant section for the 3.07 (+2) system is:
/usr/bin/ocamlfind:
    /lib/tls/libm-2.3.2.so [0xabf1d043]
    /lib/libdl-2.3.2.so [0xe93b72e2]
    /lib/tls/libc-2.3.2.so [0x942cd696]
    /lib/ld-2.3.2.so [0x52ee8db5]

I am curious as to what might be the cause of this discrepancy.
Does anyone have any ideas?

Leonid

ps. I created a symbolic link to ocamlfind (in a different directory)
to stop it from being prelinked.

-------------------
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:[~2004-07-14 14:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-14 14:53 Leo Rozenberg [this message]
2004-07-16 14:47 ` Xavier Leroy
2004-07-17 15:04   ` Sven Luther
2004-07-19 13:48     ` Xavier Leroy
2004-07-20  3:31       ` Sven Luther

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=e5d671d00407140753456984de@mail.gmail.com \
    --to=leonidr@gmail.com \
    --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).