[Mono-bugs] [Bug 69338][Nor] New - Search MONO_ASSEMBLIES in mono_lookup_pinvoke_call

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 10 Nov 2004 16:29:07 -0500 (EST)

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 chris.ridd@isode.com.


--- shadow/69338	2004-11-10 16:29:07.000000000 -0500
+++ shadow/69338.tmp.13460	2004-11-10 16:29:07.000000000 -0500
@@ -0,0 +1,27 @@
+Bug#: 69338
+Product: Mono: Runtime
+Version: 1.0
+OS Details: OS X 10.3.6
+Status: NEW   
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: chris.ridd@isode.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Search MONO_ASSEMBLIES in mono_lookup_pinvoke_call
+Mono cannot locate the native libs required by gtk-sharp on Mac OS X, unless the 
+DYLD_LIBRARY_PATH environment variable is set at runtime to point to $prefix/lib.
+This is because executables on OS X don't have the equivalent of the ELF 'rpath'.
+Currently mono_lookup_pinvoke_call tries to load the library using just the name (+ some 
+variants) and then in ".".
+A fix for this is to search MONO_ASSEMBLIES before searching ".".