php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58850 Failed to Build Extension
Submitted: 2009-09-04 10:30 UTC Modified: 2009-09-04 11:07 UTC
From: mike at digitalstruct dot com Assigned:
Status: Closed Package: gmagick (PECL)
PHP Version: 5.2.10 OS: RHEL 5.3 x86_64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mike at digitalstruct dot com
New email:
PHP Version: OS:

 

 [2009-09-04 10:30 UTC] mike at digitalstruct dot com
Description:
------------
Installed GraphicsMagick current release 1.3.6 with regular ./configure.  Utilized pecl install gmagic.

Build Error: /usr/bin/ld: /usr/local/lib/libGraphicsMagickWand.a(drawing_wand.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC


Reproduce code:
---------------
wget ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.3/GraphicsMagick-1.3.6.tar.gz
tar -zxf GraphicsMagick-1.3.6.tar.gz
cd GraphicsMagick-1.3.6/
./configure
make && make install
pecl install gmagick-beta

Expected result:
----------------
Successful build of gmagick

Actual result:
--------------
Unsuccessful build of gmagick: Build Error: /usr/bin/ld: /usr/local/lib/libGraphicsMagickWand.a(drawing_wand.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-04 10:32 UTC] mkoppanen@php.net
Try adding --enable-shared to the GraphicsMagick configure line.
 [2009-09-04 11:07 UTC] mike at digitalstruct dot com
Thanks.  I had attempted --enable-modules which was in the configure areas.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 14:01:28 2024 UTC