[PHP] Undefined symbol ssl_onceonlyinit

2009-08-08 Thread Ebbe Hjorth
Hi,

I just installed FreeBSD 7.2, Apache 2.2, php5-5.2.10 and php5-extensions
1.3, all from the freebsd ports.

When i try to start apache with the imap.so extension enabled in
extensions.ini, i get the error
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined symbol
ssl_onceonlyinit

I tried to google it, but all i get is an old bug from 2002.

Please help ;)

Thanks, Ebbe, Denmark


Re: [PHP] Undefined symbol ssl_onceonlyinit

2009-08-08 Thread Ebbe Hjorth
Hi,

Sounds like mac ports and freebsd ports i kinda the same.

I tried deinstalling the extensions ports, and reinstalling it, meaning it
all gets build from source once more, and it didnt help.


/ Ebbe

2009/8/8 Adam Randall randa...@gmail.com

 While I haven't used FreeBSD, the message you are getting basically
 means that when the imap.so was built it was against a different,
 incompatible version of PHP. I'm going to assume that the freebsd
 ports is related to my Mac Ports, which I think is based off it. If
 that's true, then ports is downloading and building PHP from source.
 If the imap.so was downloaded as a binary, or not rebuilt when php was
 last built, you will get this symbol mismatch. If possible, rebuild
 imap from source against your currently installed PHP and that should
 resolve it for you.

 Adam.

 On Sat, Aug 8, 2009 at 1:06 AM, Ebbe Hjorthebbe.hjo...@gmail.com wrote:
  Hi,
 
  I just installed FreeBSD 7.2, Apache 2.2, php5-5.2.10 and php5-extensions
  1.3, all from the freebsd ports.
 
  When i try to start apache with the imap.so extension enabled in
  extensions.ini, i get the error
  /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined
 symbol
  ssl_onceonlyinit
 
  I tried to google it, but all i get is an old bug from 2002.
 
  Please help ;)
 
  Thanks, Ebbe, Denmark
 



 --
 Adam Randall
 http://www.xaren.net
 AIM: blitz574



Re: [PHP] Undefined symbol ssl_onceonlyinit

2009-08-08 Thread Adam Randall
I wonder if it's downloading the imap.so as a binary instead of source
(or php as a binary instead of source). But this is the reason you are
getting the errors. It has to do with the shared libraries at build
time not matching the shared libraries at runtime (eg the symbol in
the shared library I'm expecting is not in the shared library I am
using).

You know, looking at the error messages that you posted again I now
realize that the incompatability is not between imap and php, but imap
and /libexec/ld-elf.so.1. That's where you need to look it seems.

Adam.

On Sat, Aug 8, 2009 at 1:34 AM, Ebbe Hjorthebbe.hjo...@gmail.com wrote:
 Hi,

 Sounds like mac ports and freebsd ports i kinda the same.

 I tried deinstalling the extensions ports, and reinstalling it, meaning it
 all gets build from source once more, and it didnt help.


 / Ebbe

 2009/8/8 Adam Randall randa...@gmail.com

 While I haven't used FreeBSD, the message you are getting basically
 means that when the imap.so was built it was against a different,
 incompatible version of PHP. I'm going to assume that the freebsd
 ports is related to my Mac Ports, which I think is based off it. If
 that's true, then ports is downloading and building PHP from source.
 If the imap.so was downloaded as a binary, or not rebuilt when php was
 last built, you will get this symbol mismatch. If possible, rebuild
 imap from source against your currently installed PHP and that should
 resolve it for you.

 Adam.

 On Sat, Aug 8, 2009 at 1:06 AM, Ebbe Hjorthebbe.hjo...@gmail.com wrote:
  Hi,
 
  I just installed FreeBSD 7.2, Apache 2.2, php5-5.2.10 and
  php5-extensions
  1.3, all from the freebsd ports.
 
  When i try to start apache with the imap.so extension enabled in
  extensions.ini, i get the error
  /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined
  symbol
  ssl_onceonlyinit
 
  I tried to google it, but all i get is an old bug from 2002.
 
  Please help ;)
 
  Thanks, Ebbe, Denmark
 



 --
 Adam Randall
 http://www.xaren.net
 AIM: blitz574





-- 
Adam Randall
http://www.xaren.net
AIM: blitz574

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Undefined symbol ssl_onceonlyinit

2009-08-08 Thread Ebbe Hjorth
2009/8/8 Adam Randall randa...@gmail.com

 I wonder if it's downloading the imap.so as a binary instead of source
 (or php as a binary instead of source). But this is the reason you are
 getting the errors. It has to do with the shared libraries at build
 time not matching the shared libraries at runtime (eg the symbol in
 the shared library I'm expecting is not in the shared library I am
 using).

 You know, looking at the error messages that you posted again I now
 realize that the incompatability is not between imap and php, but imap
 and /libexec/ld-elf.so.1. That's where you need to look it seems.



Im not that experienced that i know what do to with that!? :-(



 Adam.

 On Sat, Aug 8, 2009 at 1:34 AM, Ebbe Hjorthebbe.hjo...@gmail.com wrote:
  Hi,
 
  Sounds like mac ports and freebsd ports i kinda the same.
 
  I tried deinstalling the extensions ports, and reinstalling it, meaning
 it
  all gets build from source once more, and it didnt help.
 
 
  / Ebbe
 
  2009/8/8 Adam Randall randa...@gmail.com
 
  While I haven't used FreeBSD, the message you are getting basically
  means that when the imap.so was built it was against a different,
  incompatible version of PHP. I'm going to assume that the freebsd
  ports is related to my Mac Ports, which I think is based off it. If
  that's true, then ports is downloading and building PHP from source.
  If the imap.so was downloaded as a binary, or not rebuilt when php was
  last built, you will get this symbol mismatch. If possible, rebuild
  imap from source against your currently installed PHP and that should
  resolve it for you.
 
  Adam.
 
  On Sat, Aug 8, 2009 at 1:06 AM, Ebbe Hjorthebbe.hjo...@gmail.com
 wrote:
   Hi,
  
   I just installed FreeBSD 7.2, Apache 2.2, php5-5.2.10 and
   php5-extensions
   1.3, all from the freebsd ports.
  
   When i try to start apache with the imap.so extension enabled in
   extensions.ini, i get the error
   /libexec/ld-elf.so.1: /usr/local/lib/php/20060613/imap.so: Undefined
   symbol
   ssl_onceonlyinit
  
   I tried to google it, but all i get is an old bug from 2002.
  
   Please help ;)
  
   Thanks, Ebbe, Denmark
  
 
 
 
  --
  Adam Randall
  http://www.xaren.net
  AIM: blitz574
 
 



 --
  Adam Randall
 http://www.xaren.net
 AIM: blitz574



Re: [PHP] undefined symbol: curl-global-init

2002-11-06 Thread Marek Kilimajer
Do you have libcurl intaled?

Ernest E Vogelsinger wrote:


Hi list,

maybe someone has a simple answer to this:

I am running Apache 1.3.22 with libphp4.so. Everything's fine, but when
starting php from the command line I get:

php: relocation error: php: undefined symbol: curl-global-init

Any idea what I should try?

Thanks,

 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] undefined symbol: curl-global-init

2002-11-06 Thread Ernest E Vogelsinger
At 13:39 06.11.2002, Marek Kilimajer said:
[snip]
Do you have libcurl intaled?

Ernest E Vogelsinger wrote:

Hi list,

maybe someone has a simple answer to this:

I am running Apache 1.3.22 with libphp4.so. Everything's fine, but when
starting php from the command line I get:

php: relocation error: php: undefined symbol: curl-global-init

Any idea what I should try?
[snip] 

Yes, I have (located in /usr/lib). With the apache module, as I said, PHP
works, even curl calls.

I'm not really a Linux guru, but I found that /usr/lib is nowhere mentioned
in the environment (# env). Shouldn't this?


-- 
   O Ernest E. Vogelsinger
   (\)ICQ #13394035
^ http://www.vogelsinger.at/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] undefined symbol: curl-global-init

2002-11-06 Thread Marek Kilimajer

Ernest E Vogelsinger wrote:


At 13:39 06.11.2002, Marek Kilimajer said:
[snip]
 

Do you have libcurl intaled?

Ernest E Vogelsinger wrote:

   

Hi list,

maybe someone has a simple answer to this:

I am running Apache 1.3.22 with libphp4.so. Everything's fine, but when
starting php from the command line I get:

php: relocation error: php: undefined symbol: curl-global-init

Any idea what I should try?
 

[snip] 

Yes, I have (located in /usr/lib). With the apache module, as I said, PHP
works, even curl calls.

I'm not really a Linux guru, but I found that /usr/lib is nowhere mentioned
in the environment (# env). Shouldn't this?
 

No, this is not neccessery. Maybe you don't have the right version. 
Where did you get apache and php
rpms?



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] undefined symbol: curl-global-init

2002-11-06 Thread Marek Kilimajer
Where does ldd libphp4.so point to?

Ernest E Vogelsinger wrote:


At 15:41 06.11.2002, Marek Kilimajer spoke out and said:
[snip]
 

Yes, I have (located in /usr/lib). With the apache module, as I said, PHP
works, even curl calls.

I'm not really a Linux guru, but I found that /usr/lib is nowhere mentioned
in the environment (# env). Shouldn't this?


 

No, this is not neccessery. Maybe you don't have the right version. 
Where did you get apache and php
rpms?
   

[snip] 

Both apache and php are compiled from the tarballs since RedHat doesn't
provide rpms with the latest versions.

server-version sez: Apache/1.3.22 (Unix) (Red-Hat/Linux) mod_ssl/2.8.5
OpenSSL/0.9.6b DAV/1.0.2 PHP/4.2.2 mod_perl/1.26

# ls -al /usr/lib/libcurl*
-rw-r--r--  1 root root 196084 Jun 20 08:28 /usr/lib/libcurl.a
-rwxr-xr-x  1 root root719 Jun 20 08:28 /usr/lib/libcurl.la
lrwxrwxrwx  1 root root 16 Aug  4 19:47 /usr/lib/libcurl.so -
libcurl.so.2.0.2
-rw-rw-r--  1 root root  95928 Aug  4 18:54 /usr/lib/libcurl.so.1
lrwxrwxrwx  1 root root 16 Aug  4 19:47 /usr/lib/libcurl.so.2 -
libcurl.so.2.0.2
-rwxr-xr-x  1 root root 152214 Jun 20 08:28 /usr/lib/libcurl.so.2.0.2

grep curl_global_init /usr/lib/libcurl* returns:
Binary file /usr/lib/libcurl.a matches
Binary file /usr/lib/libcurl.so matches
Binary file /usr/lib/libcurl.so.2 matches
Binary file /usr/lib/libcurl.so.2.0.2 matches

Any idea?


 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] undefined symbol: curl-global-init

2002-11-06 Thread Ernest E Vogelsinger
At 16:25 06.11.2002, Marek Kilimajer spoke out and said:
[snip]
Where does ldd libphp4.so point to?
[snip] 

Oops:
# ldd libphp4.so
ldd: ./libphp4.so: No such file or directory

I found libphp4.so in /etc/httpd/modules (the correct path for apache
extensions on RedHat), and in /usr/lib/apache (from the default compile).


-- 
   O Ernest E. Vogelsinger 
   (\) ICQ #13394035 
^ http://www.vogelsinger.at/



Re: [PHP] undefined symbol: curl-global-init

2002-11-06 Thread Ernest E Vogelsinger
At 16:25 06.11.2002, Marek Kilimajer spoke out and said:
[snip]
Where does ldd libphp4.so point to?
[snip] 

Been too fast when hitting the reply button...

# ldd /etc/http/modules/libphp4.so
libdl.so.2 = /lib/libdl.so.2 (0x40153000)
libpam.so.0 = /lib/libpam.so.0 (0x40157000)
libexpat.so.0 = /usr/lib/libexpat.so.0 (0x4015f000)
libmm.so.11 = /usr/lib/libmm.so.11 (0x4017c000)
libgmp.so.3 = /usr/lib/libgmp.so.3 (0x40181000)
libgd.so.1.8 = /usr/lib/libgd.so.1.8 (0x401a3000)
libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0x401d5000)
libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0x40209000)
libz.so.1 = /usr/lib/libz.so.1 (0x40228000)
libm.so.6 = /lib/i686/libm.so.6 (0x40236000)
libxml2.so.2 = /usr/lib/libxml2.so.2 (0x40259000)
libgdbm.so.2 = /usr/lib/libgdbm.so.2 (0x402fe000)
libcrypto.so.2 = /lib/libcrypto.so.2 (0x40305000)
libssl.so.2 = /lib/libssl.so.2 (0x403c9000)
 libcurl.so.2 = /usr/lib/libcurl.so.2 (0x403f6000)
libbz2.so.1 = /usr/lib/libbz2.so.1 (0x40418000)
libcrypt.so.1 = /lib/libcrypt.so.1 (0x40428000)
libresolv.so.2 = /lib/libresolv.so.2 (0x40456000)
libnsl.so.1 = /lib/libnsl.so.1 (0x40468000)
libc.so.6 = /lib/i686/libc.so.6 (0x4047e000)
libpng.so.2 = /usr/lib/libpng.so.2 (0x405ba000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x8000)

BUT
]# ldd /usr/bin/php
libpam.so.0 = /lib/libpam.so.0 (0x40028000)
libssl.so.2 = /lib/libssl.so.2 (0x4003)
libcrypto.so.2 = /lib/libcrypto.so.2 (0x4005d000)
libdl.so.2 = /lib/libdl.so.2 (0x40121000)
libz.so.1 = /usr/lib/libz.so.1 (0x40125000)
libresolv.so.2 = /lib/libresolv.so.2 (0x40133000)
libexpat.so.0 = /usr/lib/libexpat.so.0 (0x40146000)
libmm.so.11 = /usr/lib/libmm.so.11 (0x40163000)
libpspell.so.4 = /usr/lib/libpspell.so.4 (0x40168000)
libltdl.so.3 = /usr/lib/libltdl.so.3 (0x40182000)
libpspell-modules.so.1 = /usr/lib/libpspell-modules.so.1 (0x40188000)
libstdc++-libc6.2-2.so.3 = /usr/lib/libstdc++-libc6.2-2.so.3
(0x4018a000)
libc.so.6 = /lib/i686/libc.so.6 (0x401cd000)
libgmp.so.3 = /usr/lib/libgmp.so.3 (0x40309000)
libgd.so.1.8 = /usr/lib/libgd.so.1.8 (0x4032a000)
libxml2.so.2 = /usr/lib/libxml2.so.2 (0x4035c000)
libdb-3.2.so = /lib/libdb-3.2.so (0x4040)
libgdbm.so.2 = /usr/lib/libgdbm.so.2 (0x404a7000)
 libcurl.so.1 = /usr/lib/libcurl.so.1 (0x404af000)
libbz2.so.1 = /usr/lib/libbz2.so.1 (0x404c9000)
libcrypt.so.1 = /lib/libcrypt.so.1 (0x404d9000)
libttf.so.2 = /usr/lib/libttf.so.2 (0x40506000)
libm.so.6 = /lib/i686/libm.so.6 (0x4053)
libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0x40553000)
libpng.so.2 = /usr/lib/libpng.so.2 (0x40588000)
libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0x405aa000)
libnsl.so.1 = /lib/libnsl.so.1 (0x405c9000)
libgssapi_krb5.so.2 = /usr/kerberos/lib/libgssapi_krb5.so.2
(0x405df000)
libkrb5.so.3 = /usr/kerberos/lib/libkrb5.so.3 (0x405f2000)
libk5crypto.so.3 = /usr/kerberos/lib/libk5crypto.so.3 (0x4064a000)
libcom_err.so.3 = /usr/kerberos/lib/libcom_err.so.3 (0x4065c000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)
libssl.so.0 = /usr/lib/libssl.so.0 (0x4065f000)
libcrypto.so.0 = /usr/lib/libcrypto.so.0 (0x4068c000)


-- 
   O Ernest E. Vogelsinger 
   (\) ICQ #13394035 
^ http://www.vogelsinger.at/



[PHP] undefined symbol: curl-global-init

2002-11-05 Thread Ernest E Vogelsinger
Hi list,

maybe someone has a simple answer to this:

I am running Apache 1.3.22 with libphp4.so. Everything's fine, but when
starting php from the command line I get:

php: relocation error: php: undefined symbol: curl-global-init

Any idea what I should try?

Thanks,

-- 
   O Ernest E. Vogelsinger/~\ The ASCII
   (\)ICQ #13394035\ / Ribbon Campaign 
^   X  Against
   / \ HTML Email



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list 

-- 
   O Ernest E. Vogelsinger/~\ The ASCII
   (\)ICQ #13394035\ / Ribbon Campaign 
^   X  Against
   / \ HTML Email


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] undefined symbol: compress during install?

2002-03-12 Thread Erik Price


On Monday, March 11, 2002, at 07:50  PM, Michael Sims wrote:

 bugs.php.net is extremely helpful for stuff like this, (even though 
 strictly speaking those types of things shouldn't be submitted as bugs) 
 and I don't think enough people out there know to check it.  It's 
 actually helped me out on 2-3 occasions...


Thank you, I didn't even know that virtual host existed.  I'll 
definitely check there too next time I'm having problems.

Erik





Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] undefined symbol: compress during install?

2002-03-11 Thread Erik Price

I just finished doing my re-install of PHP, updated to 4.1.2.  Or so I 
thought... everything went smoothly, I got all the right success 
messages during the ./configure and make processes, and thought I was 
ready to go -- but as I confidently started up Apache, I was greeted 
with this message:

[root@media src]# /usr/local/apache/bin/apachectl start
Syntax error on line 222 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: 
/usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress
/usr/local/apache/bin/apachectl start: httpd could not be started

My setup is Apache 1.3.22, on RedHat Linux 7.2 using the PHP 4.1.2 
source tarball.  I have logged my entire installation (I was taking 
notes in case another sysadmin might need to go through this), and 
appended the commands I used at the end of this email.

Any help is gratefully appreciated!



Erik




Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]



[root@media /]# /usr/local/apache/bin/apachectl stop
[root@media /]# /usr/local/mysql/bin/mysqladmin -u root -p shutdown
[root@media /]# pushd /usr/local/src
/usr/local/src /usr/local/src/apache_1.3.22
[root@media src]# ls -lF
total 20
drwxr-xr-x8 1088 1088 4096 Dec 12 17:03 apache_1.3.22/
drwxr-xr-x   13 root root 4096 Dec 12 14:50 
mysql-3.23.46-pc-linux-gnu-i686/
drwxrwxr-x   16 eprice   eprice   4096 Dec 12 16:40 php-4.1.0/
drwxrwxr-x   13 7801 7801 4096 Feb 27 04:18 php-4.1.2/
drwxr-xr-x2 root root 4096 Feb 28 16:57 tarballs/
[root@media apache_1.3.22]# cp /usr/local/apache/conf/httpd.conf 
/home/eprice/httpd.conf
[root@media src]# pushd apache_1.3.22/
/usr/local/src/apache_1.3.22 /usr/local/src
[root@media apache_1.3.22]# make clean
[root@media apache_1.3.22]# ./configure --prefix=/usr/local/apache
Configuring for Apache, Version 1.3.22
... (other output snipped) ...
[root@media apache_1.3.22]# pushd ../php-4.1.2/
/usr/local/src/php-4.1.2 /usr/local/src/apache_1.3.22 /usr/local/src
[root@media php-4.1.2]# ./configure \
  --with-apache=/usr/local/src/apache_1.3.22/ \
  --with-mysql=/usr/local/mysql/ \
  --enable-sockets \
  --enable-xslt \
  --with-xmlrpc
creating cache ./config.cache
... (other output snipped) ...
++
| License:   |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.|
++

Thank you for using PHP.


[root@media php-4.1.2]# make
Making all in Zend
... (other output snipped) ...
[root@media php-4.1.2]# make install
Making install in Zend
... (other output snipped) ...
[root@media apache_1.3.22]# ./configure --activate-
module=src/modules/php4/libphp4.a --enable-module=so --enable-shared=max
Configuring for Apache, Version 1.3.22
... (other output snipped) ...
[root@media apache_1.3.22]# pushd ./src/modules/php4/
/usr/local/src/apache_1.3.22/src/modules/php4 
/usr/local/src/apache_1.3.22 /usr/local/src
[root@media php4]# make
... (output snipped) ...
[root@media php4]# popd
/usr/local/src/apache_1.3.22 /usr/local/src
[root@media apache_1.3.22]# make
... (output snipped) ...
[root@media apache_1.3.22]# make install
... (some output snipped) ...
++
| You now have successfully built and installed the  |
| Apache 1.3 HTTP server. To verify that Apache actually |
| works correctly you now should first check the |
| (initially created or preserved) configuration files   |
||
|   /usr/local/apache/conf/httpd.conf
||
| and then you should be able to immediately fire up |
| Apache the first time by running:  |
||
|   /usr/local/apache/bin/apachectl start
||
| Thanks for using Apache.   The Apache Group|
|http://www.apache.org/  |
++
[root@media apache_1.3.22]# popd
/usr/local/src
[root@media src]# /usr/local/apache/bin/apachectl configtest
Syntax error on line 222 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: 
/usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] undefined symbol: compress during install?

2002-03-11 Thread Erik Price


On Monday, March 11, 2002, at 05:21  PM, Erik Price wrote:

 I just finished doing my re-install of PHP, updated to 4.1.2.  Or so I 
 thought... everything went smoothly, I got all the right success 
 messages during the ./configure and make processes, and thought I was 
 ready to go -- but as I confidently started up Apache, I was greeted 
 with this message:

 [root@media src]# /usr/local/apache/bin/apachectl start
 Syntax error on line 222 of /usr/local/apache/conf/httpd.conf:
 Cannot load /usr/local/apache/libexec/libphp4.so into server: 
 /usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress
 /usr/local/apache/bin/apachectl start: httpd could not be started

Ho!  I have just RTFG'd, which I wish I had done before posting.  Looks 
like I have omitted the --with-zlib parameter in the ./configure of 
PHP.  I had it last time b/c I was following a tutorial, and omitted it 
this time since I didn't think I needed it.  Actually, I had no idea 
what the zlib did for PHP so I figured why bother.

I just re-did everything, but this time I used --with-zlib, and it's 
fine.

Hope this helps someone else in the future -- and for anyone else who 
wants a fully-documented, commented log of an upgrade from PHP 4.1.0 to 
PHP4.1.2, contact me.
(I did it with PHP as a static module to apache, and the following 
config options:  --with-mysql, --with-xmlrpc, --enable-sockets, 
--with-zlib)


Erik




Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] undefined symbol: compress during install?

2002-03-11 Thread Michael Sims

At 05:58 PM 3/11/2002 -0500, Erik Price wrote:
Ho!  I have just RTFG'd, which I wish I had done before posting.  Looks 
like I have omitted the --with-zlib parameter in the ./configure of 
PHP.  I had it last time b/c I was following a tutorial, and omitted it 
this time since I didn't think I needed it.  Actually, I had no idea what 
the zlib did for PHP so I figured why bother.

Supposedly this is a RedHat 7.2 bug (don't know if it's strictly a bug 
per se, but it's only required with RH 7.2).  I know because I've compiled 
PHP on both RH 7.0 and 7.1 and the --with-zlib was not required.  I just 
about pulled my hair out trying to resolve the issue and I decided to look 
on bugs.php.net where I found the solution.  bugs.php.net is extremely 
helpful for stuff like this, (even though strictly speaking those types of 
things shouldn't be submitted as bugs) and I don't think enough people out 
there know to check it.  It's actually helped me out on 2-3 occasions...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] undefined symbol: uncompress

2002-01-27 Thread David Jackson

I've seen similar question in the archive, but here it goes?
Setup: Slackware-8.0, Apache-1.3.23, mysql-3.23.47-pc-linux-gnu-i686
Config options:
Apache: ./configure --prefix=/usr/local/www --with-modules=most
compiles and run fine.

MySQl from binaires run fine into /usr/local/mysql (set ld.so.conf to
correct value).

PHP-4.1.1: ./configure --with-apxs=/usr/local/www/bin/apxs
--with-mysql=/usr/local/mysql
cp php-ini-recommanded /usr/local/lib/php.ini
Added AddType statement to httpd.conf


Results in following error when I try to start Apache:

Syntax error on line 236 of /usr/local/www/conf/httpd.conf:
Cannot load /usr/local/www/libexec/libphp4.so into server:
/usr/local/www/libexec/libphp4.so: undefined symbol: uncompress

Line 236 of http.conf:
LoadModule php4_modulelibexec/libphp4.so


Thanks for you help.
David Jackson

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] undefined symbol: uncompress

2002-01-27 Thread Miles Thompson


Add the path to libphp4.so to the file /etc/ld.conf.so  
and run ldconfig

or

copy libphp4.so to the libexec directory found beneath the main apach directory. 
It's most likely in the libs directory of your php source directory.

The second way is probably the best.

HTH - Miles Thompson


On Sunday 27 January 2002 03:11 pm, David Jackson wrote:
 I've seen similar question in the archive, but here it goes?
 Setup: Slackware-8.0, Apache-1.3.23, mysql-3.23.47-pc-linux-gnu-i686
 Config options:
 Apache: ./configure --prefix=/usr/local/www --with-modules=most
 compiles and run fine.

 MySQl from binaires run fine into /usr/local/mysql (set ld.so.conf to
 correct value).

 PHP-4.1.1: ./configure --with-apxs=/usr/local/www/bin/apxs
 --with-mysql=/usr/local/mysql
 cp php-ini-recommanded /usr/local/lib/php.ini
 Added AddType statement to httpd.conf


 Results in following error when I try to start Apache:

 Syntax error on line 236 of /usr/local/www/conf/httpd.conf:
 Cannot load /usr/local/www/libexec/libphp4.so into server:
 /usr/local/www/libexec/libphp4.so: undefined symbol: uncompress

 Line 236 of http.conf:
 LoadModule php4_modulelibexec/libphp4.so


 Thanks for you help.
 David Jackson

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] undefined symbol: uncompress

2002-01-27 Thread Michael Sims

At 12:11 PM 1/27/2002 -0700, David Jackson wrote:
I've seen similar question in the archive, but here it goes?
Setup: Slackware-8.0, Apache-1.3.23, mysql-3.23.47-pc-linux-gnu-i686
[...]
Config options:
Syntax error on line 236 of /usr/local/www/conf/httpd.conf:
Cannot load /usr/local/www/libexec/libphp4.so into server:
/usr/local/www/libexec/libphp4.so: undefined symbol: uncompress

I had this problem on RedHat 7.2.  Turns out I needed zlib support 
(libz.so).  Not sure how to do it on Slackware, but on RedHat 7.2 you need 
two RPMs, both zlib-1.1.3-24 and zlib-devel-1.1.3-24.  After I installed 
these RPMs I had to do a make clean, rm config.cache, and then configure 
again adding --with-zlib to the configure command.

(I saw some saying that you needed to add -ld to the LTLIBRARY_LDFLAGS 
line in the top level Makefile but this did not work for me.)

To be honest, I have no idea why any of this was needed, I got all this 
info from various sources on Google Groups.  But it worked for me.  Maybe 
this can point you in the right direction...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] undefined symbol: uncompress

2002-01-27 Thread David Jackson

Mike --
Thanks for you reply, I made the changes an am stilling getting the same
error?
On the other hand if I compile PHP with out specifing mysql home. I
don't get the error.

David Jackson

Miles Thompson wrote:
 
 Add the path to libphp4.so to the file /etc/ld.conf.so
 and run ldconfig
 
 or
 
 copy libphp4.so to the libexec directory found beneath the main apach directory.
 It's most likely in the libs directory of your php source directory.
 
 The second way is probably the best.
 
 HTH - Miles Thompson
 
 On Sunday 27 January 2002 03:11 pm, David Jackson wrote:
  I've seen similar question in the archive, but here it goes?
  Setup: Slackware-8.0, Apache-1.3.23, mysql-3.23.47-pc-linux-gnu-i686
  Config options:
  Apache: ./configure --prefix=/usr/local/www --with-modules=most
  compiles and run fine.
 
  MySQl from binaires run fine into /usr/local/mysql (set ld.so.conf to
  correct value).
 
  PHP-4.1.1: ./configure --with-apxs=/usr/local/www/bin/apxs
  --with-mysql=/usr/local/mysql
  cp php-ini-recommanded /usr/local/lib/php.ini
  Added AddType statement to httpd.conf
 
 
  Results in following error when I try to start Apache:
 
  Syntax error on line 236 of /usr/local/www/conf/httpd.conf:
  Cannot load /usr/local/www/libexec/libphp4.so into server:
  /usr/local/www/libexec/libphp4.so: undefined symbol: uncompress
 
  Line 236 of http.conf:
  LoadModule php4_modulelibexec/libphp4.so
 
 
  Thanks for you help.
  David Jackson

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] undefined symbol: uncompress

2002-01-27 Thread Michael Sims

At 12:50 PM 1/27/2002 -0700, David Jackson wrote:
Mike --
Thanks for you reply, I made the changes an am stilling getting the same
error?
On the other hand if I compile PHP with out specifing mysql home. I
don't get the error.

Check and see which directory libmysqlclient.so is in, and make sure that 
directory is listed in /etc/ld.so.conf and rerun ldconfig.  Then try to 
start the server.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] undefined symbol: uncompress

2002-01-27 Thread David Jackson

Micheal --
Thanks for your replys.
What I see in /usr/local/mysql/lib is:

libmysqlclient.a 

I'm wondering if the MySQL binaaries use static libs?



Thanks, 
David


Michael Sims wrote:
 
 At 12:50 PM 1/27/2002 -0700, David Jackson wrote:
 Mike --
 Thanks for you reply, I made the changes an am stilling getting the same
 error?
 On the other hand if I compile PHP with out specifing mysql home. I
 don't get the error.
 
 Check and see which directory libmysqlclient.so is in, and make sure that
 directory is listed in /etc/ld.so.conf and rerun ldconfig.  Then try to
 start the server.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] undefined symbol: uncompress

2002-01-27 Thread Miles Thompson


Try it t wo ways ...
1. w/o the with-mysql, run a script containing phpinfo() and see what it returns. 
MySQL support is compiled in by default to a default location.

2. Check that the with-mysql parameter is correct. On one system I had a path that was 
/usr/local/mysql/bin/mysql
and yes, that fina lmysql was a directory. It caused so me problems.

It would help if the error messages were clearer, but they're still better than Winows 
GPF's.

Miles Thompson

On Sunday 27 January 2002 03:50 pm, David Jackson wrote:
 Mike --
 Thanks for you reply, I made the changes an am stilling getting the same
 error?
 On the other hand if I compile PHP with out specifing mysql home. I
 don't get the error.

 David Jackson

 Miles Thompson wrote:
  Add the path to libphp4.so to the file /etc/ld.conf.so
  and run ldconfig
 
  or
 
  copy libphp4.so to the libexec directory found beneath the main apach
  directory. It's most likely in the libs directory of your php source
  directory.
 
  The second way is probably the best.
 
  HTH - Miles Thompson
 
  On Sunday 27 January 2002 03:11 pm, David Jackson wrote:
   I've seen similar question in the archive, but here it goes?
   Setup: Slackware-8.0, Apache-1.3.23, mysql-3.23.47-pc-linux-gnu-i686
   Config options:
   Apache: ./configure --prefix=/usr/local/www --with-modules=most
   compiles and run fine.
  
   MySQl from binaires run fine into /usr/local/mysql (set ld.so.conf to
   correct value).
  
   PHP-4.1.1: ./configure --with-apxs=/usr/local/www/bin/apxs
   --with-mysql=/usr/local/mysql
   cp php-ini-recommanded /usr/local/lib/php.ini
   Added AddType statement to httpd.conf
  
  
   Results in following error when I try to start Apache:
  
   Syntax error on line 236 of /usr/local/www/conf/httpd.conf:
   Cannot load /usr/local/www/libexec/libphp4.so into server:
   /usr/local/www/libexec/libphp4.so: undefined symbol: uncompress
  
   Line 236 of http.conf:
   LoadModule php4_modulelibexec/libphp4.so
  
  
   Thanks for you help.
   David Jackson

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] undefined Symbol PQoidValue

2001-07-30 Thread Stuart Grimshaw

I have recently upgraded PHP to the latest version, and also upgraded 
Postgres to the latest version. PHP worked fine after it's upgrade, but 
after the Postgres upgrade it is now broken.

I have recompiled  installed PHP, but when I try  start Apache, I get the 
following error message:

Syntax error on line 224 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: 
/usr/local/apache/libexec/libphp4.so: undefined symbol: PQoidValue

I have explicitly told php where to look for the postgres libs with the 
--with-psql=/usr/local/postgres/lib option and I still get the same error 
message.

What might be causing it?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] undefined symbol: SSL_CTX_set_rsa_callback

2001-04-28 Thread Dean Hall

j2n tech [EMAIL PROTECTED] wrote in message
9cd2bn$55m$[EMAIL PROTECTED]">news:9cd2bn$55m$[EMAIL PROTECTED]...
 After compiling php404pl1 and Apache 1.3.12:

 [root@ conf]# ../bin/apachectl restart
 ../bin/apachectl restart: httpd not running, trying to start
 Syntax error on line 207 of /var/www/conf/httpd.conf:
 Cannot load /var/www/libexec/libphp4.so into server:
 /var/www/libexec/libphp4.so: undefined symbol:
SSL_CTX_set_tmp_rsa_callback
 ../bin/apachectl restart: httpd could not be started
 [root@ conf]#

 Anyone have any ideas?

What configure options did you use for PHP and Apache? Did you install any
other modules for Apache?

Dean.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] undefined symbol: SSL_CTX_set_rsa_callback

2001-04-27 Thread j2n tech

After compiling php404pl1 and Apache 1.3.12:

[root@ conf]# ../bin/apachectl restart
../bin/apachectl restart: httpd not running, trying to start
Syntax error on line 207 of /var/www/conf/httpd.conf:
Cannot load /var/www/libexec/libphp4.so into server:
/var/www/libexec/libphp4.so: undefined symbol: SSL_CTX_set_tmp_rsa_callback
../bin/apachectl restart: httpd could not be started
[root@ conf]#

Anyone have any ideas?


thanks..

-j2n



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] undefined symbol error

2001-04-13 Thread Curtis Maurand


hello,
  I'm trying to compile on RedHat 6.1 (latest changes applied).  I can
compile with mysql support and using the apxs and it compiles fine and it
runs.  This works for both 3.0.16 and 4.0.4pl1.  As soon as I try to
compile in --with-imap. it comiles fine, but when I run it I get an
undefined symbol and its looking for gss_mech_krb5.

anyone have any ideas of what I need to install.  I have installed all the
latest kerberos packages from redhat, including the development packages.
I running with kernel 2.2.17-14 and its apache 1.3.14

Curtis


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] undefined symbol: xmlXPtrNewContext

2001-03-05 Thread Sebastien Roy

I'm having the exact same problem, did someone find a way to correct that
problem Evething looks good when compiling, the error occured when I
try to start Apache.

I am using sablotron 0.51 with libxmlparse and libxmltok that came from the
Sablotron RPM version 0.44 (because I could not find them anywhere else).

Regards,

Sebastien Roy
PHP programmer
[EMAIL PROTECTED]


Jack Lauman wrote:

 I get the following error when I attempt to start Apache 1.3.19
 (RedHad 7.0):

 apachectl start

 Syntax error on line 230 of /etc/httpd/conf/httpd.conf:
 Cannot load /usr/lib/apache/libphp4.so into server:
 /usr/lib/apache/libphp4.so:
 undefined symbol: xmlXPtrNewContext
 /usr/sbin/apachectl start: httpd could not be started

 I'm using libxml 2.3.3, and I assume the error is from the ./configure
 statement --xith-dom

 I'd appreciate any suggestions on how to resolve it.

 TIA

 Jack

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] undefined symbol: xmlXPtrNewContext

2001-03-04 Thread Jack Lauman

I get the following error when I attempt to start Apache 1.3.19
(RedHad 7.0):

apachectl start

Syntax error on line 230 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server:
/usr/lib/apache/libphp4.so:
undefined symbol: xmlXPtrNewContext
/usr/sbin/apachectl start: httpd could not be started

I'm using libxml 2.3.3, and I assume the error is from the ./configure
statement --xith-dom

I'd appreciate any suggestions on how to resolve it.

TIA

Jack

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] undefined symbol (PayFlow Pro)

2001-03-02 Thread Robert Covell

When I try compile php I get the following error that is directly related to
PNVersion:

root@server5:/usr/local/phpApache/php-4.0.4pl1# make  make.out
pfpro.c: In function `php_if_pfpro_version':
pfpro.c:129: warning: initialization makes pointer from integer without a
cast
root@server5:/usr/local/phpApache/php-4.0.4pl1#

The code in pfpro.c that is affected is:
/* {{{ proto string pfpro_version()
   Returns the version of the Payflow Pro library */
PHP_FUNCTION(pfpro_version)
{
if (ZEND_NUM_ARGS() != 0) {
WRONG_PARAM_COUNT;
}

RETURN_STRING(PNVersion(), 1);
}

Is it just a coincidence that this is bombing out as well as the undefined
symbol...

-Bob


-Original Message-
From: Robert Covell [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 7:51 AM
To: [EMAIL PROTECTED]
Subject: [PHP] undefined symbol (PayFlow Pro)


Does anyone know how to fix the following problem?  I have configured php
with --with-pfpro=/usr/local and it does not complain about the header or
the library.

root@server5:/usr/local/apache/conf# ../bin/apachectl configtest
Syntax error on line 213 of /usr/local/apache1317/conf/httpd.conf:
Cannot load /usr/local/apache1317/libexec/libphp4.so into server:
/usr/local/apa
che1317/libexec/libphp4.so: undefined symbol: PNVersion
root@server5:/usr/local/apache/conf#

I have run into this before with other undefined symbols but have just
reconfigured php to included the library.  Any ideas?

-Bob


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] undefined symbol: __dn_expand ???

2001-02-06 Thread Jeffrey Dyer

Hey,
I'm on Mandrake 7.1.  I installed PHP 4.0 without any errors, using the following:
./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs 
--with-gnu-ld
make
make install

It seemed to go fine -- no errors during installation, however, when I try to start 
apache I get the following error:
Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: 
/usr/local/apache/libexec/libphp4.so: undefined symbol: __dn_expand
./apachectl start: httpd could not be started
 
I've searched the internet all day, I can't find much reference on __dn_expand... I'm 
out of ideas so if anyone has any ideas on what might be wrong, please reply.
 
Thanks for your time,
-Jeff



Re: [PHP] undefined symbol: __dn_expand ???

2001-02-06 Thread Steve Smith

On Tue, 6 Feb 2001, Jeffrey Dyer wrote:

 Hey, I'm on Mandrake 7.1.  I installed PHP 4.0 without any errors, using
 the following:  ./configure --with-mysql=/usr/local/mysql
 --with-apxs=/usr/local/apache/bin/apxs --with-gnu-ld make make install
 
 It seemed to go fine -- no errors during installation, however, when I
 try to start apache I get the following error:  Syntax error on line 207
 of /usr/local/apache/conf/httpd.conf:  Cannot load
 /usr/local/apache/libexec/libphp4.so into server: 
 /usr/local/apache/libexec/libphp4.so: undefined symbol: __dn_expand
 ./apachectl start: httpd could not be started

__dn_expand is a reslover function.  The fix is almost certain to be to
add -lresolv to the LIBS= line in your php makefile.

--Steve


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]