Bug 63416 - no entry in /etc/ld.so.conf for wine so programs fail to run
Summary: no entry in /etc/ld.so.conf for wine so programs fail to run
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: wine (Show other bugs)
(Show other bugs)
Version: skipjack-beta2
Hardware: i386 Linux
Target Milestone: ---
Assignee: wdovlrrw
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2002-04-13 14:29 UTC by Need Real Name
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-05-09 01:26:51 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Need Real Name 2002-04-13 14:29:09 UTC
Description of Problem:  Installation of wine rpm fails to insert 
/usr/lib/wine into /etc/ld.so.conf, so windows applications fail.
Adding entry manually and running ldconfig -v allows programs to

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

How Reproducible:

Steps to Reproduce:
1. rpm -e wine
2. manually delete /usr/lib/wine entry in ld.so.conf
3. rpm -ivh wine-wine-20020327-1.i386.rpm
4. Note no entry in ld.so.conf

Actual Results:

Expected Results:

Additional Information:

Comment 1 Bernhard Rosenkraenzer 2002-04-15 16:30:40 UTC
The package has the following: 
if ! grep -q "^/usr/lib/wine$" /etc/ld.so.conf; then 
        echo "/usr/lib/wine" >>/etc/ld.so.conf 
/sbin/chkconfig --add wine 
/sbin/chkconfig --level 2345 wine on 
/sbin/service wine start &>/dev/null || : 
So it should be ok. 
Did you upgrade from an older version?

Comment 2 Richard Smith 2002-04-23 21:12:24 UTC
I have seen the same thing.  I upgraded to Skipjack-beta-2 from RedHat 7.2, on
which I had a fully functional wine installation.

I also found that the 'chkconfig --add' had not been run and that wine had not
been enabled for runlevels 2345 (ie none of the '%post' script seems to have
been executed):

[root@holly root]# chkconfig --list wine
service wine supports chkconfig, but is not registered (run 'chkconfig --add wine')
[root@holly root]# chkconfig --add wine
[root@holly root]# chkconfig --list wine
wine            0:off   1:off   2:off   3:on    4:off   5:on    6:off
[root@holly root]# chkconfig --level 2345 wine on
[root@holly root]# chkconfig --list wine
wine            0:off   1:off   2:on    3:on    4:on    5:on    6:off
[root@holly root]# /sbin/service wine start
Registering binary handler for Windows applications

Comment 3 keithu@parl.clemson.edu 2002-05-09 01:26:46 UTC
I just did an upgrade for an RH7.2 box directly to 7.3. I had a working wine
config and yet I had the same problem after the upgrade.  Fixed /etc/ld.so.conf
and suddenly it worked.

Comment 4 Bernhard Rosenkraenzer 2002-05-19 18:08:00 UTC
The problem is in the old package (its %postun script removed the ld.so.conf 
entry even on an upgrade). 
- Update by removing the old package, then installing the new one 
- Install the new package twice (rpm -U wine* ; rpm -U --force wine*) 
There's nothing else that can be done about it because the problem isn't 
caused by any current package. 
Closing CURRENTRELEASE because the package in 7.3 does not have this problem 
(meaning you can update from 7.3 to anything later without running into it). 

Note You need to log in before you can comment on or make changes to this bug.