php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37830 relocation error: R_SPARC_H44 in libgd.a(gd.o) for libphp5.la
Submitted: 2006-06-16 21:33 UTC Modified: 2006-06-19 12:38 UTC
From: douglas at gpc dot edu Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.4 OS: Solaris 10
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: douglas at gpc dot edu
New email:
PHP Version: OS:

 

 [2006-06-16 21:33 UTC] douglas at gpc dot edu
Description:
------------
I am compiling on Sun Solaris 10 using the Sun C
compiler 5.8 2005/10/13. I am compiled httpd-2.2.2
and am attempting to compile php-5.1.4. The config
appears to be ok and the compile gives the error (last
few lines of compile output):

o main/internal_functions.lo -lmysqlclient -lldap -llber -lintl -lgd -lt1 -lfree
type -lX11 -lXpm -lpng -lz -ljpeg -lbz2 -lz -lresolv -lm -lnsl -lsocket -lxml2 -
lz -lm -lsocket -lnsl -lssl -lcrypto -lsocket -lnsl -ldl -lxml2 -lz -lm -lsocket
 -lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl -lxml2 -lz -l
m -lsocket -lnsl -lxml2 -lz -lm -lsocket -lnsl  -o libphp5.la
ld: fatal: relocation error: R_SPARC_H44: file /usr/local/lib/libgd.a(gd.o): sym
bol <unknown>: relocations based on the ABS44 coding model can not be used in bu
ilding a shared object
make: *** [libphp5.la] Error 1




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-19 11:23 UTC] tony2001@php.net
/usr/local/lib/libgd.a has nothing to do with PHP.
Not PHP problem -> bogus.
 [2006-06-19 12:38 UTC] douglas at gpc dot edu
I found the solution. Need to add "-xcode=pic32" to
the graphics and other programs used in php. You then
also need to add this to apache and php. So you would
have "-xarch=v9 -xcode=pic32". Note that openssl uses
-KPIC, which is obsolete. I do not believe there is
any diff. between the two, but I will post this to the
openssl people so they will be aware. Thanks!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Jul 18 23:00:02 2025 UTC