Bug 509964 - Bind utils produce error while loading shared libraries
Summary: Bind utils produce error while loading shared libraries
Keywords:
Status: CLOSED DUPLICATE of bug 509635
Alias: None
Product: Fedora
Classification: Fedora
Component: bind
Version: 11
Hardware: All
OS: Linux
low
urgent
Target Milestone: ---
Assignee: Adam Tkac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-07 07:35 UTC by Panos Kavalagios
Modified: 2013-04-30 23:43 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-07-13 11:10:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Panos Kavalagios 2009-07-07 07:35:30 UTC
Description of problem: Error while loading liblwres.so.50


Version-Release number of selected component (if applicable): bind-libs-9.6.1-2.fc11.x86_64


How reproducible: Just run whatever bind util like "host" and "nslookup"


Steps to Reproduce:
1. Run host www.cnn.com
2.
3.
  
Actual results:
host www.cnn.com
host: error while loading shared libraries: liblwres.so.50: cannot open shared object file: No such file or directory


Expected results: IP resolving of www.cnn.com


Additional info: The link of shared library is broken:
ls -al /usr/lib64/liblwres*
lrwxrwxrwx 1 root root    18 2009-07-06 08:55 /usr/lib64/liblwres.so.50 -> liblwres.so.50.2.0
-rwxr-xr-x 1 root root 73336 2009-06-24 17:58 /usr/lib64/liblwres.so.50.0.2
It should have pointed to liblwres.so.50.0.2 and not to liblwres.so.50.2.0. A workaround would be possibly to manually fix the link.

Comment 1 Jon Baker 2009-07-07 14:05:22 UTC
Manually fixing the link does indeed correct the problem.  There is a second one that needs fixing, libbind9.so.50 -> libbind9.so.50.2.0 should be libbind9.so.50 -> libbind9.so.50.0.3

This appears to have been changed on my system with the latest updates of the bind packages.

Comment 2 Jon Baker 2009-07-07 14:23:27 UTC
Also, appears (for me) to only be effecting the 64-bit libraries, as my i386 box has the correct file that the link is linking to.

Comment 3 Stephen John Smoogen 2009-07-07 20:56:01 UTC
running ldconfig -v fixed both problems.

Comment 4 Panos Kavalagios 2009-07-08 04:55:56 UTC
Indeed, ldconfig can also help as an alternative workaround and only as that. The link was delivered by the bind-libs package:

$ rpm -qf /usr/lib64/liblwres.so.50
bind-libs-9.6.1-2.fc11.x86_64

Either the package to include the correct link or to run ldconfig as post install procedure. In no case a user should be required to run additional programs or manually fix broken links.

Comment 5 Adam Miller 2009-07-09 15:42:36 UTC
[10:40:25][adam@turnip][SRPMS]+ host www.google.com
host: error while loading shared libraries: liblwres.so.50: cannot open shared object file: No such file or directory
[10:41:03][adam@turnip][SRPMS]+ rpm -qf /usr/lib/liblwres.so.50
bind-libs-9.6.1-2.fc11.i586
[10:41:17][adam@turnip][SRPMS]+ uname -a
Linux fooBox 2.6.29.5-191.fc11.i686.PAE #1 SMP Tue Jun 16 23:19:53 EDT 2009 i686 i686 i386 GNU/Linux


Happening on 32-bit here.

Comment 6 Stephen Cuppett 2009-07-12 18:07:22 UTC
Potential duplicate of Bug #509618.

Comment 7 Adam Tkac 2009-07-13 11:10:26 UTC

*** This bug has been marked as a duplicate of bug 509635 ***


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