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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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 Dec 27 03:01:28 2024 UTC