[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with gettext and libtool
From: |
Bruno Haible |
Subject: |
Re: problem with gettext and libtool |
Date: |
Wed, 8 Jan 2003 14:07:30 +0100 (CET) |
On Saturday 21 December 2002 00:00, Warren L Dodge wrote:
> I configured gettext with this command
>
> ../gettext-0.11.5/configure --prefix=/proj/wdt/gettext-0.11.5
> --with-libiconv-prefix=/proj/wdt/sun5.8
>
> In /proj/wdt/sun5.8/lib I have a links pointing to the libiconv libraries
>
> /proj/wdt/sun5.8/lib/libiconv.la ->
> /proj/wdt/gnu_sun5.8/libiconv/lib/libiconv.la
> /proj/wdt/sun5.8/lib/libiconv.so ->
> /proj/wdt/gnu_sun5.8/libiconv/lib/libiconv.so*
> /proj/wdt/sun5.8/lib/libiconv.so.2 ->
> /proj/wdt/gnu_sun5.8/libiconv/lib/libiconv.so.2*
> /proj/wdt/sun5.8/lib/libiconv.so.2.0.3 ->
> /proj/wdt/gnu_sun5.8/libiconv/lib/libiconv.so.2.0.3
> /proj/wdt/sun5.8/lib/libiconv.so.2.1.0 ->
> /proj/wdt/gnu_sun5.8/libiconv/lib/libiconv.so.2.1.0*
> /proj/wdt/sun5.8/lib/libiconv_plug.so ->
> /proj/wdt/gnu_sun5.8/libiconv/lib/libiconv_plug.so
>
> Now in /proj/wdt/gnu_sun5.8 the libinconv is actually a link also
>
> libiconv -> libiconv-1.8/
> libiconv-1.8/
>
>
> So the problem comes when libtool run. Somewhere in the configure step
> and the gmake step there is a difference in the way that the pointer
> to the libiconv libraries is handled.
>
> Here is what the make says
>
> /bin/sh ../libtool --mode=install /proj/wdt/sun5.8/bin/ginstall -c
> libgettextsrc.la /proj/wdt/gnu_sun5.8/gettext-0.11.5/lib/libgettextsrc.la
> libtool: install: warning: relinking `libgettextsrc.la'
> cd /proj/wdtold/warrend/gnusrc/gettext-0.11.5/gettext-0.11.5_sun5.8/src;
> /bin/sh ../libtool --mode=relink gcc -g -O2 -o libgettextsrc.la -rpath
> /proj/wdt/gnu_sun5.8/gettext-0.11.5/lib -release 0.11.5 ../lib/
> ibgettextlib.la ../intl/libintl.la -L/proj/wdt/sun5.8/lib -liconv
> -R/proj/wdt/sun5.8/lib -L/proj/wdt/sun5.8/lib -liconv -R/proj/wdt/sun5.8/lib
> -lc -no-undefined message.lo po.lo po-lex.lo po-gram-gen.lo po-h
> sh-gen.lo po-charset.lo open-po.lo dir-list.lo str-list.lo read-po.lo
> write-po.lo msgl-ascii.lo msgl-iconv.lo msgl-equal.lo msgl-cat.lo
> msgl-english.lo file-list.lo msgl-charset.lo po-time.lo plural.lo plura
> -table.lo format.lo format-c.lo format-python.lo format-lisp.lo
> format-elisp.lo format-librep.lo format-java.lo format-awk.lo
> format-pascal.lo format-ycp.lo format-tcl.lo
> libtool: link: warning: `/proj/wdt/sun5.8/lib/libiconv.la' seems to be moved
> libtool: link: warning: `/proj/wdt/sun5.8/lib/libiconv.la' seems to be moved
>
> I put echos in the libtool at this error message
>
>
> /proj/wdt/sun5.8/lib/libiconv.la
> /proj/wdt/gnu_sun5.8/libiconv-1.8/libiconv.la
>
> are the two things it fails on. But via the links they really are the
> same.
When I look inside libtool's ltmain.sh I see that this "seems to be moved"
message is actually without consequences. So it doesn't fail; it just warns.
> I really want it to stick to the /proj/wdt/sun5.8 without going
> through link so I can install a newer version and just change one
> link.
Either you patch libtool's ltmain.sh by changing
path="-L$absdir"
to
path="-L$libdir"
or, when you install a newer version of libiconv, you replace the libiconv-1.8
directory:
rm -rf /proj/wdt/gnu_sun5.8/libiconv-1.8
ln -s libiconv /proj/wdt/gnu_sun5.8/libiconv-1.8
These are the two easiest solutions that I can see.
Bruno
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: problem with gettext and libtool,
Bruno Haible <=