Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-16150

Fix ZFS(2.1.99-1) build error on CentOS (3.10)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

       

      $ uname -r
      3.10.0-1160.15.2.el7.x86_64

       

      $ zfs --version
      zfs-2.1.99-1359_gede037c

      The build fails with below error:

       

      make[4]: Entering directory `/root/lustre01/lustre-release/lustre/utils'
      gcc  -rdynamic -shared -export-dynamic -pthread \
               -L/root/zfs/zfs_git_lustre_build/zfs//lib/libzfs/.libs/ -L/root/zfs/zfs_git_lustre_build/zfs//lib/libnvpair/.libs/ -L/root/zfs/zfs_git_lustre_build/zfs//lib/libzpool/.libs/ -o mount_osd_zfs.so \
               `ar -t libmount_utils_zfs.a` \
               -ldl   -lzfs -lnvpair -lzpool
      /usr/bin/ld: cannot find -lzfs
      /usr/bin/ld: cannot find -lnvpair
      /usr/bin/ld: cannot find -lzpool
      collect2: error: ld returned 1 exit status

       

      Attachments

        Activity

          People

            arshad512 Arshad Hussain
            arshad512 Arshad Hussain
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: