[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2589: perl can't load libdb.so.1



Package: perl
Version: 5.003-2
  
Package: ldso
Version: 1.8.2-1
Debian 1.1.5 + rex
Linux 2.0.0
  
  I wouldn't close this bug just yet.  Here's another separate, but
  related, data point.  Peter's first paragraph offers a fix.


------- Forwarded Message

To:      wohler@newt.com (Bill Wohler)
cc:      david@ods.com, meskes@debian.org, tobias@et-inf.fho-emden.de
Subject: Re: Missing libdl.so.1
From:    "Peter Tobias" <tobias@server.et-inf.fho-emden.de>
Date:    Thu, 22 Aug 1996 22:21:55 +0200 (MET DST)

Bill Wohler wrote:
>   I just updated a bunch of packages last night from unstable and got
>   a couple of errors during installation.  One class of errors
>   included the following messages.  There weren't any errors on a
>   second pass (after the new ldso package was installed and set up).
> 
> Preparing to replace modules (using .../base/modules_2.0.0-8.deb) ...
> perl: can't load library 'libdl.so.1'
> perl: can't load library 'libdl.so.1'
> Saving KDOPT setting from /etc/init.d/kerneld ..
> 

The modules and wu-ftpd packages are ok. Since perl is a base package
they don't need dependencies on it. The bug is probably in the perl
package. Maybe the perl package should use a pre-depend on ldso to
make sure that the ldso package has been correctly installed.

The ldso package removes the old ldso library and installs the new one.
If you upgrade more packages at a time (including ldso) the libdl.so.1 
link probably points to the old (nonexisting) libdl.so.1.xx until the
package has a chance to run its postinst script with the ldconfig
command. This script will be run at the end of the dpkg run. Using
a pre-depends on ldso should fix the problem.

------- End of Forwarded Message


Bill Wohler <wohler@newt.com>   ph: +1-415-854-1857  fax: +1-415-854-3195
Say it with MIME.  Maintainer of comp.mail.mh and news.software.nn FAQs.
If you're passed on the right, you're in the wrong lane.



Reply to: