On Sat, Sep 20, 2008 at 09:35:20PM +0300, Lynx Law wrote:
When I compile let's say a basic program that uses the Graphic modules. It gives me the error that the object is missing
ocamlc graphics.cma test.ml -o test Error on dynamically loaded library: dllgraphics.so: dllgraphics.so: cannot open shared object file: No such file or directory* I'm using OCaml 3.10.1,under fedora 9. Under another GNU/Linux Distribution I do not face any problems similar to this one.
I'm afraid I don't have F9 available, but this is definitely working on Rawhide:
$ cat test.ml Graphics.open_graph "" $ ocamlc graphics.cma test.ml -o test $ ./test
If you have F-9 then you can easily upgrade to the rawhide version of the ocaml packages by enabling the development repo in /etc/yum.repos.d/fedora-development.repo, followed by a 'yum update'.
Rich.