[Mono-bugs] [Bug 56440][Nor] New - Mono tries to load a directory as a library

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 3 Apr 2004 17:50:44 -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 jorn@nl.linux.org.


--- shadow/56440	2004-04-03 17:50:44.000000000 -0500
+++ shadow/56440.tmp.19235	2004-04-03 17:50:44.000000000 -0500
@@ -0,0 +1,27 @@
+Bug#: 56440
+Product: Mono: Runtime
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jorn@nl.linux.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Mono tries to load a directory as a library
+Example situation:
+The C# app 'blah' needs to DllImport some functions from libblah.
+LD_LIBRARY_PATH is set so that 'blah' can find libblah. This all works
+well, until we go and run 'blah' from its main source directory, which
+contains the 'libblah' directory. It will then try to load the 'libblah'
+directory as library, which fails.
+Probably mono should not try to load directories as libraries.