Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was trying to run a model in Abaqus using a user defined subroutine. When I complied the code, it gave me the following errors:

ld: shell.o(shell_vuel.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
shell.o: could not read symbols: Bad value
Abaqus Error: Problem during linking - Single Precision Abaqus/Explicit User Subroutines

Please help me find a solution.

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.