php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39687 compile fails due to undefined references
Submitted: 2006-11-29 21:25 UTC Modified: 2006-12-07 01:00 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: cnt at crustal dot ucsb dot edu Assigned:
Status: No Feedback Package: cURL related
PHP Version: 5.2.0 OS: Solaris 10
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cnt at crustal dot ucsb dot edu
New email:
PHP Version: OS:

 

 [2006-11-29 21:25 UTC] cnt at crustal dot ucsb dot edu
Description:
------------
Had problems with ext/curl during build.  Found unreferenced
symbols (CURLOPT_FTPASCII, CURLOPT_PASSWDFUNCTIONO, 
CURLOPT_PASSWDDATA).
Apparently these are all deprecated for awhile and have been 
removed from curl
(at least as of 7.16.0), but are still in the php code.
Found references to this at http://curl.haxx.se/mail/
archive-2004-04/0056.html
and other similar links at the curl site.
Replaced the CURLOPT_FTPASCII with CURLOPT_TRANSFERTEXT
but had to just comment out the two PASSWD functions.
Not sure if this will harm the curl support under php.  
I am using the blastwave.org curl package which is the 
newest (7.16.0).
I would guess that this new version removes support for 
those 
deprecated options.

Build completed ok after these changes!

I saw references that this is fixed already in the php cvs 
tree.  Maybe will be resolved with php-5.2.1

Reproduce code:
---------------
standard php build


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-29 21:51 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2006-12-07 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2006-12-09 04:48 UTC] dragonheart at gentoo dot org
Same with Gentoo Linux (x86)

$ curl --version
curl 7.16.0 (i686-pc-linux-gnu) libcurl/7.16.0 GnuTLS/1.6.0 
zlib/1.2.3 libidn/0.6.5
Protocols: tftp ftp telnet dict http file https ftps
Features: GSS-Negotiate IDN IPv6 Largefile SSL libz

On latest snapshot:
/tmp/php5.2-200612090330 $ ./configure --with-curl
....
....
checking for cURL support... yes
checking if we should use cURL for url streams... no
checking for cURL in default path... found in /usr
checking for cURL 7.10.5 or greater... libcurl 7.16.0
checking for SSL support in libcurl... yes
checking for SSL library used... gnutls
.....
.....
(success)
/tmp/php5.2-200612090330 $ make
/bin/sh /tmp/php5.2-200612090330/libtool --silent --preserve-dup-deps --mode=compile 
gcc  -Iext/curl/ -I/tmp/php5.2-200612090330/ext/curl/ -DPHP_ATOM_INC -I/tmp/php5.2-200612090330/include -I/tmp/php5.2-200612090330/main -I/tmp/php5.2-200612090330 -I/usr/include/libxml2 -I/tmp/php5.2-200612090330/ext/date/lib -I/tmp/php5.2-200612090330/TSRM -I/tmp/php5.2-200612090330/Zend    -I/usr/include -g -O2  -c /tmp/php5.2-200612090330/ext/curl/streams.c -o 
ext/curl/streams.lo
/bin/sh /tmp/php5.2-200612090330/libtool --silent --preserve-dup-deps --mode=compile 
gcc -Iext/date/lib -Iext/date/ -I/tmp/php5.2-200612090330/ext/date/ -DPHP_ATOM_INC -I/tmp/php5.2-200612090330/include -I/tmp/php5.2-200612090330/main -I/tmp/php5.2-200612090330 -I/usr/include/libxml2 -I/tmp/php5.2-200612090330/ext/date/lib -I/tmp/php5.2-200612090330/TSRM -I/tmp/php5.2-200612090330/Zend    -I/usr/include -g -O2  -c /tmp/php5.2-200612090330/ext/date/php_date.c -o 
ext/date/php_date.lo

seems to be fixed - thankyou
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Oct 22 00:01:25 2020 UTC