Bug 59099

Summary: wine can't load libuser.so
Product: [Retired] Red Hat Linux Reporter: Need Real Name <long>
Component: wineAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-01-30 23:04:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2002-01-30 23:04:27 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901

Description of problem:
When you try and run wine programs you get:

[long@shibby cdrom]$ wine setup.exe
err:module:BUILTIN_LoadModule loaded .so but dll user.dll still not found
Could not load 'USER.DLL' required by 'BOOTSTRP', error=2
[long@shibby cdrom]$ 

This is because wine needs to load /usr/lib/wine/libuser.so but due to the way
/etc/ld.so.conf is shipped from redhat it instead tries to load
/usr/lib/libuser.so which is the wrong one.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Find a windows executable that requires USER.DLL, such as setup.exe on the
Office 97 CD.
2.Run 'wine setup.exe'
3.
	

Actual Results:  [long@shibby cdrom]$ wine setup.exe
err:module:BUILTIN_LoadModule loaded .so but dll user.dll still not found
Could not load 'USER.DLL' required by 'BOOTSTRP', error=2


Expected Results:  It should have started the Office97 installer, which is what
happens if I 'export LD_LIBRARY_PATH=/usr/lib/wine' before trying to run wine.

Additional info:

Comment 1 Bernhard Rosenkraenzer 2002-01-31 13:13:24 UTC
I've replaced /usr/bin/wine with a shell script doing just that in 20020130.