Bug 118194

Summary: No link to libperl.so in /lib
Product: [openSUSE] SUSE LINUX 10.0 Reporter: roberto robaldo <robaldo>
Component: OtherAssignee: Wolfgang Rosenauer <wolfgang.rosenauer>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: i586   
OS: SUSE Other   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description roberto robaldo 2005-09-21 10:29:24 UTC
After a very small installation of SUSE 10.0 RC1 ...

When i try to start Nagios there was every time a error message in the nagios
error log.

With ldd /usr/sbin/nagios i found out that nagios can´t find /lib/libperl.so.
After i make a link to the liberay manualy everything works fine.
Comment 1 Michael Gross 2005-09-21 11:15:54 UTC
This works for me in the final. The executable is linked directly to
/usr/lib/perl5/..., not to /lib/libperl.so. So this appears to be already fixed.
I'm taking the nagios-maintainer in the CC anyway.
Comment 2 Michael Gross 2005-09-21 11:17:28 UTC
Reopening this... obviously I got you wrong ;)
If it is looking for libperl.so in /lib, it will not find it. So this should be
fixed.
Comment 3 Wolfgang Rosenauer 2005-09-21 12:47:26 UTC
my ldd /usr/sbin/nagios shows:
t41p:~ # ldd /usr/sbin/nagios
        linux-gate.so.1 =>  (0xffffe000)
        libperl.so =>
/usr/lib/perl5/5.8.7/i586-linux-thread-multi/CORE/libperl.so (0x40018000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40171000)
        libdl.so.2 => /lib/libdl.so.2 (0x40187000)
        libm.so.6 => /lib/tls/libm.so.6 (0x4018b000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x401b1000)
        libutil.so.1 => /lib/libutil.so.1 (0x401e4000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x401e9000)
        libc.so.6 => /lib/tls/libc.so.6 (0x401fb000)
        /lib/ld-linux.so.2 (0x40000000)

Is there anything special in your system?
Comment 4 roberto robaldo 2005-09-21 13:59:13 UTC
My command shows:

ldd /usr/bin/nagios
        linux-gate.so.1 =>  (0xffffe000)
        libperl.so => /lib/libperl.so (0x4001d000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40160000)
        libdl.so.2 => /lib/libdl.so.2 (0x40176000)
        libm.so.6 => /lib/tls/libm.so.6 (0x4017a000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x401a0000)
        libutil.so.1 => /lib/libutil.so.1 (0x401d3000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x401d7000)
        libc.so.6 => /lib/tls/libc.so.6 (0x401ea000)
        libltdl.so.3 => /usr/lib/libltdl.so.3 (0x40309000)
        /lib/ld-linux.so.2 (0x40000000)


and can´t find the /lib/libperl.so, so i have to create the link by myself.

Nagios 2.0b4
Copyright (c) 1999-2005 Ethan Galstad (http://www.nagios.org)
Last Modified: 08-02-2005
License: GPL
Comment 5 Wolfgang Rosenauer 2005-09-21 15:15:07 UTC
(In reply to comment #4)
> Nagios 2.0b4
  ^^^^^^^^^^^^
> Copyright (c) 1999-2005 Ethan Galstad (http://www.nagios.org)
> Last Modified: 08-02-2005
> License: GPL

Whereever you took the build from. Please report it there.

Comment 6 roberto robaldo 2005-09-21 15:28:46 UTC
i didn´t found Nagios on the install Cd´s there is only Nagios-plugins and
nagios-nrpe so i download the Nagios programm from the project homepage.

I will report it there....