dllgraphics

Richard W.M. Jones rjones at redhat.com
Wed Sep 24 22:14:15 UTC 2008


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.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the Fedora-ocaml-list mailing list