Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006192OCamlOCaml otherlibspublic2013-09-25 22:442015-01-20 22:01
Assigned To 
PlatformMacintoshOSOS XOS Version10.8.5
Product Version4.01.0 
Target Version4.02.2+devFixed in Version 
Summary0006192: Builtin pathname for Graphics library wrong
DescriptionJust now the shell command:
ocamlmktop -o mytop graphics.cma
produced an "Error on dynamically loaded library".
Steps To ReproduceAfter standard install type shell command:

ocamlmktop -o mytop graphics.cma
Additional InformationI found a work-around:
mkdir /opt/local
mkdir /opt/local/lib
ln -s /opt/X11/lib/libX11.dylib /opt/local/lib/libX11.6.dylib

but I hesitate to advise users to use sudo privilege.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
glondu (reporter)
2013-09-26 13:51

Without using admin rights, have you tried using DYLD_LIBRARY_PATH? install_name_tool?

I think the proper "Mac OS X" way of doing things would be to call install_name_tool at install time.
norm (reporter)
2013-09-26 14:34

I have tried neither. When I am more awake I will study these questions.
There is slightly more information at [^]
norm (reporter)
2013-09-26 23:06

The line "export DYLD_LIBRARY_PATH=/opt/X11/lib" added to file .bash_profile is also a workaround.
I updated [^] .
norm (reporter)
2013-11-02 23:10

Now, with Mac OS X 10.8 above workaround fails.
I report a very awkward workaround at [^] .
This woulds like a clash of conventions, but I do not know whose.
doligez (administrator)
2015-01-20 22:01

I would like to know if this was specific to the precompiled binaries, or if it still occurs on an OCaml compiled and installed through OPAM.

- Issue History
Date Modified Username Field Change
2013-09-25 22:44 norm New Issue
2013-09-26 13:51 glondu Note Added: 0010401
2013-09-26 14:34 norm Note Added: 0010402
2013-09-26 23:06 norm Note Added: 0010407
2013-11-02 23:10 norm Note Added: 0010562
2014-05-30 14:17 shinwell Status new => acknowledged
2014-07-16 17:51 doligez Target Version => 4.02.1+dev
2014-09-04 00:25 doligez Target Version 4.02.1+dev => undecided
2014-09-15 23:22 doligez Target Version undecided => 4.02.2+dev
2015-01-20 22:01 doligez Note Added: 0013156

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker