Project

General

Profile

Actions

Bug #4521

closed

wt 3.3.5 installation problem

Added by denis Bertini over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
10/23/2015
Due date:
% Done:

0%

Estimated time:

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 ?

Actions #1

Updated by Koen Deforche over 8 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

Actions #2

Updated by Koen Deforche over 8 years ago

  • Status changed from Resolved to Closed
Actions #3

Updated by Koen Deforche over 8 years ago

  • Target version set to 3.3.5
Actions

Also available in: Atom PDF