php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22477 symbol not found with curl7.10.3
Submitted: 2003-02-28 10:39 UTC Modified: 2003-03-09 19:20 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: michel dot jansens at ulb dot ac dot be Assigned:
Status: No Feedback Package: cURL related
PHP Version: 4.3.1 OS: Solaris 8
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: michel dot jansens at ulb dot ac dot be
New email:
PHP Version: OS:

 

 [2003-02-28 10:39 UTC] michel dot jansens at ulb dot ac dot be
When building php-4.3.1 with curl-7.10.3 an error is produced when starting apache:
Cannot load /usr/products/apache_http/libexec/libphp4.so into server: ld.so.1: /usr/products/apache_http/bin/httpd: fatal: relocation error: file /usr/local/lib/libcurl.so.2: symbol __floatdidf: referenced symbol not found


When compiling with curl-7.9.8 is works OK.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-28 16:27 UTC] driskel at bitstream dot net
I have run into the same issue.  Solaris 8, apache1.3.27, openssl 0.97 mod_ssl 2.8.12 php4.31.

I have tried compiling php4.31 a few times trying standard configure script or modifying configure as such as directed from the curl www site.

   1. sed 's/-lcrypto/-lssl -lcrypto/g' configure > c2
   2. rm -f configure
   3. cp c2 configure
   4. chmod 755 configure

Both ways have issued the same message when testing apache's config.

When building php-4.3.1 with curl-7.10.3 the error as reported appears at apache start:

It might be an issue curl.  I get these errors on the curl compile.  I can run curl from the command line though.  

checking net/if.h presence... yes
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h: check for missing prerequisite headers?
configure: WARNING: net/if.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for net/if.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/if_ether.h usability... no
checking netinet/if_ether.h presence... yes
configure: WARNING: netinet/if_ether.h: present but cannot be compiled
configure: WARNING: netinet/if_ether.h: check for missing prerequisite headers?
configure: WARNING: netinet/if_ether.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for netinet/if_ether.h... yes

Just trying to offer another piece of the puzzle.  Maybe
 [2003-02-28 16:36 UTC] driskel at bitstream dot net
I have also tried the new CVS as well. Standard configure files as well as an edited one outlined in my previous post. 

Sorry I forgot to include that in last my post.
 [2003-03-03 20:23 UTC] sniper@php.net
--enable-libgcc propably fixes this.

It's some change in curl that is causing this..no idea what
but you might wanna report it to them..

 [2003-03-05 17:38 UTC] driskel at bitstream dot net
thanks for your comments on --enable-libgcc unfortunately that did not correct the issue for me using src= php4-STABLE-200302282030.
 [2003-03-05 18:56 UTC] gabeki at dialpad dot com
I have exact problem that driskel found.  I am not sure this is legal but I solved this by modifying the Makefile in CURL's lib folder AFTER running your configure.

add -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2 to LDFLAGS and add -lgcc to LIBS

make
make install
then proceed with normal php installation. it will work. good luck.
 [2003-03-05 20:06 UTC] driskel at bitstream dot net
Thank you gabeki!

Your suggestions did the trick.  Php recompiled and working.  Now i just need to learn how to use curl.

Thanks for tips.
 [2003-03-09 19:20 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2003-03-11 11:41 UTC] driskel at bitstream dot net
Thanks for all the help.

Opened bug report at curls website trackable at.

http://sourceforge.net/tracker/index.php?func=detail&aid=701631&group_id=976&atid=100976
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 20:01:28 2024 UTC