gcam-core icon indicating copy to clipboard operation
gcam-core copied to clipboard

Error while building GCAM on High Performance Cluster `memcpy@GLIBC_2.14'

Open tapajyoti-ghosh opened this issue 3 years ago • 0 comments

On exploring the issue, a possible solution seems to be this. But I am unsure how to implement this.

https://stackoverflow.com/questions/12286460/undefined-reference-to-mempcyglibc-2-14-when-compiling-on-linux

nopt/nrel/apps/anaconda/mini_4.9.2/bin/x86_64-conda-linux-gnu-c++ -o gcam.exe -O3 -pthread -ggdb -DNDEBUG -DFUSION_MAX_VECTOR_SIZE=30 -D__HAVE_JAVA__=0  -MMD -std=c++14 -Wno-deprecated  -Wl,-rpath,/projects/liaison/gcam/gcam/libs/tbb/lib  main.o -lgcam  -L/usr/local/lib -L/projects/liaison/gcam/gcam/cvs/objects/build/linux  -L/projects/liaison/gcam/gcam/libs/tbb/lib  -L/projects/liaison/gcam/gcam/libs/boost-lib/stage/lib -Wl,-rpath,/projects/liaison/gcam/gcam/libs/boost-lib/stage/lib -lhector -lboost_system -lboost_filesystem  -lm

/nopt/nrel/apps/anaconda/mini_4.9.2/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /projects/liaison/gcam/gcam/libs/boost-lib/stage/lib/libboost_filesystem.so: undefined reference to `memcpy@GLIBC_2.14'

collect2: error: ld returned 1 exit status

make[1]: *** [Makefile:20: gcam.exe] Error 1

tapajyoti-ghosh avatar Jan 14 '23 03:01 tapajyoti-ghosh