[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext --disable-rpath
From: |
Bruno Haible |
Subject: |
Re: gettext --disable-rpath |
Date: |
Sun, 13 Jun 2010 19:16:22 +0200 |
User-agent: |
KMail/1.9.9 |
Hi,
Jens Petersen wrote:
> In fedora at least the configure option --disable-rpath
> does not seem to work well for gettext
> ...
> The problem being that even with --disable-rpath
> RPATH libdir still appears in various gettext binary files
> ...
> Ok I guess this is related to fedora multilib.
> 32bit x86 build is ok, but for x86_64 I see following
> rpmlint errors from an --disable-rpath build:
>
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/msgexec
> ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/msguniq
> ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/lib64/gettext/urlget
> ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/msgcmp
> ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/msgmerge
> ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/lib64/gettext/hostname
> ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/msgfmt
> ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/msginit
> ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/msgattrib
> ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/msgunfmt
> ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/msgconv
> ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/msgen ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/msgfilter
> ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/recode-sr-latin
> ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/msgcat
> ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/msggrep
> ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/msgcomm
> ['/usr/lib64']
> gettext.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/xgettext
> ['/usr/lib64']
> gettext-libs.x86_64: E: binary-or-shlib-defines-rpath
> /usr/lib64/libgettextsrc-0.18.1.so ['/usr/lib64']
It works for me on openSUSE 11.0 Linux/x86_64.
> I can provide a buildlog too if it helps.
A buildlog that runs mysterious commands that are not available on my machine
would not help. You need to provide "HOW TO REPRODUCE" instructions!
Now, please reproduce with me:
1) Fetch gettext-0.18.1.1.tar.gz from ftp.gnu.org.
2) $ ./configure --prefix=/usr --libdir=/usr/lib64 --disable-rpath
--host=x86_64-pc-linux-gnu
3) Verify there no rpath options in the config.status files:
$ grep '\-rpath' gettext-runtime/config.status gettext-tools/config.status
4) $ make
5) $ make install DESTDIR=/tmp/inst4
6) $ readelf -d /tmp/inst4/usr/bin/msgexec
$ readelf -d /tmp/inst4/usr/bin/xgettext
$ readelf -d /tmp/inst4/usr/lib64/libgettextlib-0.18.1.so
$ readelf -d /tmp/inst4/usr/lib64/libgettextsrc-0.18.1.so
I don't see any tag of type RPATH in there.
Conclusion: Works for me.
Bruno