I am trying a lot to install cantera 1.8.0. It is an older version but i need to install it on my Ubuntu 18.04. I am
Codeline of the error is
/usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -O3 -Wall -fPIC build/temp.linux-x86_64-2.6/src/pycantera.o -L/home/anirudh/Downloads/Cantera/cantera-1.8.0-beta/build/lib/x86_64-unknown-linux-gnu -L/home/anirudh/Downloads/Cantera/cantera-1.8.0-beta/build/lib/x86_64-unknown-linux-gnu -L/usr/local/lib -lclib -luser -loneD -lzeroD -lequil -lkinetics -ltransport -lthermo -lctnumerics -lctmath -ltpx -lctspectra -lconverters -lctbase -lsundials_cvodes -lsundials_nvecserial -lctlapack -lctblas -lctf2c -lctf2c -lctf2c -lm -o build/lib.linux-x86_64-2.6/Cantera/_cantera.so -L/usr/local/lib
/usr/bin/ld: /usr/local/lib/libsundials_cvodes.a(cvodes.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' 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
error: command 'g++' failed with exit status 1
Makefile:53: recipe for target '_build' failed
make[1]: *** [_build] Error 1
make[1]: Leaving directory '/home/anirudh/Downloads/Cantera/cantera-1.8.0-beta/Cantera/python'
Makefile:138: recipe for target 'python' failed
make: *** [python] Error 2