Hi,
I just got a similar error after building on Centos6.8, and then build
on Centos7.2 in the same source tree
because I had forgot to rerun ./configure in between.
/usr/bin/ld: ../common/.libs/libcommontools.a(rbh_modules.o): undefined
reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib64/libdl.so.2: error adding symbols:/ DSO usrmissing/ binfrom/
ldcommand: line.
./common/.libs/libcommontools.a(rbh_modules.o): undefined reference to
symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib64/libdl.so.2: error adding symbols: DSO missing from command line
/usr/bin/ld: ../common/.libs/libcommontools.a(rbh_modules.o): undefined
reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib64/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
/usr/bin/ld: ../common/.libs/libcommontools.a(rbh_modules.o): undefined
reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib64/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
/usr/bin/ld: ../common/.libs/libcommontools.a(rbh_modules.o): undefined
reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib64/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [robinhood] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [rbh-undelete] Error 1
make[2]: *** [rbh-find] Error 1
make[2]: *** [rbh-diff] Error 1
make[2]: *** [rbh-du] Error 1
after running : ./configure && make clean && make -j 8
This build issue was fixed.
On 06/02/17 17:49, Grigory Shamov wrote:
Hi All,
I have tried to rebuild Robinhood 3.0-1 on CentOS 6.8, from the latest
SourceForge downloads (both SRPM and tarball). We have Lustre-2.9.0 client
one the machine I am building it. For some reason, rpmbuild as well as
make rpms throws the following error.
CCLD rbh-undelete
//usrusr//binbin//ldld::
....//commoncommon//..libslibs//libcommontools.alibcommontools.a((rbh_modul
es.orbh_modules.o)):: undefinedundefined referencereference toto
symbolsymbol ''dlclosedlclose@@@@GLIBC_2.2.5GLIBC_2.2.5''
//usrusr//binbin//ldld:: notenote::
''dlclosedlclose@@@@GLIBC_2.2.5GLIBC_2.2.5'' isis defineddefined inin
DSODSO //lib64lib64//libdl.so.2libdl.so.2 soso trytry addingadding
itit toto thethe linkerlinker commandcommand lineline
//lib64lib64//libdl.so.2libdl.so.2:: couldcould notnot readread
symbolssymbols:: InvalidInvalid operationoperation
collect2: collect2: ld returned 1 exit status
ld returned 1 exit status
/usr/bin/ld: ../common/.libs/libcommontools.a(rbh_modules.o): undefined
reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO
/lib64/libdl.so.2 so try adding it to the linker command line
/lib64/libdl.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
Could anyone advise on how to work around it? Thank you very much in
advance.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
robinhood-support mailing list
robinhood-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/robinhood-support