# iconv issues on leopard

- Thread: https://externals.io/message/32981
- Original archive: https://news-web.php.net/php.internals/32981
- Started by Eric Coleman on 2007-10-26T06:25:54+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #32981 — Eric Coleman — 2007-10-26T06:25:54+00:00

URL: https://externals.io/message/32981#32981

I can't seem to build php 5.2.4 or a snapshot on Leopard.  I have  
tried the following:

--with-iconv
--with-iconv=/usr
--with-iconv=/opt/local <- custom install if libiconv

And all 3 (as well as not including any iconv switch) all end in the  
following:

Undefined symbols:
   "_iconv_close", referenced from:
       _php_iconv_string in iconv.o
       _php_iconv_string in iconv.o
       __php_iconv_strlen in iconv.o
       __php_iconv_strpos in iconv.o
       __php_iconv_mime_decode in iconv.o
       __php_iconv_mime_decode in iconv.o
       __php_iconv_mime_decode in iconv.o
       _zif_iconv_substr in iconv.o
       _zif_iconv_substr in iconv.o
       _php_iconv_stream_filter_dtor in iconv.o
       _zif_iconv_mime_encode in iconv.o
       _zif_iconv_mime_encode in iconv.o
   "_iconv_open", referenced from:
       _php_iconv_string in iconv.o
       __php_iconv_strlen in iconv.o
       __php_iconv_strpos in iconv.o
       __php_iconv_mime_decode in iconv.o
       __php_iconv_mime_decode in iconv.o
       _zif_iconv_substr in iconv.o
       _zif_iconv_substr in iconv.o
       _zif_iconv_mime_encode in iconv.o
       _zif_iconv_mime_encode in iconv.o
       _php_iconv_stream_filter_factory_create in iconv.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

Anyone know what this might mean and how I can go about fixing it.

Regards,
Eric
