[Mono-bugs] [Bug 60481][Blo] New - winelib does not find wine libraries

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 20 Jun 2004 19:17:58 -0400 (EDT)


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 miles@lubin.us.

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

--- shadow/60481	2004-06-20 19:17:58.000000000 -0400
+++ shadow/60481.tmp.29342	2004-06-20 19:17:58.000000000 -0400
@@ -0,0 +1,62 @@
+Bug#: 60481
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: Gentoo
+Status: NEW   
+Resolution: 
+Severity: 001 One hour
+Priority: Blocker
+Component: Windows.Forms
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miles@lubin.us               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: winelib does not find wine libraries
+
+Description of Problem:
+I currently have mono beta 3 and wine installed via emerge, and am trying 
+put the current winelib into emerge. I used winelib-0.3. It does not find 
+the wine libraries.
+
+
+Steps to reproduce the problem:
+1. ./autogen.sh --prefix=/usr --with-wine=/usr/lib/wine
+2. make
+3. make install
+4. Run winforms program
+
+Actual Results:
+Could not load winelib.exe.so** Message: Error loading 'user32.dll': 
+user32.so: cannot open shared object file: No such file or directory
+
+** Message: Error loading 'user32.dll': user32.so: cannot open shared 
+object file: No such file or directory
+
+** Message: Error loading 'winelib.exe.so': libwine.so.1: cannot open 
+shared object file: No such file or directory
+
+** Message: Error loading 'user32.dll': user32.so: cannot open shared 
+object file: No such file or directory
+
+** Message: Error loading 'winelib.exe.so': libwine.so.1: cannot open 
+shared object file: No such file or directory
+
+
+Unhandled Exception: System.TypeInitializationException: An exception was 
+thrown by the type initializer for System.Windows.Forms.Win32 ---> System.
+DllNotFoundException: winelib.exe.so
+
+Expected Results:
+The program would run
+
+How often does this happen? 
+Always
+
+Additional Information:
+I solved this with the following commands:
+ln -s /usr/lib/wine/lib/wine/user32.dll.so /usr/lib/user32.so
+ln -s /usr/lib/wine/lib/libwine.so.1 /usr/lib
+ln -s /usr/lib/wine/lib/libwine_unicode.so.1 /usr/lib