#42547 [NoF->Opn]: ext/iconv/iconv.c:2426: undefined reference to `libiconv_open'

2007-10-08 Thread dawidpachla at gmail dot com
 ID:   42547
 User updated by:  dawidpachla at gmail dot com
 Reported By:  dawidpachla at gmail dot com
-Status:   No Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: CentOS 5 with DirectAdmin
 PHP Version:  5.2.4
 New Comment:

Here's the output of # grep ICONV main/php_config.h after
'compilation':

[EMAIL PROTECTED] php-5.2.4]# grep ICONV main/php_config.h
/* #undef HAVE_LIBICONV */
/* #undef HAVE_GICONV_H */
/* #undef HAVE_LIBICONV */
#define HAVE_ICONV 1
#define PHP_ICONV_IMPL "glibc"
/* #undef HAVE_BSD_ICONV */
#define PHP_ICONV_IMPL "glibc"
#define HAVE_GLIBC_ICONV 1
#define PHP_ICONV_IMPL "glibc"
#define ICONV_SUPPORTS_ERRNO 0
#define ICONV_SUPPORTS_ERRNO 0
#define ICONV_SUPPORTS_ERRNO 0
#define PHP_ICONV_H_PATH 
/* #undef COMPILE_DL_ICONV */
/* #undef HAVE_LIBICONV */
/* #undef HAVE_GICONV_H */
/* #undef HAVE_LIBICONV */
#define HAVE_ICONV 1
[EMAIL PROTECTED] php-5.2.4]#


Previous Comments:


[2007-09-29 01:00:00] 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".



[2007-09-21 09:15:14] [EMAIL PROTECTED]

Try find that file first. It's $top_builddir/main/php_config.h

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

[2007-09-19 14:42:46] dawidpachla at gmail dot com

grep: main/php_config.h: No such file or directory



[2007-09-19 13:28:12] [EMAIL PROTECTED]

What does this output:
# grep ICONV main/php_config.h 


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

[2007-09-18 15:12:14] dawidpachla at gmail dot com

still the same error :/

/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1242:
undefined reference to `libiconv'
ext/iconv/iconv.o:/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1286:
more undefined references to `libiconv' follow
ext/iconv/iconv.o: In function `php_iconv_stream_filter_ctor':
/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:2426:
undefined reference to `libiconv_open'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/42547

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


#42547 [Fbk->Opn]: ext/iconv/iconv.c:2426: undefined reference to `libiconv_open'

2007-09-19 Thread dawidpachla at gmail dot com
 ID:   42547
 User updated by:  dawidpachla at gmail dot com
 Reported By:  dawidpachla at gmail dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: CentOS 5 with DirectAdmin
 PHP Version:  5.2.4
 New Comment:

grep: main/php_config.h: No such file or directory


Previous Comments:


[2007-09-19 13:28:12] [EMAIL PROTECTED]

What does this output:
# grep ICONV main/php_config.h 




[2007-09-18 15:12:14] dawidpachla at gmail dot com

still the same error :/

/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1242:
undefined reference to `libiconv'
ext/iconv/iconv.o:/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1286:
more undefined references to `libiconv' follow
ext/iconv/iconv.o: In function `php_iconv_stream_filter_ctor':
/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:2426:
undefined reference to `libiconv_open'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1



[2007-09-18 12:33:45] [EMAIL PROTECTED]

Of course you should do "make clean", I forgot to mention that:

# rm config.cache && ./configure && make clean && make


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

[2007-09-13 16:07:13] dawidpachla at gmail dot com

When I changed all /usr/local/lib to /usr/local I had the same error as
before, when I used rm config.cache && ./configure && make I got the
following error:

/usr/local/directadmin/customapache/php-5.2.4/main/rfc1867.c:1185:
undefined reference to `php_mb_gpc_encoding_converter'
main/.libs/output.o: In function `php_ob_init_named':
/usr/local/directadmin/customapache/php-5.2.4/main/output.c:438:
undefined reference to `php_ob_gzhandler_check'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1



[2007-09-13 10:21:18] [EMAIL PROTECTED]

I meant EVERY option in PHP configure, not just the one.
Anyway, try this short version instead:

# rm config.cache && ./configure && make




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/42547

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


#42547 [Fbk->Opn]: ext/iconv/iconv.c:2426: undefined reference to `libiconv_open'

2007-09-18 Thread dawidpachla at gmail dot com
 ID:   42547
 User updated by:  dawidpachla at gmail dot com
 Reported By:  dawidpachla at gmail dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: CentOS 5 with DirectAdmin
 PHP Version:  5.2.4
 New Comment:

still the same error :/

/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1242:
undefined reference to `libiconv'
ext/iconv/iconv.o:/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1286:
more undefined references to `libiconv' follow
ext/iconv/iconv.o: In function `php_iconv_stream_filter_ctor':
/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:2426:
undefined reference to `libiconv_open'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1


Previous Comments:


[2007-09-18 12:33:45] [EMAIL PROTECTED]

Of course you should do "make clean", I forgot to mention that:

# rm config.cache && ./configure && make clean && make


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

[2007-09-13 16:07:13] dawidpachla at gmail dot com

When I changed all /usr/local/lib to /usr/local I had the same error as
before, when I used rm config.cache && ./configure && make I got the
following error:

/usr/local/directadmin/customapache/php-5.2.4/main/rfc1867.c:1185:
undefined reference to `php_mb_gpc_encoding_converter'
main/.libs/output.o: In function `php_ob_init_named':
/usr/local/directadmin/customapache/php-5.2.4/main/output.c:438:
undefined reference to `php_ob_gzhandler_check'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1



[2007-09-13 10:21:18] [EMAIL PROTECTED]

I meant EVERY option in PHP configure, not just the one.
Anyway, try this short version instead:

# rm config.cache && ./configure && make


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

[2007-09-12 15:04:24] dawidpachla at gmail dot com

I edited the configure file, so it looks like that:

#!/bin/sh
./configure \
--with-apxs2 \
--with-curl \
--with-curl=/usr/local \
--with-gd \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--enable-memory-limit \
--enable-libxml


But I still get the same error when i try to compile it:

/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1242:
undefined   
  reference to `libiconv'
ext/iconv/.libs/iconv.o:/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/

   iconv.c:1286: more undefined references to `libiconv' follow
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':
/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:2426:
undefined   
  reference to `libiconv_open'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
[EMAIL PROTECTED] customapache]#



[2007-09-12 11:57:02] [EMAIL PROTECTED]

This is wrong way to pass base install dir:
-with-curl=/usr/local/lib 

This is the correct way:

-with-curl=/usr/local

Fix these in your configure line. (There is no --with/--enable option
in PHP configure that expects it to have /lib in the path!)



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/42547

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


#42547 [Fbk->Opn]: ext/iconv/iconv.c:2426: undefined reference to `libiconv_open'

2007-09-13 Thread dawidpachla at gmail dot com
 ID:   42547
 User updated by:  dawidpachla at gmail dot com
 Reported By:  dawidpachla at gmail dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: CentOS 5 with DirectAdmin
 PHP Version:  5.2.4
 New Comment:

When I changed all /usr/local/lib to /usr/local I had the same error as
before, when I used rm config.cache && ./configure && make I got the
following error:

/usr/local/directadmin/customapache/php-5.2.4/main/rfc1867.c:1185:
undefined reference to `php_mb_gpc_encoding_converter'
main/.libs/output.o: In function `php_ob_init_named':
/usr/local/directadmin/customapache/php-5.2.4/main/output.c:438:
undefined reference to `php_ob_gzhandler_check'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1


Previous Comments:


[2007-09-13 10:21:18] [EMAIL PROTECTED]

I meant EVERY option in PHP configure, not just the one.
Anyway, try this short version instead:

# rm config.cache && ./configure && make


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

[2007-09-12 15:04:24] dawidpachla at gmail dot com

I edited the configure file, so it looks like that:

#!/bin/sh
./configure \
--with-apxs2 \
--with-curl \
--with-curl=/usr/local \
--with-gd \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--enable-memory-limit \
--enable-libxml


But I still get the same error when i try to compile it:

/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1242:
undefined   
  reference to `libiconv'
ext/iconv/.libs/iconv.o:/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/

   iconv.c:1286: more undefined references to `libiconv' follow
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':
/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:2426:
undefined   
  reference to `libiconv_open'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
[EMAIL PROTECTED] customapache]#



[2007-09-12 11:57:02] [EMAIL PROTECTED]

This is wrong way to pass base install dir:
-with-curl=/usr/local/lib 

This is the correct way:

-with-curl=/usr/local

Fix these in your configure line. (There is no --with/--enable option
in PHP configure that expects it to have /lib in the path!)

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

[2007-09-11 20:27:06] dawidpachla at gmail dot com

it's /usr/local/lib



[2007-09-05 13:24:13] [EMAIL PROTECTED]

You seem to have libiconv in your system. Where is it located and is
that location in LD_LIBRARY_PATH? (or /etc/ld.so.conf* file or
directory..)




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/42547

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


#42547 [Fbk->Opn]: ext/iconv/iconv.c:2426: undefined reference to `libiconv_open'

2007-09-12 Thread dawidpachla at gmail dot com
 ID:   42547
 User updated by:  dawidpachla at gmail dot com
 Reported By:  dawidpachla at gmail dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: CentOS 5 with DirectAdmin
 PHP Version:  5.2.4
 New Comment:

I edited the configure file, so it looks like that:

#!/bin/sh
./configure \
--with-apxs2 \
--with-curl \
--with-curl=/usr/local \
--with-gd \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--enable-memory-limit \
--enable-libxml


But I still get the same error when i try to compile it:

/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1242:
undefined   
  reference to `libiconv'
ext/iconv/.libs/iconv.o:/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/

   iconv.c:1286: more undefined references to `libiconv' follow
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':
/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:2426:
undefined   
  reference to `libiconv_open'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
[EMAIL PROTECTED] customapache]#


Previous Comments:


[2007-09-12 11:57:02] [EMAIL PROTECTED]

This is wrong way to pass base install dir:
-with-curl=/usr/local/lib 

This is the correct way:

-with-curl=/usr/local

Fix these in your configure line. (There is no --with/--enable option
in PHP configure that expects it to have /lib in the path!)



[2007-09-11 20:27:06] dawidpachla at gmail dot com

it's /usr/local/lib



[2007-09-05 13:24:13] [EMAIL PROTECTED]

You seem to have libiconv in your system. Where is it located and is
that location in LD_LIBRARY_PATH? (or /etc/ld.so.conf* file or
directory..)


----

[2007-09-04 19:01:00] dawidpachla at gmail dot com

Description:

I use CentOS 5 with newest DirecAdmin, apache2, mod_security and php
5.2.3 (when I upgraded from 4.4.7 to 5.2.3 everything was ok).

Everything is compiling fine until:

 reference to `libiconv'
/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1211:
undefined reference to `libiconv'
/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1242:
undefined reference to `libiconv'
ext/iconv/.libs/iconv.o:/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1286:
more undefined references to `libiconv' follow
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':
/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:2426:
undefined reference to `libiconv_open'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

This is my configuration file:

./configure \
--with-apxs2 \
--with-curl \
--with-curl=/usr/local/lib \
--with-gd \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--enable-memory-limit








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


#42547 [Fbk->Opn]: ext/iconv/iconv.c:2426: undefined reference to `libiconv_open'

2007-09-11 Thread dawidpachla at gmail dot com
 ID:   42547
 User updated by:  dawidpachla at gmail dot com
 Reported By:  dawidpachla at gmail dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: CentOS 5 with DirectAdmin
 PHP Version:  5.2.4
 New Comment:

it's /usr/local/lib


Previous Comments:


[2007-09-05 13:24:13] [EMAIL PROTECTED]

You seem to have libiconv in your system. Where is it located and is
that location in LD_LIBRARY_PATH? (or /etc/ld.so.conf* file or
directory..)




[2007-09-04 19:01:00] dawidpachla at gmail dot com

Description:

I use CentOS 5 with newest DirecAdmin, apache2, mod_security and php
5.2.3 (when I upgraded from 4.4.7 to 5.2.3 everything was ok).

Everything is compiling fine until:

 reference to `libiconv'
/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1211:
undefined reference to `libiconv'
/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1242:
undefined reference to `libiconv'
ext/iconv/.libs/iconv.o:/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1286:
more undefined references to `libiconv' follow
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':
/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:2426:
undefined reference to `libiconv_open'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

This is my configuration file:

./configure \
--with-apxs2 \
--with-curl \
--with-curl=/usr/local/lib \
--with-gd \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--enable-memory-limit








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


#42547 [NEW]: php-5.2.4/ext/iconv/iconv.c:2426: undefined reference to `libiconv_open'

2007-09-04 Thread dawidpachla at gmail dot com
From: dawidpachla at gmail dot com
Operating system: CentOS 5 with DirectAdmin
PHP version:  5.2.4
PHP Bug Type: Compile Failure
Bug description:  php-5.2.4/ext/iconv/iconv.c:2426: undefined reference to 
`libiconv_open'

Description:

I use CentOS 5 with newest DirecAdmin, apache2, mod_security and php 5.2.3
(when I upgraded from 4.4.7 to 5.2.3 everything was ok).

Everything is compiling fine until:

 reference to `libiconv'
/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1211:
undefined reference to `libiconv'
/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1242:
undefined reference to `libiconv'
ext/iconv/.libs/iconv.o:/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:1286:
more undefined references to `libiconv' follow
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':
/usr/local/directadmin/customapache/php-5.2.4/ext/iconv/iconv.c:2426:
undefined reference to `libiconv_open'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

This is my configuration file:

./configure \
--with-apxs2 \
--with-curl \
--with-curl=/usr/local/lib \
--with-gd \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--enable-memory-limit




-- 
Edit bug report at http://bugs.php.net/?id=42547&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42547&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42547&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42547&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42547&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=42547&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=42547&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=42547&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=42547&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=42547&r=support
Expected behavior:http://bugs.php.net/fix.php?id=42547&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=42547&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=42547&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42547&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42547&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42547&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=42547&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=42547&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42547&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=42547&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=42547&r=mysqlcfg