buggrep - Bugs: bug #35518, Correct gettext/iconv linking


You are not allowed to post comments on this tracker with your current authentification level.

bug #35518: Correct gettext/iconv linking

Submitted by:  Brad Smith <brad0>
Submitted on:  Sun Feb 12 21:14:07 2012  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Need Info
Privacy: PublicAssigned to: None
Open/Closed: Open

Wed Feb 29 17:39:19 2012, comment #2:

No response for a while, so I'm marking this bug "Need Info".

Paul Eggert <eggert>
Project Member
Sun Feb 12 22:25:56 2012, comment #1:

I don't see why the patch is needed, or
how the patch can work in general.
Grep doesn't use libtool, and surely LTLIBINTL and
LTLIBICONV aren't reliable in the absence of libtool.

Paul Eggert <eggert>
Project Member
Sun Feb 12 21:14:07 2012, original submission:

The attached patch corrects the automake files to use LTLIBINTL and LTLIBICONV as appropriate. Currently the Makefile's are using LIBINTL and LIBICONV which provide relative paths to the libraries instead of linking with -lfoo as it should be.

cc -std=gnu99 -O2 -pipe -L/usr/local/lib -o egrep egrep.o libgrep.a ../lib/libgreputils.a /usr/local/lib/libintl.so.5.0 /usr/local/lib/libiconv.so.6.0 ../lib/libgreputils.a /usr/local/lib/libiconv.so.6.0

$ objdump -p gegrep
Dynamic Section:
NEEDED /usr/local/lib/libintl.so.5.0
NEEDED /usr/local/lib/libiconv.so.6.0
NEEDED libc.so.62.0

Brad Smith <brad0>


Attached Files
file #25050:  grep.diff added by brad0 (2kB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by eggert (Posted a comment)
  • -unavailable- added by brad0 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Feb 29 17:39:19 2012eggertStatusNone=>Need Info
    Sun Feb 12 21:14:07 2012brad0Attached File-=>Added grep.diff, #25050

    Back to the top

    Powered by Savane 3.1-cleanup1