- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Everyone,
I'm getting this error when running make on HDF5 src with the intel compilers:
ld: warning: libimf.so, needed by ../src/.libs/libhdf5.so, not found (try using -rpath or -rpath-link)
ld: warning: libsvml.so, needed by ../src/.libs/libhdf5.so, not found (try using -rpath or -rpath-link)
ld: warning: libintlc.so.5, needed by ../src/.libs/libhdf5.so, not found (try using -rpath or -rpath-link)
ld: .libs/testhdf5: hidden symbol `__intel_cpu_indicator_init' in /export/el6/intel/2011.0.013/composerxe-2011.0.084/compiler/lib/intel64/libirc.a(cpu_disp.o) is referenced by DSO
ld: final link failed: Nonrepresentable section on output
make[1]: *** [testhdf5] Error 1
make[1]: Leaving directory `/home/[removed]/hdf5/hdf5-1.8.16/test'
make: *** [all-recursive] Error 1
any idea why I'm getting this?
- Tags:
- CC++
- Development Tools
- Intel® C++ Compiler
- Intel® Parallel Studio XE
- Intel® System Studio
- Optimization
- Parallel Computing
- Vectorization
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems you don't have shared library path set. Sourcing compilervars script would take care of this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Was this issue successfully solved by sourcing compilervars? I am getting *almost* the exact same error message as Jeb b. when running make on HDF5 with Intel compilers:
ld: warning: libimf.so, needed by ../src/.libs/libhdf5.so, not found (try using -rpath or -rpath-link)
ld: warning: libsvml.so, needed by ../src/.libs/libhdf5.so, not found (try using -rpath or -rpath-link)
ld: warning: libirng.so, needed by ../src/.libs/libhdf5.so, not found (try using -rpath or -rpath-link)
ld: warning: libintlc.so.5, needed by ../src/.libs/libhdf5.so, not found (try using -rpath or -rpath-link)
ld: .libs/testhdf5: hidden symbol `__intel_cpu_feature_
ld: final link failed: Bad value
make[1]: *** [testhdf5] Error 1
make[1]: Leaving directory `/home/miriam/Downloads/hdf5-
make: *** [all-recursive] Error 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same problem.
Help please :(
libtool: link: warning: library `/home/alunos/Documentos/final01_04_16/szip/lib/libsz.la' was moved.
CC testhdf5.o
CC tarray.o
CC tattr.o
CC tchecksum.o
CC tconfig.o
CC tfile.o
CC tgenprop.o
CC th5o.o
CC th5s.o
CC tcoords.o
CC theap.o
CC tid.o
CC titerate.o
CC tmeta.o
CC tmisc.o
tmisc.c(2725): warning #810: conversion from "void *" to "const char" may lose significant bits
{"1234567", "1234567\0", "12345678", {NULL}};
^
tmisc.c(2804): warning #810: conversion from "void *" to "const char" may lose significant bits
{"1234567", "1234567\0", "12345678", {NULL}};
^
CC trefer.o
trefer.c(496): warning #69: integer conversion resulted in truncation
hdset_reg_ref_t nvrbuf[3]={{0},{101},{1000000000}}; /* buffer with non-valid refs */
^
CC trefstr.o
CC tselect.o
CC tskiplist.o
CC tsohm.o
CC ttime.o
CC ttst.o
CC tunicode.o
CC tvlstr.o
CC tvltypes.o
CCLD testhdf5
libtool: link: warning: library `/home/alunos/Documentos/final01_04_16/szip/lib/libsz.la' was moved.
libtool: link: warning: library `/home/alunos/Documentos/final01_04_16/szip/lib/libsz.la' was moved.
ld: warning: libimf.so, needed by ../src/.libs/libhdf5.so, not found (try using -rpath or -rpath-link)
ld: warning: libsvml.so, needed by ../src/.libs/libhdf5.so, not found (try using -rpath or -rpath-link)
ld: warning: libirng.so, needed by ../src/.libs/libhdf5.so, not found (try using -rpath or -rpath-link)
ld: warning: libintlc.so.5, needed by ../src/.libs/libhdf5.so, not found (try using -rpath or -rpath-link)
ld: .libs/testhdf5: hidden symbol `__intel_cpu_feature_indicator_x' in /opt/intel/compilers_and_libraries_2016.2.181/linux/compiler/lib/intel64_lin/libirc.a(cpu_feature_disp.o) is referenced by DSO
ld: final link failed: Bad value
Makefile:1519: recipe for target 'testhdf5' failed
make[1]: *** [testhdf5] Error 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
These are C++ issues. I am moving this to the C++ forum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I bet you upgraded to Xcode 7.3, which is responsible for this problem. This version of Xcode does not export variables to subshells as a security measure, so that setting the environment variable DYLD_LIBRARY_PATH to the appropriate location (like /opt/intel/lib) does not work. You have two choices, turn off SIP (not recommended) or hack the HDF5 build system to add the needed libraries explicitly. You will in fact need "-L/opt/intel/lib -lifport -lifcore -limf -lsvml -lintlc". You can check whether HDF5 provide a means to add these via configure.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page