Skip to content

rockylinux9 - /usr/bin/ld: cannot find -lnsl #72

Open

Description

@chargr

when building on rockylinux9 with a light set of dev packages (gcc/glibc-devel)

/usr/bin/ld: cannot find -lnsl

libnsl was removed from standard glibc libraries.

does LSF still require libnsl on a more modern OS like rockylinux 9?

if so, should libnsl2 be used, or should builds be limited to older distro/glibc and the compat nsl libraries used on rocky9

Activity

  1. chargr commented on Nov 27, 2024

    @chargr
    Author

    looking forward to centos stream10 - looks like libnsl2 is dropped - but the compat libnsl is maintained

    avoiding libnsl2 is probably the way to go.

  2. TheWitness commented on Nov 27, 2024

    @TheWitness

    Good to hear. Hopefully other aspects of that library are maintained. XDR is still in heavy use throughout the industry including LSF, which depends on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions