bugattr - Bugs: bug #65159, Link error: missing libintl

 
 

bug #65159: Link error: missing libintl

Submitter:  Thomas Klausner <tk>
Submitted:  Sat 13 Jan 2024 07:24:44 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 14 Jan 2024 03:08:11 PM UTC, comment #5: 

Great, thank you!

Thomas Klausner <tk>
Sun 14 Jan 2024 02:57:33 PM UTC, comment #4: 

it's already been released

Mike Frysinger <vapier>
Group Member
Sun 14 Jan 2024 08:34:41 AM UTC, comment #3: 

Yes, this commit fixed the problem. Thanks.

Time for a new release? :)

Thomas Klausner <tk>
Sun 14 Jan 2024 03:03:47 AM UTC, comment #2: 
Mike Frysinger <vapier>
Group Member
Sun 14 Jan 2024 01:01:36 AM UTC, comment #1: 

please post patches to the mailing list for review

Mike Frysinger <vapier>
Group Member
Sat 13 Jan 2024 07:24:44 PM UTC, original submission:  

After https://savannah.nongnu.org/bugs/?63920 was fixed, I see a new problem:

gmake[1]: Entering directory '/scratch/wip/attr/work/attr-2.5.1'
  CCLD     attr
  CCLD     getfattr
  CCLD     setfattr
ldld: : tools/attr.o: in function `usage':
/scratch/wip/attr/work/attr-2.5.1/tools/attr.c:49: undefined reference to `gettext'
ld: tools/attr.o: in function `main':
/scratch/wip/attr/work/attr-2.5.1/tools/attr.c:74: undefined reference to `bindtextdomain'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/attr.c:75: undefined reference to `textdomain'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/attr.c:185: undefined reference to `gettext'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/attr.c:249: undefined reference to `gettext'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/attr.c:208: undefined reference to `gettext'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/attr.c:141: undefined reference to `gettext'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/attr.c:96: undefined reference to `gettext'
ld: tools/attr.o:/scratch/wip/attr/work/attr-2.5.1/tools/attr.c:203: more undefined references to `gettext' follow
tools/setfattr.o: in function `help':
/scratch/wip/attr/work/attr-2.5.1/tools/setfattr.c:180: undefined reference to `gettext'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/setfattr.c:181: undefined reference to `gettext'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/setfattr.c:182: undefined reference to `gettext'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/setfattr.c:183: undefined reference to `gettext'
ld: tools/setfattr.o: in function `restore':
/scratch/wip/attr/work/attr-2.5.1/tools/setfattr.c:129: undefined reference to `gettext'
ld: tools/setfattr.o:/scratch/wip/attr/work/attr-2.5.1/tools/setfattr.c:133: more undefined references to `gettext' follow
ld: tools/setfattr.o: in function `main':
/scratch/wip/attr/work/attr-2.5.1/tools/setfattr.c:202: undefined reference to `bindtextdomain'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/setfattr.c:203: undefined reference to `textdomain'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/setfattr.c:264: undefined reference to `gettext'
gmake[1]: * [Makefile:940: attr] Error 1
gmake[1]: * Waiting for unfinished jobs....
gmake[1]: * [Makefile:952: setfattr] Error 1
ld: tools/getfattr.o: in function `print_attribute':
/scratch/wip/attr/work/attr-2.5.1/tools/getfattr.c:265: undefined reference to `gettext'
ld: tools/getfattr.o: in function `help':
/scratch/wip/attr/work/attr-2.5.1/tools/getfattr.c:383: undefined reference to `gettext'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/getfattr.c:385: undefined reference to `gettext'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/getfattr.c:385: undefined reference to `gettext'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/getfattr.c:387: undefined reference to `gettext'
ld: tools/getfattr.o: in function `main':
/scratch/wip/attr/work/attr-2.5.1/tools/getfattr.c:411: undefined reference to `bindtextdomain'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/getfattr.c:412: undefined reference to `textdomain'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/getfattr.c:503: undefined reference to `gettext'
ld: /scratch/wip/attr/work/attr-2.5.1/tools/getfattr.c:489: undefined reference to `gettext'
gmake[1]: * [Makefile:946: getfattr] Error 1
gmake[1]: Leaving directory '/scratch/wip/attr/work/attr-2.5.1'
gmake: * [Makefile:1240: all-recursive] Error 1
* Error code 2


These symbols are provided by /usr/lib/libintl.so, and configure already checks for a gettext library, but the tools are not linked against it.

The attached patch fixes the problem.

Thomas Klausner <tk>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #55562:  patch-tools_Makemodule.am added by tk (567B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vapier (Posted a comment)
  • -email is unavailable- added by tk (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-14 vapier StatusNone Fixed
        Open/ClosedOpen Closed
    2024-01-13 tk Attached File- Added patch-tools_Makemodule.am, #55562

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code