Bug #4521
closedwt 3.3.5 installation problem
0%
Description
Hi all,
I am facing an installation problem linked to libGraphicsMagick on Mint 17.2 ( g 4.8 )
Here the output >>>>>
/usr/bin/ld: /usr/local/lib/libGraphicsMagick.a(magick_libGraphicsMagick_la-blob.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libGraphicsMagick.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: * [src/libwt.so.3.3.5] Error 1
make[1]: * [src/CMakeFiles/wt.dir/all] Error 2
Any idea ?
Updated by Koen Deforche about 9 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
Hey,
I believe you're mixing static and dynamic libraries in an illegal way. You should use the .so version of your graphicsmagick library if you want to link it into a shared .so version of Wt? The underlying reason is that it's not guaranteed that code for a static library can be included in a dynamic library (because on some platforms -fPIC is required during the compilation).
Koen
Updated by Koen Deforche about 9 years ago
- Status changed from Resolved to Closed