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" <[email protected]>
To: "Francisco Oliveira" <[email protected]>
Cc: "Alejandro Guerrieri" <[email protected]>; <[email protected]>
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" <[email protected]>
To: "Nikos Balkanas" <[email protected]>
Cc: "Alejandro Guerrieri" <[email protected]>; <[email protected]>
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: [email protected]
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 <[email protected]> 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.



Reply via email to