Re: Kannel on AIX - is it necessary to explicitly link against wtc8/wtc9?
Alexander Malysh <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
even recent CVS version doesn't work for OSX because .so is hardcoded.
Please try this patch that fixed this issue for me:
http://dev.kannel.org/~amalysh/configure.diff
Thanks,
Alex
P.S. @Stipe, could you please increase message limit this is annoying?
Your mail to 'devel' with the subject
Re: Kannel on AIX - is it necessary to explicitly link against
wtc8/wtc9?
Is being held until the list moderator can review it for approval.
The reason it is being held:
Message body is too big: 640506 bytes with a limit of 40 KB
Stipe Tolj schrieb:
> Bostock James schrieb:
>>
>> My question is whether it is necessary to explicitly check for libwtc8
>> or libwtc9 (note that there is no corresponding library for Oracle 10)?
>> Is it not sufficient to link against libclntsh?
>
> we have a more recent version of configure.in's oracle detection logic
> in CVS HEAD branch:
>
> [...]
> dnl Check for Oracle 10g instant client
> if test -f "$ORACLE_LIB_PATH/libnnz10.so" && \
> test -f "$ORACLE_LIB_PATH/libclntsh.so.10.1"; then
> LIBS="$LIBS -lnnz10"
> AC_CHECK_LIB(clntsh,OCIEnvCreate,[ LIBS="$LIBS -lclntsh
> -lnnz10" ],exit)
> else
> AC_CHECK_LIB(clntsh,OCIEnvCreate,[ LIBS="$LIBS -lclntsh" ],exit)
> fi
>
> dnl Beware that Oracle 10g doesn't use anymore the libwtcX.so libs,
> dnl so we don't break hard in case they are not present.
> if test -f "$ORACLE_HOME/lib/libwtc8.so"; then
> AC_CHECK_LIB(wtc8,wtcstu,[ LIBS="$LIBS -lwtc8"
> ],AC_MSG_ERROR([Oracle libwtc8.so not found]))
> fi
> if test -f "$ORACLE_HOME/lib/libwtc9.so"; then
> AC_CHECK_LIB(wtc9,wtcstu,[ LIBS="$LIBS -lwtc9"
> ],AC_MSG_ERROR([Oracle libwtc9.so not found]))
> fi
> [...]
>
> which only tries to run the AC_CECK_LIB() macros if the library files
> are really present.
>
> Can you please checkout a CVS working copy, since this is way more
> recent then 1.4.1 stable.
>
> Stipe
>
> -------------------------------------------------------------------
> Kölner Landstrasse 419
> 40589 Düsseldorf, NRW, Germany
>
> tolj.org system architecture Kannel Software Foundation (KSF)
> http://www.tolj.org/ http://www.kannel.org/
>
> mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
> -------------------------------------------------------------------
>
>