Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006192OCamlOCaml otherlibspublic2013-09-25 22:442015-11-23 15:20
Assigned To 
StatusresolvedResolutionno change required 
PlatformMacintoshOSOS XOS Version10.8.5
Product Version4.01.0 
Target Version4.03.0+dev / +beta1Fixed 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.
xleroy (administrator)
2015-11-23 15:20

This looks like a problem with precompiled MacOS X binaries that were built against a different installation of the X11 libraries than that on the user's machine. Since we no longer distribute precompiled MacOS X binaries, I'm marking this PR as resolved.

- 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 / +rc1
2015-01-20 22:01 doligez Note Added: 0013156
2015-04-02 18:02 doligez Status acknowledged => feedback
2015-04-28 17:36 doligez Target Version 4.02.2+dev / +rc1 => 4.02.3+dev
2015-07-10 18:57 doligez Target Version 4.02.3+dev => 4.03.0+dev / +beta1
2015-11-23 15:20 xleroy Note Added: 0014794
2015-11-23 15:20 xleroy Status feedback => resolved
2015-11-23 15:20 xleroy Resolution open => no change required

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker