Re: Compile problems - any Mac OS X 10.6 users?
Looks like you're missing the libclntsh.so library, or Kannel is searching for it on the wrong place. Check if it's installed, you told Kannel to search for it on /instaclient_10_2 is that the place where the libs are? Regards, Alex On Fri, Apr 15, 2011 at 3:36 AM, Francisco Oliveira fran.mb.olive...@gmail.com wrote: Hello, Alex, Nikos and everybody, Many thanks for responding my posts. I had to reinstall everything from scratch. Now I have oracle's instant client on the same account I'm installing Kannel. Oracle database is running on the same machine under a different account. So, when I run ./configure --with-oracle --with-oracle-includes=/instantclient_10_2/sdk/include --with-oracle-libs=/instantclient_10_2 I get: ... Configuring DB support ... checking whether to compile with MySQL support... disabled checking whether to compile with LibSDB support... disabled checking whether to compile with SQLite2 support... disabled checking whether to compile with SQLite3 support... disabled checking whether to compile with Oracle support... searching checking for oci.h ... yes checking for OCIEnvCreate in -lclntsh... no checking for OCIEnvCreate in -lclntsh... (cached) no What should I do? Best wishes, Fran On Apr 13, 2011, at 7:48 PM, Nikos Balkanas wrote: Hi, Could also be at compile time iconv is not in the user's library path. In Linux it is defined in /etc/ld.so.conf and in Solaris in LD_LIBRARY_PATH. Not sure what is in Mac. BR, Nikos - Original Message - From: Alejandro Guerrieri To: Francisco Oliveira Cc: us...@vm1.kannel.org Sent: Wednesday, April 13, 2011 4:13 PM Subject: Re: Re: Compile problems - any Mac OS X 10.6 users? There must be some previous complain on configure I guess? This is what I get when compiling on Snow Leopard: checking for iconv... yes checking for working iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); Is the /usr/bin/iconv command available? What about running it with the -l switch? You should get a list of supported charsets. Anyway, check if you have the iconv libraries. Regards, Alex On Wed, Apr 13, 2011 at 12:51 PM, Francisco Oliveira fran.mb.olive...@gmail.com wrote: Hi everyone, I'm having a problem very similar to the one Hujumuju had posted. Was it solved? Please let me know. Many thanks in advance and all the best, Francisco Oliveira (Fran) Here's your original post: Hello. I am trying to compile Kannel under Mac OS X 10.6 (Snow Leopard). I have Xcode 3.2 for Mac OS X 10.6 Snow Leopard + MacPorts configure goes fine and i have attached config,log to this message. Anyway, make fails: gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -L/opt/local/lib -o wmlscript/wmlsc wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lresolv -lm -lpthread -lxml2 -lz -lpthread -licucore -lm -L/usr/lib -lcrypto -lssl Undefined symbols: _iconv_close, referenced from: _charset_convert in libgwlib.a(charset.o) _iconv, referenced from: _charset_convert in libgwlib.a(charset.o) _iconv_open, referenced from: _charset_convert in libgwlib.a(charset.o) ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [wmlscript/wmlsc] Error 1 Does anyone have experience with Max OS X? I've compile kannel sucesfully before on 10.5 (Leopard) machine. Thanks for any tips in advance.
Re: Compile problems - any Mac OS X 10.6 users?
Many thanks Alex and Nikos, Here's my situation: I have downloaded Oracle's instant client for Mac OS X Version 10.2.0.4 (This is the one available at Oracle's website) and installed it at /instantclient_10_2. There, we don't have libclntsh.so nor libclientsh.so However, we do have libclntsh.dylib and libclntsh.dylib.10.1 So, when I run: $ nm libclntsh.dylib | grep OCIEnvCreate I get: 0016aa89 T _OCIEnvCreate and when I run: $ nm libclntsh.dylib.10.1 | grep OCIEnvCreate I also get : 0016aa89 T _OCIEnvCreate I've created links to these libraries: $ ln libclntsh.dylib.10.1 libclientsh.so $ ln libclntsh.dylib.10.1 libclntsh.so and run ./configure --with-oracle --with-oracle-includes=/instantclient_10_2/sdk/include --with-oracle-libs=/instantclient_10_2 However, I still get the error: Configuring DB support ... checking whether to compile with MySQL support... disabled checking whether to compile with LibSDB support... disabled checking whether to compile with SQLite2 support... disabled checking whether to compile with SQLite3 support... disabled checking whether to compile with Oracle support... searching checking for oci.h ... yes checking for OCIEnvCreate in -lclntsh... no checking for OCIEnvCreate in -lclntsh... (cached) no There's also a lib, libocci.dylib.10.1, that when I run: $ nm libocci.dylib.10.1 | grep OCIEnvCreate I get: U _OCIEnvCreate I've also created $ ln libocci.dylib.10.1 libclntsh.so $ ln libocci.dylib.10.1 libclientsh.so and run: ./configure --with-oracle --with-oracle-includes=/instantclient_10_2/sdk/include --with-oracle-libs=/instantclient_10_2 and still got the error: Configuring DB support ... checking whether to compile with MySQL support... disabled checking whether to compile with LibSDB support... disabled checking whether to compile with SQLite2 support... disabled checking whether to compile with SQLite3 support... disabled checking whether to compile with Oracle support... searching checking for oci.h ... yes checking for OCIEnvCreate in -lclntsh... no checking for OCIEnvCreate in -lclntsh... (cached) no. Any other suggestions before trying to find an older Oracle Instant Client? All the best, Fran On Apr 15, 2011, at 6:09 AM, Alejandro Guerrieri wrote: Looks like you're missing the libclntsh.so library, or Kannel is searching for it on the wrong place. Check if it's installed, you told Kannel to search for it on /instaclient_10_2 is that the place where the libs are? Regards, Alex On Fri, Apr 15, 2011 at 3:36 AM, Francisco Oliveira fran.mb.olive...@gmail.com wrote: Hello, Alex, Nikos and everybody, Many thanks for responding my posts. I had to reinstall everything from scratch. Now I have oracle's instant client on the same account I'm installing Kannel. Oracle database is running on the same machine under a different account. So, when I run ./configure --with-oracle --with-oracle-includes=/instantclient_10_2/sdk/include --with-oracle-libs=/instantclient_10_2 I get: ... Configuring DB support ... checking whether to compile with MySQL support... disabled checking whether to compile with LibSDB support... disabled checking whether to compile with SQLite2 support... disabled checking whether to compile with SQLite3 support... disabled checking whether to compile with Oracle support... searching checking for oci.h ... yes checking for OCIEnvCreate in -lclntsh... no checking for OCIEnvCreate in -lclntsh... (cached) no What should I do? Best wishes, Fran On Apr 13, 2011, at 7:48 PM, Nikos Balkanas wrote: Hi, Could also be at compile time iconv is not in the user's library path. In Linux it is defined in /etc/ld.so.conf and in Solaris in LD_LIBRARY_PATH. Not sure what is in Mac. BR, Nikos - Original Message - From: Alejandro Guerrieri To: Francisco Oliveira Cc: us...@vm1.kannel.org Sent: Wednesday, April 13, 2011 4:13 PM Subject: Re: Re: Compile problems - any Mac OS X 10.6 users? There must be some previous complain on configure I guess? This is what I get when compiling on Snow Leopard: checking for iconv... yes checking for working iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); Is the /usr/bin/iconv command available? What about running it with the -l switch? You should get a list of supported charsets. Anyway, check if you have the iconv libraries. Regards, Alex On Wed, Apr 13, 2011 at 12:51 PM, Francisco Oliveira fran.mb.olive...@gmail.com wrote: Hi everyone, I'm having a problem very similar to the one Hujumuju had posted. Was it solved? Please let me know. Many thanks in advance and all the best, Francisco Oliveira (Fran) Here's your original post: Hello. I am trying
Re: Compile problems - any Mac OS X 10.6 users?
.so won't work on Mac (I didn't know/missed that you were using Mac). Kind of messy, but If the files are there, you might get away by symlinking them from /usr/lib and see if that helps. Regards, Alex On Fri, Apr 15, 2011 at 1:41 PM, Francisco Oliveira fran.mb.olive...@gmail.com wrote: Many thanks Alex and Nikos, Here's my situation: I have downloaded Oracle's instant client for Mac OS X Version 10.2.0.4 (This is the one available at Oracle's website) and installed it at /instantclient_10_2. There, we don't have libclntsh.so nor libclientsh.so However, we do have libclntsh.dylib and libclntsh.dylib.10.1 So, when I run: $ nm libclntsh.dylib | grep OCIEnvCreate I get: 0016aa89 T _OCIEnvCreate and when I run: $ nm libclntsh.dylib.10.1 | grep OCIEnvCreate I also get : 0016aa89 T _OCIEnvCreate I've created links to these libraries: $ ln libclntsh.dylib.10.1 libclientsh.so $ ln libclntsh.dylib.10.1 libclntsh.so and run ./configure --with-oracle --with-oracle-includes=/instantclient_10_2/sdk/include --with-oracle-libs=/instantclient_10_2 However, I still get the error: Configuring DB support ... checking whether to compile with MySQL support... disabled checking whether to compile with LibSDB support... disabled checking whether to compile with SQLite2 support... disabled checking whether to compile with SQLite3 support... disabled checking whether to compile with Oracle support... searching checking for oci.h ... yes checking for OCIEnvCreate in -lclntsh... no checking for OCIEnvCreate in -lclntsh... (cached) no There's also a lib, libocci.dylib.10.1, that when I run: $ nm libocci.dylib.10.1 | grep OCIEnvCreate I get: U _OCIEnvCreate I've also created $ ln libocci.dylib.10.1 libclntsh.so $ ln libocci.dylib.10.1 libclientsh.so and run: ./configure --with-oracle --with-oracle-includes=/instantclient_10_2/sdk/include --with-oracle-libs=/instantclient_10_2 and still got the error: Configuring DB support ... checking whether to compile with MySQL support... disabled checking whether to compile with LibSDB support... disabled checking whether to compile with SQLite2 support... disabled checking whether to compile with SQLite3 support... disabled checking whether to compile with Oracle support... searching checking for oci.h ... yes checking for OCIEnvCreate in -lclntsh... no checking for OCIEnvCreate in -lclntsh... (cached) no. Any other suggestions before trying to find an older Oracle Instant Client? All the best, Fran On Apr 15, 2011, at 6:09 AM, Alejandro Guerrieri wrote: Looks like you're missing the libclntsh.so library, or Kannel is searching for it on the wrong place. Check if it's installed, you told Kannel to search for it on /instaclient_10_2 is that the place where the libs are? Regards, Alex On Fri, Apr 15, 2011 at 3:36 AM, Francisco Oliveira fran.mb.olive...@gmail.com wrote: Hello, Alex, Nikos and everybody, Many thanks for responding my posts. I had to reinstall everything from scratch. Now I have oracle's instant client on the same account I'm installing Kannel. Oracle database is running on the same machine under a different account. So, when I run ./configure --with-oracle --with-oracle-includes=/instantclient_10_2/sdk/include --with-oracle-libs=/instantclient_10_2 I get: ... Configuring DB support ... checking whether to compile with MySQL support... disabled checking whether to compile with LibSDB support... disabled checking whether to compile with SQLite2 support... disabled checking whether to compile with SQLite3 support... disabled checking whether to compile with Oracle support... searching checking for oci.h ... yes checking for OCIEnvCreate in -lclntsh... no checking for OCIEnvCreate in -lclntsh... (cached) no What should I do? Best wishes, Fran On Apr 13, 2011, at 7:48 PM, Nikos Balkanas wrote: Hi, Could also be at compile time iconv is not in the user's library path. In Linux it is defined in /etc/ld.so.conf and in Solaris in LD_LIBRARY_PATH. Not sure what is in Mac. BR, Nikos - Original Message - From: Alejandro Guerrieri To: Francisco Oliveira Cc: us...@vm1.kannel.org Sent: Wednesday, April 13, 2011 4:13 PM Subject: Re: Re: Compile problems - any Mac OS X 10.6 users? There must be some previous complain on configure I guess? This is what I get when compiling on Snow Leopard: checking for iconv... yes checking for working iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); Is the /usr/bin/iconv command available? What about running it with the -l switch? You should get a list of supported charsets. Anyway, check if you have the iconv libraries. Regards, Alex On Wed, Apr 13, 2011 at 12:51
Re: Compile problems - any Mac OS X 10.6 users?
Hello, Alex, Nikos and everybody, Many thanks for responding my posts. I had to reinstall everything from scratch. Now I have oracle's instant client on the same account I'm installing Kannel. Oracle database is running on the same machine under a different account. So, when I run ./configure --with-oracle --with-oracle-includes=/instantclient_10_2/sdk/include --with-oracle-libs=/instantclient_10_2 I get: ... Configuring DB support ... checking whether to compile with MySQL support... disabled checking whether to compile with LibSDB support... disabled checking whether to compile with SQLite2 support... disabled checking whether to compile with SQLite3 support... disabled checking whether to compile with Oracle support... searching checking for oci.h ... yes checking for OCIEnvCreate in -lclntsh... no checking for OCIEnvCreate in -lclntsh... (cached) no What should I do? Best wishes, Fran On Apr 13, 2011, at 7:48 PM, Nikos Balkanas wrote: Hi, Could also be at compile time iconv is not in the user's library path. In Linux it is defined in /etc/ld.so.conf and in Solaris in LD_LIBRARY_PATH. Not sure what is in Mac. BR, Nikos - Original Message - From: Alejandro Guerrieri To: Francisco Oliveira Cc: us...@vm1.kannel.org Sent: Wednesday, April 13, 2011 4:13 PM Subject: Re: Re: Compile problems - any Mac OS X 10.6 users? There must be some previous complain on configure I guess? This is what I get when compiling on Snow Leopard: checking for iconv... yes checking for working iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); Is the /usr/bin/iconv command available? What about running it with the -l switch? You should get a list of supported charsets. Anyway, check if you have the iconv libraries. Regards, Alex On Wed, Apr 13, 2011 at 12:51 PM, Francisco Oliveira fran.mb.olive...@gmail.com wrote: Hi everyone, I'm having a problem very similar to the one Hujumuju had posted. Was it solved? Please let me know. Many thanks in advance and all the best, Francisco Oliveira (Fran) Here's your original post: Hello. I am trying to compile Kannel under Mac OS X 10.6 (Snow Leopard). I have Xcode 3.2 for Mac OS X 10.6 Snow Leopard + MacPorts configure goes fine and i have attached config,log to this message. Anyway, make fails: gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -L/opt/local/lib -o wmlscript/wmlsc wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lresolv -lm -lpthread -lxml2 -lz -lpthread -licucore -lm -L/usr/lib -lcrypto -lssl Undefined symbols: _iconv_close, referenced from: _charset_convert in libgwlib.a(charset.o) _iconv, referenced from: _charset_convert in libgwlib.a(charset.o) _iconv_open, referenced from: _charset_convert in libgwlib.a(charset.o) ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [wmlscript/wmlsc] Error 1 Does anyone have experience with Max OS X? I've compile kannel sucesfully before on 10.5 (Leopard) machine. Thanks for any tips in advance.
Re: Compile problems - any Mac OS X 10.6 users?
Hi, This is an Unix admin question, not kannel. You either have specified wrong oracle client library dir, or you have an incompatible oracle (I doubt it). Find where your Oracle client library (find / -name libclientsh.so). Make sure path is corect, and verify by: nm -D /path/to/libclientsh.so | grep OCIEnvCreate If there is no output, update (or downgrade) your Oracle. BR, Nikos - Original Message - From: Francisco Oliveira fran.mb.olive...@gmail.com To: Nikos Balkanas nbalka...@gmail.com Cc: Alejandro Guerrieri alejandro.guerri...@gmail.com; us...@vm1.kannel.org Sent: Friday, April 15, 2011 4:36 AM Subject: Re: Compile problems - any Mac OS X 10.6 users? Hello, Alex, Nikos and everybody, Many thanks for responding my posts. I had to reinstall everything from scratch. Now I have oracle's instant client on the same account I'm installing Kannel. Oracle database is running on the same machine under a different account. So, when I run ./configure --with-oracle --with-oracle-includes=/instantclient_10_2/sdk/include --with-oracle-libs=/instantclient_10_2 I get: ... Configuring DB support ... checking whether to compile with MySQL support... disabled checking whether to compile with LibSDB support... disabled checking whether to compile with SQLite2 support... disabled checking whether to compile with SQLite3 support... disabled checking whether to compile with Oracle support... searching checking for oci.h ... yes checking for OCIEnvCreate in -lclntsh... no checking for OCIEnvCreate in -lclntsh... (cached) no What should I do? Best wishes, Fran On Apr 13, 2011, at 7:48 PM, Nikos Balkanas wrote: Hi, Could also be at compile time iconv is not in the user's library path. In Linux it is defined in /etc/ld.so.conf and in Solaris in LD_LIBRARY_PATH. Not sure what is in Mac. BR, Nikos - Original Message - From: Alejandro Guerrieri To: Francisco Oliveira Cc: us...@vm1.kannel.org Sent: Wednesday, April 13, 2011 4:13 PM Subject: Re: Re: Compile problems - any Mac OS X 10.6 users? There must be some previous complain on configure I guess? This is what I get when compiling on Snow Leopard: checking for iconv... yes checking for working iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); Is the /usr/bin/iconv command available? What about running it with the -l switch? You should get a list of supported charsets. Anyway, check if you have the iconv libraries. Regards, Alex On Wed, Apr 13, 2011 at 12:51 PM, Francisco Oliveira fran.mb.olive...@gmail.com wrote: Hi everyone, I'm having a problem very similar to the one Hujumuju had posted. Was it solved? Please let me know. Many thanks in advance and all the best, Francisco Oliveira (Fran) Here's your original post: Hello. I am trying to compile Kannel under Mac OS X 10.6 (Snow Leopard). I have Xcode 3.2 for Mac OS X 10.6 Snow Leopard + MacPorts configure goes fine and i have attached config,log to this message. Anyway, make fails: gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -L/opt/local/lib -o wmlscript/wmlsc wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lresolv -lm -lpthread -lxml2 -lz -lpthread -licucore -lm -L/usr/lib -lcrypto -lssl Undefined symbols: _iconv_close, referenced from: _charset_convert in libgwlib.a(charset.o) _iconv, referenced from: _charset_convert in libgwlib.a(charset.o) _iconv_open, referenced from: _charset_convert in libgwlib.a(charset.o) ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [wmlscript/wmlsc] Error 1 Does anyone have experience with Max OS X? I've compile kannel sucesfully before on 10.5 (Leopard) machine. Thanks for any tips in advance.
Re: Compile problems - any Mac OS X 10.6 users?
You either have specified wrong oracle client library dir, or you have an incompatible oracle (I doubt it). I mean you to verify that your environment's Library Path has the correct Oracle library dir. Nikos - Original Message - From: Nikos Balkanas nbalka...@gmail.com To: Francisco Oliveira fran.mb.olive...@gmail.com Cc: Alejandro Guerrieri alejandro.guerri...@gmail.com; users@kannel.org Sent: Friday, April 15, 2011 7:29 AM Subject: Re: Compile problems - any Mac OS X 10.6 users? Hi, This is an Unix admin question, not kannel. You either have specified wrong oracle client library dir, or you have an incompatible oracle (I doubt it). Find where your Oracle client library (find / -name libclientsh.so). Make sure path is corect, and verify by: nm -D /path/to/libclientsh.so | grep OCIEnvCreate If there is no output, update (or downgrade) your Oracle. BR, Nikos - Original Message - From: Francisco Oliveira fran.mb.olive...@gmail.com To: Nikos Balkanas nbalka...@gmail.com Cc: Alejandro Guerrieri alejandro.guerri...@gmail.com; us...@vm1.kannel.org Sent: Friday, April 15, 2011 4:36 AM Subject: Re: Compile problems - any Mac OS X 10.6 users? Hello, Alex, Nikos and everybody, Many thanks for responding my posts. I had to reinstall everything from scratch. Now I have oracle's instant client on the same account I'm installing Kannel. Oracle database is running on the same machine under a different account. So, when I run ./configure --with-oracle --with-oracle-includes=/instantclient_10_2/sdk/include --with-oracle-libs=/instantclient_10_2 I get: ... Configuring DB support ... checking whether to compile with MySQL support... disabled checking whether to compile with LibSDB support... disabled checking whether to compile with SQLite2 support... disabled checking whether to compile with SQLite3 support... disabled checking whether to compile with Oracle support... searching checking for oci.h ... yes checking for OCIEnvCreate in -lclntsh... no checking for OCIEnvCreate in -lclntsh... (cached) no What should I do? Best wishes, Fran On Apr 13, 2011, at 7:48 PM, Nikos Balkanas wrote: Hi, Could also be at compile time iconv is not in the user's library path. In Linux it is defined in /etc/ld.so.conf and in Solaris in LD_LIBRARY_PATH. Not sure what is in Mac. BR, Nikos - Original Message - From: Alejandro Guerrieri To: Francisco Oliveira Cc: us...@vm1.kannel.org Sent: Wednesday, April 13, 2011 4:13 PM Subject: Re: Re: Compile problems - any Mac OS X 10.6 users? There must be some previous complain on configure I guess? This is what I get when compiling on Snow Leopard: checking for iconv... yes checking for working iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); Is the /usr/bin/iconv command available? What about running it with the -l switch? You should get a list of supported charsets. Anyway, check if you have the iconv libraries. Regards, Alex On Wed, Apr 13, 2011 at 12:51 PM, Francisco Oliveira fran.mb.olive...@gmail.com wrote: Hi everyone, I'm having a problem very similar to the one Hujumuju had posted. Was it solved? Please let me know. Many thanks in advance and all the best, Francisco Oliveira (Fran) Here's your original post: Hello. I am trying to compile Kannel under Mac OS X 10.6 (Snow Leopard). I have Xcode 3.2 for Mac OS X 10.6 Snow Leopard + MacPorts configure goes fine and i have attached config,log to this message. Anyway, make fails: gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -L/opt/local/lib -o wmlscript/wmlsc wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lresolv -lm -lpthread -lxml2 -lz -lpthread -licucore -lm -L/usr/lib -lcrypto -lssl Undefined symbols: _iconv_close, referenced from: _charset_convert in libgwlib.a(charset.o) _iconv, referenced from: _charset_convert in libgwlib.a(charset.o) _iconv_open, referenced from: _charset_convert in libgwlib.a(charset.o) ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [wmlscript/wmlsc] Error 1 Does anyone have experience with Max OS X? I've compile kannel sucesfully before on 10.5 (Leopard) machine. Thanks for any tips in advance.
Re: Re: Compile problems - any Mac OS X 10.6 users?
There must be some previous complain on configure I guess? This is what I get when compiling on Snow Leopard: checking for iconv... yes checking for working iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); Is the /usr/bin/iconv command available? What about running it with the -l switch? You should get a list of supported charsets. Anyway, check if you have the iconv libraries. Regards, Alex On Wed, Apr 13, 2011 at 12:51 PM, Francisco Oliveira fran.mb.olive...@gmail.com wrote: Hi everyone, I'm having a problem very similar to the one Hujumuju had posted. Was it solved? Please let me know. Many thanks in advance and all the best, Francisco Oliveira (Fran) Here's your original post: Hello. I am trying to compile Kannel under Mac OS X 10.6 (Snow Leopard). I have Xcode 3.2 for Mac OS X 10.6 Snow Leopard + MacPorts configure goes fine and i have attached config,log to this message. Anyway, make fails: gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -L/opt/local/lib -o wmlscript/wmlsc wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lresolv -lm -lpthread -lxml2 -lz -lpthread -licucore -lm -L/usr/lib -lcrypto -lssl Undefined symbols: _iconv_close, referenced from: _charset_convert in libgwlib.a(charset.o) _iconv, referenced from: _charset_convert in libgwlib.a(charset.o) _iconv_open, referenced from: _charset_convert in libgwlib.a(charset.o) ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [wmlscript/wmlsc] Error 1 Does anyone have experience with Max OS X? I've compile kannel sucesfully before on 10.5 (Leopard) machine. Thanks for any tips in advance.
Re: Re: Compile problems - any Mac OS X 10.6 users?
Hi, Could also be at compile time iconv is not in the user's library path. In Linux it is defined in /etc/ld.so.conf and in Solaris in LD_LIBRARY_PATH. Not sure what is in Mac. BR, Nikos - Original Message - From: Alejandro Guerrieri To: Francisco Oliveira Cc: us...@vm1.kannel.org Sent: Wednesday, April 13, 2011 4:13 PM Subject: Re: Re: Compile problems - any Mac OS X 10.6 users? There must be some previous complain on configure I guess? This is what I get when compiling on Snow Leopard: checking for iconv... yes checking for working iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); Is the /usr/bin/iconv command available? What about running it with the -l switch? You should get a list of supported charsets. Anyway, check if you have the iconv libraries. Regards, Alex On Wed, Apr 13, 2011 at 12:51 PM, Francisco Oliveira fran.mb.olive...@gmail.com wrote: Hi everyone, I'm having a problem very similar to the one Hujumuju had posted. Was it solved? Please let me know. Many thanks in advance and all the best, Francisco Oliveira (Fran) Here's your original post: Hello. I am trying to compile Kannel under Mac OS X 10.6 (Snow Leopard). I have Xcode 3.2 for Mac OS X 10.6 Snow Leopard + MacPorts configure goes fine and i have attached config,log to this message. Anyway, make fails: gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -L/opt/local/lib -o wmlscript/wmlsc wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lresolv -lm -lpthread -lxml2 -lz -lpthread -licucore -lm -L/usr/lib -lcrypto -lssl Undefined symbols: _iconv_close, referenced from: _charset_convert in libgwlib.a(charset.o) _iconv, referenced from: _charset_convert in libgwlib.a(charset.o) _iconv_open, referenced from: _charset_convert in libgwlib.a(charset.o) ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [wmlscript/wmlsc] Error 1 Does anyone have experience with Max OS X? I've compile kannel sucesfully before on 10.5 (Leopard) machine. Thanks for any tips in advance.
Re: Re: Compile problems - any Mac OS X 10.6 users?
Hi Hujumuju, I'm having a problem very similar to the one you've posted. Were you able to solve it? Please let me know. Many thanks in advance and all the best, Francisco Oliveira (Fran) Here's your original post: Hello. I am trying to compile Kannel under Mac OS X 10.6 (Snow Leopard). I have Xcode 3.2 for Mac OS X 10.6 Snow Leopard + MacPorts configure goes fine and i have attached config,log to this message. Anyway, make fails: gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -DDARWIN=1 -L/Developer/SDKs/MacOSX10.5.sdk/usr/lib -I/Developer/SDKs/MacOSX10.5.sdk/usr/include -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -L/opt/local/lib -o wmlscript/wmlsc wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a libgwlib.a -lssl -lresolv -lm -lpthread -lxml2 -lz -lpthread -licucore -lm -L/usr/lib -lcrypto -lssl Undefined symbols: _iconv_close, referenced from: _charset_convert in libgwlib.a(charset.o) _iconv, referenced from: _charset_convert in libgwlib.a(charset.o) _iconv_open, referenced from: _charset_convert in libgwlib.a(charset.o) ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [wmlscript/wmlsc] Error 1 Does anyone have experience with Max OS X? I've compile kannel sucesfully before on 10.5 (Leopard) machine. Thanks for any tips in advance.