Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] prelinking ocamlfind
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Leo Rozenberg <leonidr@g...>
Subject: [Caml-list] prelinking ocamlfind
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