[Mono-bugs] [Bug 37182][Nor] New - mcs doesn't search libraries in /lib on windows by default

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Fri, 24 Jan 2003 10:08:54 -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 groith@tcrz.net.


--- shadow/37182	Fri Jan 24 10:08:54 2003
+++ shadow/37182.tmp.30092	Fri Jan 24 10:08:54 2003
@@ -0,0 +1,50 @@
+Bug#: 37182
+Product: Mono/MCS
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: groith@tcrz.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: mcs doesn't search libraries in /lib on windows by default
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+While on Linux a referenced assembly, that lives in the default assembly 
+directory (/pathto/lib) gets searched by mcs, on windows the path has to 
+be speciefied completely.
+Mcs (normally placed in /something/bin/) should by default look 
+in /something/lib. That's also, where the other libraries like corlib.dll 
+or System.dll live.
+Steps to reproduce the problem:
+1. Try to compile an application, that uses GTK# or ADO.NET without 
+referencing the whole path.
+Actual Results:
+It is needed:
+mcs MyTestApp.cs -lib:c:\mono-0.19\install\lib\ -r System.Data.dll -r 
+Expected Results:
+mcs MyTestApp.cs -r System.Data.dll -r Mono.Data.MySql.dll
+should be enought.
+How often does this happen?