Bug #13113 Updated: rpm install -> curl_global_init undefined

From: Date: Mon, 03 Sep 2001 20:50:44 +0000
Subject: Bug #13113 Updated: rpm install -> curl_global_init undefined
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-65003@lists.php.net to get a copy of this message
ID: 13113
User updated by: bro@ne9.com
Reported By: bro@ne9.com
Status: Closed
Bug Type: *General Issues
Operating System: RH 6.2+linux 2.2.15
PHP Version: 4.0.6
New Comment:

I grabbed libcurl.so.2 in the ConnectivaLinux 
libcurl-7.7.1-2cl.i386.rpm (the only one offered,
and had to use --nodeps because of complaints that
curl 2cl conflicts with curl 1cl ?duh?)

but I still get the same 'undefined curl_global_init'.

Again, I started with curl-ssl-7.6-1.i386.rpm
then got               libcurl-7.7.1-2cl.i386.rpm

Another detail: libs from openssl.0.9.6..rpm were not
properly registered in my rpm db so installing libcurl
also complained - even though they're there!

But then I noticed there's libcrypto and libssl
0.9.6 a & b and I've got b. So I've made links for the 'a' versions to the
'b' versions.. am I screwing something up here? 
 

Previous Comments:
------------------------------------------------------------------------

[2001-09-03 14:19:02] sterling@php.net

You need to update your cURL installation to the latest version and then it should work.

------------------------------------------------------------------------

[2001-09-03 13:52:35] bro@ne9.com

fwiw:
(gdb) run php
Starting program: /usr/bin/php php
then: then/endif not found.
/usr/bin/php: error while loading shared libraries: /usr/bin/php: undefined symbol: curl_global_init

Program exited with code 0177.

Again, this is an rpm, I don't know what the compile
directives or options were.. 

------------------------------------------------------------------------

[2001-09-03 13:19:40] bro@ne9.com

This is probably my own config problem, and not a real bug, but...

Just installed php-4.0.6-6.i386.rpm
after updating a number of libraries
including curl-ssl-7.6-1.i386.rpm

Running php on the commandline only produces:
php: error while loading shared libraries: 
php: undefined symbol: curl_global_init

My /usr/bin contains:
lrwxrwxrwx   1 root           16 Sep  3 10:40 /usr/lib/libcurl.so -> libcurl.so.1.0.0*
lrwxrwxrwx   1 root           16 Sep  3 10:40 /usr/lib/libcurl.so.1 -> libcurl.so.1.0.0*
-rwxr-xr-x   1 root       113921 Jan 27  2001 /usr/lib/libcurl.so.1.0.0*

I'm pretty ignorant of libraries, so k.i.s.s. if at all possible.. (thanks) but if any other
info will help,
I'll be watching my email..

Note: php3 apache module is working on my system.

cheers,
John

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=13113&edit=1



Thread (8 messages)

« previous php.dev (#65003) next »