#42547 [Com]: ext/iconv/iconv.c:2426: undefined reference to `libiconv_open'

2009-09-12 Thread pjin at mail dot ru
 ID:   42547
 Comment by:   pjin at mail dot ru
 Reported By:  dawidpachla at gmail dot com
 Status:   No Feedback
 Bug Type: Compile Failure
 Operating System: CentOS 5 with DirectAdmin
 PHP Version:  5.2.4
 New Comment:

I used EXTRA_CFLAGS=-liconv instead of just CFLAGS=liconv


Previous Comments:


[2008-11-25 00:55:15] justincase at mailcatch dot com

To fix the error:
undefined reference to `libiconv_open'

Run configure like this:
[r...@david php-5.2.4]# ./configure CFLAGS=-liconv



[2008-11-16 14:53:51] milind dot koyande at gmail dot com

I have used --without-iconv with ./configure and make worked fine.

Hope it will work for you too.

-Milind ( http://trulymanaged.com )



[2008-06-27 14:39:58] ranrig at gmail dot com

Whenever you see "undefined reference to `libiconv_open'", try

make CFLAGS=-liconv



[2007-10-19 01:00:02] 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-10-11 14:06:27] j...@php.net

Is there some reason you have libiconv installed in /usr/local when
your glibc provides the same stuff? Did something else require it? As
the fix is to simply uninstall libiconv..



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 [Com]: ext/iconv/iconv.c:2426: undefined reference to `libiconv_open'

2008-11-24 Thread justincase at mailcatch dot com
 ID:   42547
 Comment by:   justincase at mailcatch dot com
 Reported By:  dawidpachla at gmail dot com
 Status:   No Feedback
 Bug Type: Compile Failure
 Operating System: CentOS 5 with DirectAdmin
 PHP Version:  5.2.4
 New Comment:

To fix the error:
undefined reference to `libiconv_open'

Run configure like this:
[EMAIL PROTECTED] php-5.2.4]# ./configure CFLAGS=-liconv


Previous Comments:


[2008-11-16 14:53:51] milind dot koyande at gmail dot com

I have used --without-iconv with ./configure and make worked fine.

Hope it will work for you too.

-Milind ( http://trulymanaged.com )



[2008-06-27 14:39:58] ranrig at gmail dot com

Whenever you see "undefined reference to `libiconv_open'", try

make CFLAGS=-liconv



[2007-10-19 01:00:02] 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-10-11 14:06:27] [EMAIL PROTECTED]

Is there some reason you have libiconv installed in /usr/local when
your glibc provides the same stuff? Did something else require it? As
the fix is to simply uninstall libiconv..



[2007-10-08 10:36:29] dawidpachla at gmail dot com

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]#



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 [Com]: ext/iconv/iconv.c:2426: undefined reference to `libiconv_open'

2008-11-16 Thread milind dot koyande at gmail dot com
 ID:   42547
 Comment by:   milind dot koyande at gmail dot com
 Reported By:  dawidpachla at gmail dot com
 Status:   No Feedback
 Bug Type: Compile Failure
 Operating System: CentOS 5 with DirectAdmin
 PHP Version:  5.2.4
 New Comment:

I have used --without-iconv with ./configure and make worked fine.

Hope it will work for you too.

-Milind ( http://trulymanaged.com )


Previous Comments:


[2008-06-27 14:39:58] ranrig at gmail dot com

Whenever you see "undefined reference to `libiconv_open'", try

make CFLAGS=-liconv



[2007-10-19 01:00:02] 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-10-11 14:06:27] [EMAIL PROTECTED]

Is there some reason you have libiconv installed in /usr/local when
your glibc provides the same stuff? Did something else require it? As
the fix is to simply uninstall libiconv..



[2007-10-08 10:36:29] dawidpachla at gmail dot com

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]#



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

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



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 [Com]: ext/iconv/iconv.c:2426: undefined reference to `libiconv_open'

2008-06-27 Thread ranrig at gmail dot com
 ID:   42547
 Comment by:   ranrig at gmail dot com
 Reported By:  dawidpachla at gmail dot com
 Status:   No Feedback
 Bug Type: Compile Failure
 Operating System: CentOS 5 with DirectAdmin
 PHP Version:  5.2.4
 New Comment:

Whenever you see "undefined reference to `libiconv_open'", try

make CFLAGS=-liconv


Previous Comments:


[2007-10-19 01:00:02] 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-10-11 14:06:27] [EMAIL PROTECTED]

Is there some reason you have libiconv installed in /usr/local when
your glibc provides the same stuff? Did something else require it? As
the fix is to simply uninstall libiconv..



[2007-10-08 10:36:29] dawidpachla at gmail dot com

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]#



[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



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