Bug 311941 (MONO37182) - mcs doesn't search libraries in /lib on windows by default
Summary: mcs doesn't search libraries in /lib on windows by default
Status: RESOLVED MOVED
Alias: MONO37182
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-24 17:08 UTC by Johannes Roith
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:05:59 UTC


---- Reported by groith@tcrz.net 2003-01-24 10:08:54 MST ----

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 
Mono.Data.MySql.dll

Expected Results:

mcs MyTestApp.cs -r System.Data.dll -r Mono.Data.MySql.dll

should be enought.

How often does this happen? 

always



---- Additional Comments From groith@tcrz.net 2003-01-24 10:11:52 MST ----



*** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO37187 ***


Unknown operating system unknown. Setting to default OS "Other".
This bug was marked DUPLICATE in the database it was moved from.
    Changing resolution to "MOVED"