smokeping errors on OpenBSD 5.4

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

smokeping errors on OpenBSD 5.4

Thorleif Wiik [BCIX]
Hey all,

just tried to run smokeping on OpenBSD 5.4,
but I have the following error after installing it with "pkg_add smokeping"

#########

>smokeping --help




Can't load
'/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so' for
module RRDs: Cannot load specified object at
/usr/libdata/perl5/amd64-openbsd/5.16.3/DynaLoader.pm line 190.

 at /usr/local/bin/../lib/Smokeping.pm line 15.

Compilation failed in require at /usr/local/bin/../lib/Smokeping.pm line 15.

BEGIN failed--compilation aborted at /usr/local/bin/../lib/Smokeping.pm
line 15.

Compilation failed in require at /usr/local/bin/smokeping line 12.

BEGIN failed--compilation aborted at /usr/local/bin/smokeping line 12.
#########


Any tips on that ?



Thanks, Thorleif

Reply | Threaded
Open this post in threaded view
|

Re: smokeping errors on OpenBSD 5.4

Remi Locherer
On Sat, Apr 05, 2014 at 10:37:40PM +0200, Thorleif Wiik [BCIX] wrote:

> Hey all,
>
> just tried to run smokeping on OpenBSD 5.4,
> but I have the following error after installing it with "pkg_add smokeping"
>
> #########
>
> >smokeping --help
>
>
>
>
> Can't load
> '/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so' for
> module RRDs: Cannot load specified object at
> /usr/libdata/perl5/amd64-openbsd/5.16.3/DynaLoader.pm line 190.
>
>  at /usr/local/bin/../lib/Smokeping.pm line 15.
>
> Compilation failed in require at /usr/local/bin/../lib/Smokeping.pm line 15.
>
> BEGIN failed--compilation aborted at /usr/local/bin/../lib/Smokeping.pm
> line 15.
>
> Compilation failed in require at /usr/local/bin/smokeping line 12.
>
> BEGIN failed--compilation aborted at /usr/local/bin/smokeping line 12.
> #########
>
>
> Any tips on that ?

Is the package "rrdtool" installed? It should since it's a depencensy of
smokeping.

>
>
>
> Thanks, Thorleif

Reply | Threaded
Open this post in threaded view
|

Re: smokeping errors on OpenBSD 5.4

Stuart Henderson
In reply to this post by Thorleif Wiik [BCIX]
On 2014-04-05, Thorleif Wiik [BCIX] <[hidden email]> wrote:
> Hey all,
>
> just tried to run smokeping on OpenBSD 5.4,
> but I have the following error after installing it with "pkg_add smokeping"
>
> #########
>
>>smokeping --help

Please include output of 'env LD_DEBUG=1 smokeping --help' and
'ldconfig -r | head -2'.

Reply | Threaded
Open this post in threaded view
|

Re: smokeping errors on OpenBSD 5.4

Wesley MOUEDINE ASSABY
In reply to this post by Thorleif Wiik [BCIX]
Hi,

Perhaps this can help :

Dependencies :
http://ports.su/net/smokeping

What do you need from the official Smokeping project :
http://oss.oetiker.ch/smokeping/doc/smokeping_install.en.html


Cheers,

Wesley

Le 2014-04-06 0:37, Thorleif Wiik [BCIX] a écrit :

> Hey all,
>
> just tried to run smokeping on OpenBSD 5.4,
> but I have the following error after installing it with "pkg_add
> smokeping"
>
> #########
>
>>smokeping --help
>
>
>
>
> Can't load
> '/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so'
> for
> module RRDs: Cannot load specified object at
> /usr/libdata/perl5/amd64-openbsd/5.16.3/DynaLoader.pm line 190.
>
>  at /usr/local/bin/../lib/Smokeping.pm line 15.
>
> Compilation failed in require at /usr/local/bin/../lib/Smokeping.pm
> line 15.
>
> BEGIN failed--compilation aborted at
> /usr/local/bin/../lib/Smokeping.pm
> line 15.
>
> Compilation failed in require at /usr/local/bin/smokeping line 12.
>
> BEGIN failed--compilation aborted at /usr/local/bin/smokeping line
> 12.
> #########
>
>
> Any tips on that ?
>
>
>
> Thanks, Thorleif

Reply | Threaded
Open this post in threaded view
|

Re: smokeping errors on OpenBSD 5.4

Stuart Henderson
On 2014-04-06, Wesley MOUEDINE ASSABY <[hidden email]> wrote:
> Hi,
>
> Perhaps this can help :
>
> Dependencies :
> http://ports.su/net/smokeping
>
> What do you need from the official Smokeping project :
> http://oss.oetiker.ch/smokeping/doc/smokeping_install.en.html

This is not going to help, Thorleif indicated that smokeping was
installed from packages so the required dependencies will be present.
From the error message shown there's a problem loading the RRD Perl
module.

I have a guess what may be wrong but the LD_DEBUG / ldconfig output
should make it clear.

Reply | Threaded
Open this post in threaded view
|

Re: smokeping errors on OpenBSD 5.4

Thorleif Wiik [BCIX]
Hi there,

here the requested output. The machine was just installed a few days ago
with 5.4  and smokeping was added with pkg_add.

>ldconfig -r | head -2

/var/run/ld.so.hints:

        search directories: /usr/lib:/usr/local/lib

>env LD_DEBUG=1 smokeping --help

rtld loading: '/usr/bin/perl'

exe load offset:  0x129a70700000

 flags /usr/bin/perl = 0x0

head /usr/bin/perl

obj /usr/bin/perl has /usr/bin/perl as head

examining: '/usr/bin/perl'

loading: libperl.so.13.0 required by /usr/bin/perl

 flags /usr/lib/libperl.so.13.0 = 0x0

obj /usr/lib/libperl.so.13.0 has /usr/bin/perl as head

loading: libc.so.69.0 required by /usr/bin/perl

 flags /usr/lib/libc.so.69.0 = 0x0

obj /usr/lib/libc.so.69.0 has /usr/bin/perl as head

loading: libpthread.so.17.3 required by /usr/bin/perl

 flags /usr/lib/libpthread.so.17.3 = 0x68

obj /usr/lib/libpthread.so.17.3 has /usr/bin/perl as head

loading: libutil.so.11.5 required by /usr/bin/perl

 flags /usr/lib/libutil.so.11.5 = 0x0

obj /usr/lib/libutil.so.11.5 has /usr/bin/perl as head

loading: libm.so.8.0 required by /usr/bin/perl

 flags /usr/lib/libm.so.8.0 = 0x0

obj /usr/lib/libm.so.8.0 has /usr/bin/perl as head

objname /usr/lib/libpthread.so.17.3 is nodelete

linking dep /usr/lib/libpthread.so.17.3 as child of /usr/bin/perl

linking dep /usr/lib/libperl.so.13.0 as child of /usr/bin/perl

linking dep /usr/lib/libm.so.8.0 as child of /usr/bin/perl

linking dep /usr/lib/libutil.so.11.5 as child of /usr/bin/perl

linking dep /usr/lib/libc.so.69.0 as child of /usr/bin/perl

examining: '/usr/lib/libpthread.so.17.3'

examining: '/usr/lib/libperl.so.13.0'

examining: '/usr/lib/libm.so.8.0'

examining: '/usr/lib/libutil.so.11.5'

examining: '/usr/lib/libc.so.69.0'

 flags /usr/libexec/ld.so = 0x0

obj /usr/libexec/ld.so has /usr/bin/perl as head

relocation took 0.001106

        Start            End              Type Open Ref GrpRef Name

        0000129a70700000 0000129a70b02000 exe  1    0   0      /usr/bin/perl

        0000129c722aa000 0000129c726bb000 rlib 0    2   0
/usr/lib/libpthread.so.17.3

        0000129c7e253000 0000129c7e7bf000 rlib 0    1   0
/usr/lib/libperl.so.13.0

        0000129c7278f000 0000129c72bb7000 rlib 0    1   0
/usr/lib/libm.so.8.0

        0000129c7c84b000 0000129c7cc56000 rlib 0    1   0
/usr/lib/libutil.so.11.5

        0000129c79211000 0000129c796fa000 rlib 0    1   0
/usr/lib/libc.so.69.0

        0000129c78e00000 0000129c78e00000 rtld 0    1   0
/usr/libexec/ld.so

symcache lookups 1231 hits 0 ratio 0% hits

dynamic loading done, success.

doing ctors obj 0x129c77829080 @0x129c722aeb50:
[/usr/lib/libpthread.so.17.3]

doing ctors obj 0x129c71695080 @0x129c7e284230: [/usr/lib/libperl.so.13.0]

doing ctors obj 0x129c76c3e080 @0x129c72793700: [/usr/lib/libm.so.8.0]

doing ctors obj 0x129c74e98080 @0x129c7c84e750: [/usr/lib/libutil.so.11.5]

doing ctors obj 0x129c736af080 @0x129c79230dd0: [/usr/lib/libc.so.69.0]

entry point: 0x129a70701140

dlctl: _dl_thread_fnc set to 0x129c722b0d30

dlctl: _dl_bind_lock_f set to 0x129c722b0630

dlopen: loading: /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Cwd/Cwd.so

 flags /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Cwd/Cwd.so = 0x0

head /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Cwd/Cwd.so

obj /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Cwd/Cwd.so has
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Cwd/Cwd.so as head

linking /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Cwd/Cwd.so as
dlopen()ed

head [/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Cwd/Cwd.so]

examining: '/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Cwd/Cwd.so'

tail /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Cwd/Cwd.so

doing ctors obj 0x129c72cb6048 @0x129c74ea1160:
[/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Cwd/Cwd.so]

dlopen: /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Cwd/Cwd.so: done
(success).

dlsym: boot_Cwd in /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Cwd/Cwd.so:
0x129c74ea1450

dlopen: loading:
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Encode/Encode.so

 flags /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Encode/Encode.so = 0x0

head /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Encode/Encode.so

obj /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Encode/Encode.so has
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Encode/Encode.so as head

linking /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Encode/Encode.so as
dlopen()ed

head [/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Encode/Encode.so]

examining: '/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Encode/Encode.so'

tail /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Encode/Encode.so

doing ctors obj 0x129c7e80d048 @0x129c808f2250:
[/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Encode/Encode.so]

dlopen: /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Encode/Encode.so: done
(success).

dlsym: boot_Encode in
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Encode/Encode.so:
0x129c808f6300

dlopen: loading:
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Digest/MD5/MD5.so

 flags /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Digest/MD5/MD5.so = 0x0

head /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Digest/MD5/MD5.so

obj /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Digest/MD5/MD5.so has
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Digest/MD5/MD5.so as head

linking /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Digest/MD5/MD5.so as
dlopen()ed

head [/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Digest/MD5/MD5.so]

examining: '/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Digest/MD5/MD5.so'

tail /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Digest/MD5/MD5.so

doing ctors obj 0x129c7c599048 @0x129c80cfa240:
[/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Digest/MD5/MD5.so]

dlopen: /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Digest/MD5/MD5.so:
done (success).

dlsym: boot_Digest__MD5 in
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Digest/MD5/MD5.so:
0x129c80cfa580

dlopen: loading:
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Socket/Socket.so

 flags /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Socket/Socket.so = 0x0

head /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Socket/Socket.so

obj /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Socket/Socket.so has
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Socket/Socket.so as head

linking /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Socket/Socket.so as
dlopen()ed

head [/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Socket/Socket.so]

examining: '/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Socket/Socket.so'

tail /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Socket/Socket.so

doing ctors obj 0x129c7e23b048 @0x129c810ffc30:
[/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Socket/Socket.so]

dlopen: /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Socket/Socket.so: done
(success).

dlsym: boot_Socket in
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Socket/Socket.so:
0x129c81100230

dlopen: loading: /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/IO/IO.so

 flags /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/IO/IO.so = 0x0

head /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/IO/IO.so

obj /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/IO/IO.so has
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/IO/IO.so as head

linking /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/IO/IO.so as dlopen()ed

head [/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/IO/IO.so]

examining: '/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/IO/IO.so'

tail /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/IO/IO.so

doing ctors obj 0x129c7bf79048 @0x129c815076a0:
[/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/IO/IO.so]

dlopen: /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/IO/IO.so: done
(success).

dlsym: boot_IO in /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/IO/IO.so:
0x129c81507b50

dlopen: loading: /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Fcntl/Fcntl.so

 flags /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Fcntl/Fcntl.so = 0x0

head /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Fcntl/Fcntl.so

obj /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Fcntl/Fcntl.so has
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Fcntl/Fcntl.so as head

linking /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Fcntl/Fcntl.so as
dlopen()ed

head [/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Fcntl/Fcntl.so]

examining: '/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Fcntl/Fcntl.so'

tail /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Fcntl/Fcntl.so

doing ctors obj 0x129c72be1048 @0x129c8190bfb0:
[/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Fcntl/Fcntl.so]

dlopen: /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Fcntl/Fcntl.so: done
(success).

dlsym: boot_Fcntl in
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Fcntl/Fcntl.so: 0x129c8190c370

dlopen: loading: /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/POSIX/POSIX.so

 flags /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/POSIX/POSIX.so = 0x0

head /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/POSIX/POSIX.so

obj /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/POSIX/POSIX.so has
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/POSIX/POSIX.so as head

linking /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/POSIX/POSIX.so as
dlopen()ed

head [/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/POSIX/POSIX.so]

examining: '/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/POSIX/POSIX.so'

loading: libm.so.8.0 required by
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/POSIX/POSIX.so

linking dep /usr/lib/libm.so.8.0 as child of
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/POSIX/POSIX.so

tail /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/POSIX/POSIX.so

doing ctors obj 0x129c79769048 @0x129c81d146d0:
[/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/POSIX/POSIX.so]

dlopen: /usr/libdata/perl5/amd64-openbsd/5.16.3/auto/POSIX/POSIX.so: done
(success).

dlsym: boot_POSIX in
/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/POSIX/POSIX.so: 0x129c81d152f0

dlopen: loading:
/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so

 flags /usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so =
0x0

head /usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so

obj /usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so has
/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so as head

linking /usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so
as dlopen()ed

head [/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so]

examining:
'/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so'

loading: libm.so.8.0 required by
/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so

loading: librrd.so.3.0 required by
/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so

 flags /usr/local/lib/librrd.so.3.0 = 0x0

obj /usr/local/lib/librrd.so.3.0 has
/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so as head

loading: libz.so.4.1 required by
/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so

 flags /usr/lib/libz.so.4.1 = 0x0

obj /usr/lib/libz.so.4.1 has
/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so as head

linking dep /usr/local/lib/librrd.so.3.0 as child of
/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so

linking dep /usr/lib/libm.so.8.0 as child of
/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so

linking dep /usr/lib/libz.so.4.1 as child of
/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so

examining: '/usr/local/lib/librrd.so.3.0'

loading: libfreetype.so.20.0 required by /usr/local/lib/librrd.so.3.0

dlopen: failed to open libfreetype.so.20.0

unload_shlib called on
/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so

unload_shlib called on /usr/local/lib/librrd.so.3.0

unload_shlib unloading on /usr/local/lib/librrd.so.3.0

unload_shlib called on /usr/lib/libm.so.8.0

unload_shlib called on /usr/lib/libz.so.4.1

unload_shlib unloading on /usr/lib/libz.so.4.1

unload_shlib unloading on
/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so

dlopen: /usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so:
done (failed).

Can't load
'/usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/RRDs/RRDs.so' for
module RRDs: Cannot load specified object at
/usr/libdata/perl5/amd64-openbsd/5.16.3/DynaLoader.pm line 190.

 at /usr/local/bin/../lib/Smokeping.pm line 15.

Compilation failed in require at /usr/local/bin/../lib/Smokeping.pm line 15.

BEGIN failed--compilation aborted at /usr/local/bin/../lib/Smokeping.pm
line 15.

Compilation failed in require at /usr/local/bin/smokeping line 12.

BEGIN failed--compilation aborted at /usr/local/bin/smokeping line 12.

doing dtors obj 0x129c79769048 @0x129c81d1d890:
[/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/POSIX/POSIX.so]

doing dtors obj 0x129c72be1048 @0x129c8190ccb0:
[/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Fcntl/Fcntl.so]

doing dtors obj 0x129c7bf79048 @0x129c81509230:
[/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/IO/IO.so]

doing dtors obj 0x129c7e23b048 @0x129c81102c60:
[/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Socket/Socket.so]

doing dtors obj 0x129c7c599048 @0x129c80cfb490:
[/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Digest/MD5/MD5.so]

doing dtors obj 0x129c7e80d048 @0x129c808f6a30:
[/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Encode/Encode.so]

doing dtors obj 0x129c72cb6048 @0x129c74ea1d00:
[/usr/libdata/perl5/amd64-openbsd/5.16.3/auto/Cwd/Cwd.so]

doing dtors

doing dtors obj 0x129c71695080 @0x129c7e38d220: [/usr/lib/libperl.so.13.0]

doing dtors obj 0x129c76c3e080 @0x129c727acc90: [/usr/lib/libm.so.8.0]

doing dtors obj 0x129c74e98080 @0x129c7c854010: [/usr/lib/libutil.so.11.5]

doing dtors obj 0x129c736af080 @0x129c792b8660: [/usr/lib/libc.so.69.0]


Thx, Thorleif


On Mon, Apr 7, 2014 at 12:03 AM, Stuart Henderson <[hidden email]>
 wrote:

> On 2014-04-06, Wesley MOUEDINE ASSABY <[hidden email]> wrote:
> > Hi,
> >
> > Perhaps this can help :
> >
> > Dependencies :
> > http://ports.su/net/smokeping
> >
> > What do you need from the official Smokeping project :
> > http://oss.oetiker.ch/smokeping/doc/smokeping_install.en.html
>
> This is not going to help, Thorleif indicated that smokeping was
> installed from packages so the required dependencies will be present.
> From the error message shown there's a problem loading the RRD Perl
> module.
>
> I have a guess what may be wrong but the LD_DEBUG / ldconfig output
> should make it clear.
>
>




On Mon, Apr 7, 2014 at 12:03 AM, Stuart Henderson <[hidden email]>wrote:

> On 2014-04-06, Wesley MOUEDINE ASSABY <[hidden email]> wrote:
> > Hi,
> >
> > Perhaps this can help :
> >
> > Dependencies :
> > http://ports.su/net/smokeping
> >
> > What do you need from the official Smokeping project :
> > http://oss.oetiker.ch/smokeping/doc/smokeping_install.en.html
>
> This is not going to help, Thorleif indicated that smokeping was
> installed from packages so the required dependencies will be present.
> From the error message shown there's a problem loading the RRD Perl
> module.
>
> I have a guess what may be wrong but the LD_DEBUG / ldconfig output
> should make it clear.
>
>


--
Thorleif Wiik, CTO
[hidden email]

 Tel: +49 160 90378641

BCIX Management GmbH / BCIX e.V.
Stromstrasse 5
10555 Berlin - Germany

http://www.bcix.de/
http://twitter.com/bcix
https://www.facebook.com/BCIX.Internet.Exchange

Reply | Threaded
Open this post in threaded view
|

Re: smokeping errors on OpenBSD 5.4

Philip Guenther-2
On Tue, Apr 8, 2014 at 2:35 PM, Thorleif Wiik [BCIX]
<[hidden email]> wrote:
> here the requested output. The machine was just installed a few days ago
> with 5.4  and smokeping was added with pkg_add.
...
> examining: '/usr/local/lib/librrd.so.3.0'
> loading: libfreetype.so.20.0 required by /usr/local/lib/librrd.so.3.0
> dlopen: failed to open libfreetype.so.20.0

You didn't install the xbase set when you installed 5.4, but smokeping
depends on rrdtool which does graphics processing using libfreetype,
which is in xbase.

So install xbase.

In the mean time, how did you manage to install rrdtool when you
system is missing libfreetype?  pkg_add should have complained about
that and refused to install it.  Which -D option did you use?


Philip Guenther

Reply | Threaded
Open this post in threaded view
|

Re: smokeping errors on OpenBSD 5.4

Stuart Henderson
In reply to this post by Thorleif Wiik [BCIX]
On 2014-04-08, Thorleif Wiik [BCIX] <[hidden email]> wrote:
> Hi there,
>
> here the requested output. The machine was just installed a few days ago
> with 5.4  and smokeping was added with pkg_add.

OK - this matches my guess. You must have untarred xbase on
the system after installing the OS (perhaps after trying to
install smokeping and it failing due to missing X libraries?) and
haven't rebooted since then. Please follow the instructions in
http://www.openbsd.org/faq/faq4.html#AddFileSet.