Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed #6

Open
craeftsmith opened this issue Dec 11, 2019 · 0 comments
Open

Build failed #6

craeftsmith opened this issue Dec 11, 2019 · 0 comments

Comments

@craeftsmith
Copy link

The build failed with the following error below. I was hoping someone had seen this before.

/usr/bin/gfortran -Wall -g -Wall -g -shared build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src/_read_sigma_specmodule.o build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src/fortranobject.o build/temp.linux-x86_64-2.7/src/kinds.o build/temp.linux-x86_64-2.7/src/sigio_module.o build/temp.linux-x86_64-2.7/src/shtns.o build/temp.linux-x86_64-2.7/src/read_sigma_spec.o -L/usr/local/lib -L/usr/local/lib -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7 -lshtns -lfftw3 -lgfortran -o build/lib.linux-x86_64-2.7/_read_sigma_spec.so
/usr/bin/ld: /usr/local/lib/libshtns.a(sht_init.o): relocation R_X86_64_PC32 against symbol `sht_data' 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 "/usr/bin/gfortran -Wall -g -Wall -g -shared build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src/_read_sigma_specmodule.o build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/src/fortranobject.o build/temp.linux-x86_64-2.7/src/kinds.o build/temp.linux-x86_64-2.7/src/sigio_module.o build/temp.linux-x86_64-2.7/src/shtns.o build/temp.linux-x86_64-2.7/src/read_sigma_spec.o -L/usr/local/lib -L/usr/local/lib -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7 -lshtns -lfftw3 -lgfortran -o build/lib.linux-x86_64-2.7/_read_sigma_spec.so" failed with exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant