ID: 13305
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: ICONV related
Operating System: Linux 2.4.2-2 (RH 7.1)
PHP Version: 4.0.6
New Comment:

Does this happen with the snapshot?


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

[2001-09-17 05:22:52] [EMAIL PROTECTED]

OK I had a think and changed the configure statement to:

'./configure' '--with-apxs=/usr/local/apache/bin/apxs' 
'--with-config-file-path=/usr/local/apache/conf' '--enable-versioning' '--with-mysql' 
'--enable-ftp' '--with-gd=/usr/local/gd1.3' '--enable-bcmath' '--disable-debug' 
'--enable-memory-limit=yes' '--enable-track-vars' '--with-iconv=/usr/local/lib'

this builds and loads OK, iconv is enabled in the phpinfo();

However if I create a test page with just the iconv example, it takes some time, but 
sometimes eventually says the function isn't defined, other times it produces a seg 
fault.

This at least means I can get a backtrace so here it goes:

This GDB was configured as "i386-redhat-linux"...
Core was generated by `/usr/local/apache/bin/httpd'.
Program terminated with signal 11, Segmentation fault.
#1  0x4000d816 in fixup () at eval.c:41
#2  0x4000d9b0 in _dl_runtime_resolve () at eval.c:41
#3  <signal handler called>
#4  0x40009e81 in _dl_lookup_versioned_symbol () at eval.c:41
#5  0x4000d816 in fixup () at eval.c:41
#6  0x4000d9b0 in _dl_runtime_resolve () at eval.c:41
#7  0x080616df in main () at eval.c:41
#8  0x400cf177 in __libc_start_main (main=0x8061324 <main>, argc=1, ubp_av=0xbffffb0c, 
init=0x804f340 <_init>, fini=0x80984d0 <_fini>, 
    rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffffafc) at 
../sysdeps/generic/libc-start.c:129




James


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

[2001-09-14 19:20:59] [EMAIL PROTECTED]

Does this happen with latest CVS snapshot: http://snaps.php.net/ ?



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

[2001-09-14 13:45:42] [EMAIL PROTECTED]

actually as well to configure
--with-iconv=/usr/local/libiconv-1.7

(also tried just --with-iconv)

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

[2001-09-14 13:44:18] [EMAIL PROTECTED]

configured with

./configure \
 --with-apxs=/usr/local/apache/bin/apxs \
 --with-config-file-path=/usr/local/apache/conf \
 --enable-versioning \
 --with-mysql \
 --enable-ftp \
 --with-gd=/usr/local/gd1.3 \
 --enable-bcmath \
 --disable-debug \
 --enable-memory-limit=yes \
 --enable-track-vars

reported it found iconv ok

i installed libiconv from freshmeat source

it produces on apache start

Cannot load /usr/local/apache/libexec/libphp4.so into server: 
/usr/local/apache/libexec/libphp4.so: undefined symbol: libiconv_open
/usr/local/apache/bin/apachectl sslstart: httpd could not be started


thanks



james

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



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


-- 
PHP Development 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]

Reply via email to