Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006192OCamlOCaml otherlibspublic2013-09-25 22:442014-09-15 23:22
Reporternorm 
Assigned To 
PriorityhighSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformMacintoshOSOS XOS Version10.8.5
Product Version4.01.0 
Target Versionafter-4.02.1Fixed 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
(0010401)
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.
(0010402)
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 http://cap-lore.com/Languages/ocaml/Graphics.html [^]
(0010407)
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 http://cap-lore.com/Languages/ocaml/Graphics.html [^] .
(0010562)
norm (reporter)
2013-11-02 23:10

Now, with Mac OS X 10.8 above workaround fails.
I report a very awkward workaround at http://cap-lore.com/Languages/ocaml/Mavericks.html [^] .
This woulds like a clash of conventions, but I do not know whose.

- 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 => after-4.02.1


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker