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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Dynlink problems
The problem seems to be that Dynlink simply doesn't work when called
from code in a shared library (.so file).

The first problem is that Dynlink.init () causes a nasty crash - it
tries to open ("") and fails. This seems to be indicative of something
Very Bad happening in Dynlink library.

If I comment out the call to Dynlink.init (), then things just don't
work either.

Here is the smallest example I could make to demonstrate the failure:

http://www.annexia.org/tmp/dynlink-failure.tar.gz

*Please!* someone download this & tell me how to fix it. I spent much
of yesterday night trying to workaround the problems.

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you.
NET::FTPSERVER is a full-featured, secure, configurable, database-backed
FTP server written in Perl: http://www.annexia.org/freeware/netftpserver/

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