libnsd.so: cannot open shared object file: No such file or directory

Bug #274773 reported by Hector Romojaro
82
This bug affects 11 people
Affects Status Importance Assigned to Milestone
aolserver4 (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: aolserver4

Hi,

Aolserver gives the following error when starting the daemon just after the install:
/usr/sbin/aolserver4-nsd: error while loading shared libraries: libnsd.so: cannot open shared object file: No such file or directory

After restarting the daemon, it's fixed. It seems that the package is starting the daemon before doing the ldconfig.

The full error:
----------------------------------------------------------------
(root@dotproject) (~) # apt-get install aolserver4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  aolserver4-core
Suggested packages:
  aolserver4-nscache aolserver4-nsencrypt
The following NEW packages will be installed:
  aolserver4 aolserver4-core
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1014kB of archives.
After this operation, 2253kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://es.archive.ubuntu.com hardy/universe aolserver4-core 4.5.0-14 [300kB]
Get:2 http://es.archive.ubuntu.com hardy/universe aolserver4 4.5.0-14 [715kB]
Fetched 1014kB in 0s (3232kB/s)
Preconfiguring packages ...
Selecting previously deselected package aolserver4-core.
(Reading database ... 129645 files and directories currently installed.)
Unpacking aolserver4-core (from .../aolserver4-core_4.5.0-14_i386.deb) ...
Selecting previously deselected package aolserver4.
Unpacking aolserver4 (from .../aolserver4_4.5.0-14_i386.deb) ...
Setting up aolserver4-core (4.5.0-14) ...
Setting up aolserver4 (4.5.0-14) ...
 * Starting web server aolserver4 /usr/sbin/aolserver4-nsd: error while loading shared libraries: libnsd.so: cannot open shared object file: No such file or directory
                                                                                                                                                  [fail]
invoke-rc.d: initscript aolserver4, action "start" failed.
dpkg: error processing aolserver4 (--configure):
 subprocess post-installation script returned error exit status 1
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 aolserver4
E: Sub-process /usr/bin/dpkg returned an error code (1)
----------------------------------------------------------------

Seems to be fixed on debian sid packages.

Cheers, Héctor

# lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04

# apt-cache policy aolserver4
aolserver4:
  Installed: 4.5.0-14
  Candidate: 4.5.0-14
  Version table:
 *** 4.5.0-14 0
        500 http://es.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

This bug occurs when aolserver4 and aolserver4-core are installed at the same time. ldconfig (run by aolserver4-core) is run after the setup of aolserver4 and libnsd.so is not known.

The failure only occurs during the setup and aolserver seems to start normally when it is installed.

Changed in aolserver4:
importance: Undecided → Low
status: New → Triaged
sandra (samdradm84)
Changed in aolserver4:
status: Triaged → Incomplete
Changed in aolserver4 (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.