You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix script and/or instructions to build Exodus.
Greg has recommendations that might help.
Configured On: Fri 08 Dec 2023 02:41:49 PM MST
Host System: x86_64-Linux-5.4.0-167-generic
Build Directory: /project/eesdev/tam/clone/LaGriT_V333/TPLs/seacas/TPL/netcdf/netcdf-c/build
Install Prefix: /project/eesdev/tam/clone/LaGriT_V333/TPLs/seacas
Static Library: yes
Extra libraries: -lhdf5_hl -lhdf5 -lm -lz -ldl -lz -lzstd -lbz2 -lcurl -lxml2
-- Configuring done
-- Generating done
-- Build files have been written to: /project/eesdev/tam/clone/LaGriT_V333/TPLs/seacas/TPL/netcdf/netcdf-c/build
[ 55%] Building C object libnczarr/CMakeFiles/nczarr.dir/zprov.c.o
/usr/bin/ld: /project/eesdev/tam/clone/LaGriT_V333/TPLs/seacas/lib/libz.a(zutil.o): relocation R_X86_64_PC32 against symbol `z_errmsg' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
[ 58%] Built target nczarr
make: *** [Makefile:166: all] Error 2
couldn't build NetCDF. exiting.
The text was updated successfully, but these errors were encountered:
Hello, I tried installing with Exodus but I still get the cannot find -lcurl error as above when running the ./install-exodus.sh script.
[ 69%] Linking CXX executable SEACASExodus_ExoIICTests.exe
/usr/bin/ld: cannot find -lcurl: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [packages/seacas/libraries/exodus/test/CMakeFiles/SEACASExodus_ExoIICTests.dir/build.make:134: packages/seacas/libraries/exodus/test/SEACASExodus_ExoIICTests.exe] Error 1
make[1]: *** [CMakeFiles/Makefile2:1394: packages/seacas/libraries/exodus/test/CMakeFiles/SEACASExodus_ExoIICTests.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
I'm on a standard Ubuntu distribution running in WSL (Windows Subsystem for Linux), but this should not matter, since is supposed to behave exactly as standard Ubuntu.
I guess something is missing from the ./install-exodus.sh script (it also throws a lot of warnings) but it is really difficult for me to understand what is missing.
Fix script and/or instructions to build Exodus.
Greg has recommendations that might help.
The text was updated successfully, but these errors were encountered: