hercules-390 / hyperion

Hercules 390
Other
246 stars 69 forks source link

Hercules cannot work with libnsl.so.3 #289

Closed rachejazz closed 2 years ago

rachejazz commented 2 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 2 years ago

Divya,

What Arch version are you running?

Bill

rachejazz commented 2 years ago

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

rachejazz commented 2 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