Note that on most RedHat distros, iconv support is done at the os level without the need of libiconv (not sure where in the world the iconv functions are, but it's not on the libiconv). Perhaps you should try _removing_ the libiconv package (it's not from RedHat packages right?) and try again.
Regards, Alejandro On Wed, Jul 15, 2009 at 3:26 PM, Alvaro Cornejo <[email protected]>wrote: > Hi Nikos > > Thanks for the input. I'll try it later . > > Regards > > Alvaro > > |-----------------------------------------------------------------------------------------------------------------| > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via > SMS y GPRS online > Visitenos en www.perusms.NET www.smsglobal.com.mx y > www.pravcom.com > > > > 2009/7/15 Nikos Balkanas <[email protected]>: > > Hi Al, > > > > You already have done a lot of work, but you should not follow your last > > suggestion. There is no need to install libiconv to a non-standard > > directory. > > > > Assuming that your libiconv is still under ./usr.local/lib in the > > non-working box. > > > > 1) Go to working box and type: > > > > ldd $(which bearerbox) > > > > This should tell you where bb finds its iconv. > > > > 2) Go to non-working box and add /usr/local/lib to /etc/ld.so.conf. Run > > ldconfig. > > In the same shell or a new shell (no other old shell) configure kannel. > > > > Bear in mind that it is entirely possible (but not recommended) to > configure > > kannel without iconv. > > > > BR, > > Nikos > > > > ----- Original Message ----- From: "Alvaro Cornejo" > > <[email protected]> > > To: "users" <[email protected]> > > Sent: Wednesday, July 15, 2009 8:03 AM > > Subject: Re: Kannel not starting. Libiconv error > > > > > > Some extra info: > > > > I've downloaded libiconv-1.12 then ./configure , make and make install > > but still have the same error > > > > During make install I get the following note: > > > > ---------------------------------------------------------------------- > > Libraries have been installed in: > > /usr/local/lib > > > > If you ever happen to want to link against installed libraries > > in a given directory, LIBDIR, you must either use libtool, and > > specify the full pathname of the library, or use the `-LLIBDIR' > > flag during linking and do at least one of the following: > > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > > during execution > > - add LIBDIR to the `LD_RUN_PATH' environment variable > > during linking > > - use the `-Wl,--rpath -Wl,LIBDIR' linker flag > > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > > > > See any operating system documentation about shared libraries for > > more information, such as the ld(1) and ld.so(8) manual pages. > > ---------------------------------------------------------------------- > > > > How can I use that info for compiling kannel?? > > > > and when ./configure kannel I still get: > > > > checking if the linker (/usr/bin/ld) is GNU ld... yes > > checking for shared library run path origin... done > > checking for 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); > > checking for gettimeofday... yes > > checking for select... yes > > checking for socket... yes > > > > > > > > In the other hand, If I install kannel with yum (v 1.4.1) It works > > with no problems. > > > > Any idea?? > > > > Regards > > > > Alvaro > > > > > > > > > > > > > |-----------------------------------------------------------------------------------------------------------------| > > Envνe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > > celular y Nextel > > en el Perϊ, Mιxico y en mas de 180 paises. Use aplicaciones 2 vias via > > SMS y GPRS online > > Visitenos en www.perusms.NET www.smsglobal.com.mx y > > www.pravcom.com > > > > > > > > On Tue, Jul 14, 2009 at 10:04 PM, Alvaro > > Cornejo<[email protected]> wrote: > >> > >> Following some work, I've unistalled the libraries and now I get: > >> > >> ... > >> checking if the linker (/usr/bin/ld) is GNU ld... yes > >> checking for shared library run path origin... done > >> checking for iconv... no, consider installing GNU libiconv > >> checking for gettimeofday... yes > >> checking for select... yes > >> checking for socket... yes > >> ... > >> > >> on the machine where kannel is not working... > >> > >> I'll try to look for the gnu libiconv package... > >> > >> Regards > >> > >> > >> > >> > |-----------------------------------------------------------------------------------------------------------------| > >> Envνe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > >> celular y Nextel > >> en el Perϊ, Mιxico y en mas de 180 paises. Use aplicaciones 2 vias via > >> SMS y GPRS online > >> Visitenos en www.perusms.NET www.smsglobal.com.mx y > >> www.pravcom.com > >> > >> > >> > >> On Tue, Jul 14, 2009 at 9:42 PM, Alvaro Cornejo< > [email protected]> > >> wrote: > >>> > >>> Hi All > >>> > >>> I'm cloning a kannel instalation using latest cvs between 2 machines > >>> with fedora 10. In one it works well and the other gaves me the error: > >>> > >>> [u...@server1 gateway]# /usr/local/sbin/bearerbox -v 0 > >>> /etc/kannel/kannel.conf > >>> /usr/local/sbin/bearerbox: error while loading shared libraries: > >>> libiconv.so.2: cannot open shared object file: No such file or > >>> directory > >>> [u...@server1 gateway]# > >>> > >>> > >>> > >>> I get this when running ./configure in the NON working kannel: > >>> ... > >>> checking if the linker (/usr/bin/ld) is GNU ld... yes > >>> checking for shared library run path origin... done > >>> checking for iconv... yes > >>> checking how to link with libiconv... -liconv <<<<<< EXTRA LINE > >>> not in the working box > >>> checking for iconv declaration... > >>> extern size_t iconv (iconv_t cd, char * *inbuf, size_t > >>> *inbytesleft, char * *outbuf, size_t *outbytesleft); > >>> checking for gettimeofday... yes > >>> checking for select... yes > >>> checking for socket... yes > >>> ... > >>> > >>> > >>> And this is the ./configure result of the machine where kannel runs OK > >>> ... > >>> checking if the linker (/usr/bin/ld) is GNU ld... yes > >>> checking for shared library run path origin... done > >>> checking for iconv... yes > >>> checking for iconv declaration... > >>> extern size_t iconv (iconv_t cd, char * *inbuf, size_t > >>> *inbytesleft, char * *outbuf, size_t *outbytesleft); > >>> checking for gettimeofday... yes > >>> checking for select... yes > >>> checking for socket... yes > >>> ... > >>> > >>> > >>> What is more extrange is that in the working kannel box I have NO > >>> libiconv.so.2 and in the NON working kannel I do have the refered > >>> library.... > >>> > >>> WORKNIG BOX > >>> [u...@server gateway]# locate libiconv.so > >>> [u...@server gateway]# > >>> > >>> NON WORKING BOX: > >>> [r...@server1 gateway]# locate libiconv.so > >>> /downloads/mbuni/libiconv-1.13/lib/.libs/libiconv.so > >>> /downloads/mbuni/libiconv-1.13/lib/.libs/libiconv.so.2 > >>> /downloads/mbuni/libiconv-1.13/lib/.libs/libiconv.so.2.5.0 > >>> /downloads/mbuni/libiconv-1.13/preload/preloadable_libiconv.so > >>> /downloads/mbuni/libiconv-1.13/preload/.libs/libiconv.so > >>> /downloads/mbuni/libiconv-1.13/preload/.libs/libiconv.so.0 > >>> /downloads/mbuni/libiconv-1.13/preload/.libs/libiconv.so.0.0.0 > >>> /home/prvadmin/Download/libiconv-1.12/lib/preloadable_libiconv.so > >>> /home/prvadmin/Download/libiconv-1.12/lib/.libs/libiconv.so > >>> /home/prvadmin/Download/libiconv-1.12/lib/.libs/libiconv.so.2 > >>> /home/prvadmin/Download/libiconv-1.12/lib/.libs/libiconv.so.2.4.0 > >>> /usr/local/lib/libiconv.so > >>> /usr/local/lib/libiconv.so.2 > >>> /usr/local/lib/libiconv.so.2.4.0 > >>> /usr/local/lib/libiconv.so.2.5.0 > >>> /usr/local/lib/preloadable_libiconv.so > >>> /usr/local/src/paquetes/libiconv-1.12/lib/preloadable_libiconv.so > >>> /usr/local/src/paquetes/libiconv-1.12/lib/.libs/libiconv.so > >>> /usr/local/src/paquetes/libiconv-1.12/lib/.libs/libiconv.so.2 > >>> /usr/local/src/paquetes/libiconv-1.12/lib/.libs/libiconv.so.2.4.0 > >>> [r...@server1 gateway]# > >>> > >>> > >>> Any ideas? How can I unistall libiconv lib? > >>> > >>> Regards > >>> > >>> Alvaro > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > |-----------------------------------------------------------------------------------------------------------------| > >>> Envνe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > >>> celular y Nextel > >>> en el Perϊ, Mιxico y en mas de 180 paises. Use aplicaciones 2 vias via > >>> SMS y GPRS online > >>> Visitenos en www.perusms.NET www.smsglobal.com.mx y > >>> www.pravcom.com > >>> > >> > > > > > >
