Hi all
I ran into a dependency problem on a (really) plain Ubuntu 20.04 system.
Nothing else than openssh-server installed.
Installing and running puppet-agent on this freshly installed system, gave
me an error.
I found:
systemA # /opt/puppetlabs/puppet/bin/puppet agent --no-daemonize
/opt/puppetlabs/puppet/bin/ruby: /lib/x86_64-linux-gnu/libcrypt.so.1:
version `XCRYPT_2.0' not found (required by
/opt/puppetlab
s/puppet/lib/libruby.so.2.5)
So I asked ldd:
systemA # ldd /opt/puppetlabs/puppet/bin/ruby
/opt/puppetlabs/puppet/bin/ruby: /lib/x86_64-linux-gnu/libcrypt.so.1:
version `XCRYPT_2.0' not found (required by
/opt/puppetlabs/puppet/lib/libruby.so.2.5)
linux-vdso.so.1 (0x00007ffcf61d5000)
libruby.so.2.5 => /opt/puppetlabs/puppet/lib/libruby.so.2.5
(0x00007f0dba23d000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0dba046000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f0dba023000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0dba01d000)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1
(0x00007f0db9fe3000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0db9e94000)
/lib64/ld-linux-x86-64.so.2 (0x00007f0dba50d000)
I asked dpkg:
systemA # dpkg -S /lib/x86_64-linux-gnu/libcrypt.so.1
libc6:amd64: /lib/x86_64-linux-gnu/libcrypt.so.1
Ok, libcrypt on systemA comes from libc6.
Now I ask the same on a machine, quite some software installed and
puppet-agent working:
systemB # dpkg -S /lib/x86_64-linux-gnu/libcrypt.so.1
libcrypt1:amd64: /lib/x86_64-linux-gnu/libcrypt.so.1
Ok, let me cross check on both systems:
systemA # dpkg -l | grep libcrypt1
nothing...
systemB # dpkg -l | grep libcrypt1
ii libcrypt1:amd64
1:4.4.10-10ubuntu4 amd64 libcrypt shared library
On systemB some other software required the library and it was installed.
Somewhere in the dependency tree of puppet-agent should be an entry for
libcrypt1.
Is anyone deep enough in to decide wether this is a ruby problem or a a
puppet problem?
Best
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/241f6956-6961-4bb9-a98f-3ab7545ac1abn%40googlegroups.com.