...
Excerpt | ||
---|---|---|
| ||
jasper library that has been linked statically is trying to be linked into a dynamic libgrib_api.so. Libraries linked to a dynamic library must use "relocatable" code, and normally static libraries aren't. Possible solutions |
Getting an "relocation R_X86_64_32 against `.bss' cannot be used when making a shared object; recompile with -fPIC"
Solution
Like for example the following case
...
Panel | ||
---|---|---|
| ||
A jasper library that has been linked statically is trying to be linked into a dynamic libgrib_apilibeccodes.so. Libraries linked to a dynamic library must use "relocatable" code, and normally static libraries aren't. Possible solutions are:
|
...