Marcelo Linardi
New Around Here
Hi All,
I am running ASUSWRT-Merlin 380.65_4 on my RT-ACC66U and I am getting this error and don´t know how to get rid of it.
admin@RT-AC66U:/tmp/opt/bin# ssh-keygen
ssh-keygen: can't load library 'libz.so.1'
admin@RT-AC66U:/# sshd
sshd: can't load library 'libz.so.1'
the file exists as shown below :
admin@RT-AC66U:/# find ./ -name libz.so.1
./tmp/opt/lib/libz.so.1
I also tried reinstalling openssh :
admin@RT-AC66U:/tmp/opt# ipkg install openssh
Package openssh (5.9p1-1) installed in /opt/ is up to date.
Configuring openssh
update-alternatives: Linking //opt/bin/scp to /opt/bin/openssh-scp
update-alternatives: Linking //opt/bin/ssh to /opt/bin/openssh-ssh
Generating RSA Key...
/opt/bin/ssh-keygen: can't load library 'libz.so.1'
Generating RSA Key...
/opt/bin/ssh-keygen: can't load library 'libz.so.1'
Generating DSA Key...
/opt/bin/ssh-keygen: can't load library 'libz.so.1'
Fixing permissions on the /tmp directory...
killall: /opt/sbin/sshd: no process killed
/opt/sbin/sshd: can't load library 'libz.so.1'
postinst script returned status 16
ERROR: openssh.postinst returned 16
Nothing to be done
Successfully terminated.
admin@RT-AC66U:/tmp/opt#
Seems to be a link issue...
admin@RT-AC66U:/tmp/opt# ldd /opt/bin/ssh-keygen
libcrypto.so.0.9.7 => /opt/lib/libcrypto.so.0.9.7 (0x2aabf000)
libdl.so.0 => /opt/lib/libdl.so.0 (0x2ac0d000)
libutil.so.0 => /opt/lib/libutil.so.0 (0x2ac20000)
libz.so.1 => not found
libcrypt.so.0 => /opt/lib/libcrypt.so.0 (0x2ac31000)
libgcc_s.so.1 => /opt/lib/libgcc_s.so.1 (0x2ac55000)
libc.so.0 => /opt/lib/libc.so.0 (0x2ac74000)
ld-uClibc.so.0 => /opt/lib/ld-uClibc.so.0 (0x2aaa8000)
but... how can I fix it ?
BIG THANKS !
I am running ASUSWRT-Merlin 380.65_4 on my RT-ACC66U and I am getting this error and don´t know how to get rid of it.
admin@RT-AC66U:/tmp/opt/bin# ssh-keygen
ssh-keygen: can't load library 'libz.so.1'
admin@RT-AC66U:/# sshd
sshd: can't load library 'libz.so.1'
the file exists as shown below :
admin@RT-AC66U:/# find ./ -name libz.so.1
./tmp/opt/lib/libz.so.1
I also tried reinstalling openssh :
admin@RT-AC66U:/tmp/opt# ipkg install openssh
Package openssh (5.9p1-1) installed in /opt/ is up to date.
Configuring openssh
update-alternatives: Linking //opt/bin/scp to /opt/bin/openssh-scp
update-alternatives: Linking //opt/bin/ssh to /opt/bin/openssh-ssh
Generating RSA Key...
/opt/bin/ssh-keygen: can't load library 'libz.so.1'
Generating RSA Key...
/opt/bin/ssh-keygen: can't load library 'libz.so.1'
Generating DSA Key...
/opt/bin/ssh-keygen: can't load library 'libz.so.1'
Fixing permissions on the /tmp directory...
killall: /opt/sbin/sshd: no process killed
/opt/sbin/sshd: can't load library 'libz.so.1'
postinst script returned status 16
ERROR: openssh.postinst returned 16
Nothing to be done
Successfully terminated.
admin@RT-AC66U:/tmp/opt#
Seems to be a link issue...
admin@RT-AC66U:/tmp/opt# ldd /opt/bin/ssh-keygen
libcrypto.so.0.9.7 => /opt/lib/libcrypto.so.0.9.7 (0x2aabf000)
libdl.so.0 => /opt/lib/libdl.so.0 (0x2ac0d000)
libutil.so.0 => /opt/lib/libutil.so.0 (0x2ac20000)
libz.so.1 => not found
libcrypt.so.0 => /opt/lib/libcrypt.so.0 (0x2ac31000)
libgcc_s.so.1 => /opt/lib/libgcc_s.so.1 (0x2ac55000)
libc.so.0 => /opt/lib/libc.so.0 (0x2ac74000)
ld-uClibc.so.0 => /opt/lib/ld-uClibc.so.0 (0x2aaa8000)
but... how can I fix it ?
BIG THANKS !