[Mono-bugs] [Bug 81200][Min] New - Default OS X package for Mono has hardcoded shared library paths

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Mar 20 13:27:45 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by ravuya at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=81200

--- shadow/81200	2007-03-20 12:27:45.000000000 -0500
+++ shadow/81200.tmp.8589	2007-03-20 12:27:45.000000000 -0500
@@ -0,0 +1,52 @@
+Bug#: 81200
+Product: Mono: Runtime
+Version: 1.2
+OS: Mac OS X 10.3
+OS Details: (I am using Mac OS X 10.4.8 on Macbook Pro, Intel Core Duo, there is no entry for 10.4 in OS list)
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: packaging
+AssignedTo: wberrier at novell.com                            
+ReportedBy: ravuya at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Default OS X package for Mono has hardcoded shared library paths
+
+Description of Problem:
+The Mac OS X package for Mono (1.2.2.1) has the 'mono' binary and all 
+associated libraries hardcoded to look for their dependencies in /Library/
+Frameworks/Mono.framework/...
+
+This makes it difficult to embed Mono inside an application bundle, so 
+that users do not have to install the Mono framework and libraries before 
+running a macpacked application.
+
+There is a workaround provided on the mailing list at http://
+lists.ximian.com/pipermail/mono-osx/2006-December/000701.html but it is 
+hairy, and it would be preferable for Mono to act like other OS X 
+frameworks.
+
+For example, this is the otool -L dump from mono:
+mono:
+        /Library/Frameworks/Mono.framework/Versions/1.2.2.1/lib/libgthread-
+2.0.0.600.3.dylib (compatibility version 601.0.0, current version 601.3.0)
+        /Library/Frameworks/Mono.framework/Versions/1.2.2.1/lib/libgmodule-
+2.0.0.600.3.dylib (compatibility version 601.0.0, current version 601.3.0)
+        /Library/Frameworks/Mono.framework/Versions/1.2.2.1/lib/libglib-
+2.0.0.600.3.dylib (compatibility version 601.0.0, current version 601.3.0)
+        /Library/Frameworks/Mono.framework/Versions/1.2.2.1/lib/
+libintl.3.4.0.dylib (compatibility version 8.0.0, current version 8.0.0)
+        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
+version 88.3.4)
+        /usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current 
+version 5.0.0)
+
+This is the otool -L from the SDL framework, which is properly 
+"bundleable" under OS X:
+SDL:
+        @executable_path/../Frameworks/SDL.framework/Versions/A/SDL 
+(compatibility version 1.0.0, current version 1.0.0)


More information about the mono-bugs mailing list