hercules-390 / hyperion

Hercules 390
Other
253 stars 70 forks source link

Hercules cannot work with libnsl.so.3 #289

Closed rachejazz closed 3 years ago

rachejazz commented 3 years ago
$ dasdinit -linux -lfs SUSE.disk 3390-9 ROOT
dasdinit: error while loading shared libraries: libnsl.so.2: cannot open shared object file: No such file or directory

I am using Arch, my lib directory: image

Is there any fix to this? Like can it be safe to make a sym link between so.3 and so.2?

Digging into what version of libnsl I am using, I got this:

╰──> λ pacman -Ss libnsl
core/libnsl 2.0.0-1 [installed]
    Public client interface library for NIS(YP)
wrljet commented 3 years ago

Divya,

What Arch version are you running?

Bill

rachejazz commented 3 years ago

Rolling distro Bill, I'm on 5.14.11 currently :)

rachejazz commented 3 years ago

This issue got solved by applying symlink and a rebuild of dasdinit!

ln -s /usr/lib/libnsl-2.33.so /usr/lib/libnsl.so.2
ldd /usr/bin/dasdinit