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

lustre 2.12.6 compilation failure with rhel83 and mofed 5.2.2: "/usr/bin/ld: cannot find -lrdmacm"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Minor
    • None
    • Lustre 2.12.6
    • None
    • RHEL 8.3, MOFED 5.2.2.
    • 3
    • 9223372036854775807

    Description

      I was hit with a compilation problem in 'make rpms':
      ...
      Making all in mpi
      libtool: link: mpicc -fPIC -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2 -Werror -DKVER=4.18.0-240.15.1.1nas.el8.t4.x86_64 -DNAS_VER=3nasC_mofed522 -Wall -Werror -Wl,-z -Wl,relro -o rr_alloc rr_alloc.o
      libtool: link: mpicc -fPIC -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -g -O2 -Werror -DKVER=4.18.0-240.15.1.1nas.el8.t4.x86_64 -DNAS_VER=3nasC_mofed522 -Wall -Werror -Wl,-z -Wl,relro -o createmany_mpi createmany-mpi.o
      /usr/bin/ld: cannot find -lrdmacm
      /usr/bin/ld: cannot find -libverbs
      /usr/bin/ld: cannot find -libumad
      collect2: error: ld returned 1 exit status

      [root@swbuild1 nas-2.12.6]# rpm -q librdmacm libibverbs libibumad
      librdmacm-52mlnx1-1.52220.x86_64
      libibverbs-52mlnx1-1.52220.x86_64
      libibumad-52mlnx1-1.52220.x86_64

      I did not have problem (same lustre 2.12.6) with:
      SLES12 SP5 + MOFED 4.9
      SLES15 SP2 + MOFED 5.2.1
      RHEL 7.9 + MOFED 4.9

      Hmm, my OS is actually TOSS 4, which is based on RHEL 8.3.
      log-rpms is attached.

      Attachments

        Activity

          People

            wc-triage WC Triage
            jaylan Jay Lan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: