caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] prelinking ocamlfind
@ 2004-07-14 14:53 Leo Rozenberg
  2004-07-16 14:47 ` Xavier Leroy
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Rozenberg @ 2004-07-14 14:53 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-07-20  3:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-14 14:53 [Caml-list] prelinking ocamlfind Leo Rozenberg
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

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).