bugGNU gettext - Bugs: bug #21604, -lsec library required for...

 
 

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

bug #21604: -lsec library required for acl_trivial function not specified for Solaris build

Submitted by:  Bob Atkins <bobatkins>
Submitted on:  Sun 18 Nov 2007 07:57:47 PM UTC  
 
Category: BuildSeverity: 4 - Important
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bruno Haible <haible>
Open/Closed: Closed

Sun 14 Dec 2008 11:08:40 AM UTC, comment #5:

compiled fine on solaris 10 x86 without editing the Makefiles.

The LDFLAGS parameter can be passed to the configure script.
LDGLAGS=" -lsec" ./configure && make all

Atif Ghaffar <atifghaffar>
Fri 25 Apr 2008 07:58:47 PM UTC, comment #4:

And add that same flag to gettext-0.17/gettext-tools/tests/Makefile

Anonymous
Fri 25 Apr 2008 07:52:52 PM UTC, comment #3:

Yes this is still not fixed for solaris 10 intel arch.

My fix was this- go to gettext-0.17/gettext-tools/src and edit the line of the Makefile to say
LDFLAGS = -lsec

There may be other flags on the LDFLAGS line, if so just add the -lsec to the end.

Anonymous
Wed 05 Mar 2008 11:53:53 AM UTC, comment #2:

Hi. I'm using solaris 10 x86. Got the same error. But maybe there is any flag i could set to include "-lsec" library?

Anonymous
Wed 26 Dec 2007 04:14:37 PM UTC, comment #1:

Thank you for reporting this.
The problem has been fixed by Paul Eggert and Jim Meyering, see
http://lists.gnu.org/archive/html/bug-gnulib/2007-12/msg00014.html
http://lists.gnu.org/archive/html/bug-gnulib/2007-12/msg00038.html

The fix will be included in the next gettext release.

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Sun 18 Nov 2007 07:57:47 PM UTC, original submission:

When building v0.17 on Solaris 10 sparc using gcc 4.1.1 a link failure occurs that shows:

gcc -std=gnu99 -fPIC -O2 -m64 -mcpu=ultrasparc -I/opt/include -m64 -o .libs/msgcmp msgcmp-msgcmp.o -L/opt/lib/sparcv9 ./.libs/libgettextsrc.so /home/bob/src/gnu/gettext/gettext-0.17_64bit/gettext-tools/gnulib-lib/.libs/libgettextlib.so -lncurses /home/bob/src/gnu/gettext/gettext-0.17_64bit/gettext-tools/intl/.libs/libintl.so -lc -R/opt/lib/sparcv9
Undefined first referenced
symbol in file
acl_trivial /home/bob/src/gnu/gettext/gettext-0.17_64bit/gettext-tools/gnulib-lib/.libs/libgettextlib.so
ld: fatal: Symbol referencing errors. No output written to .libs/msgcmp

configure is not including the necessary -lsec library in the linker options for this function.

Confirmed successful build when -lsec was included in 'LIBS' variable to configure.

Bob Atkins <bobatkins>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by atifghaffar (Posted a comment)
  • -unavailable- added by haible (Posted a comment)
  • -unavailable- added by bobatkins (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 26 Nov 2016 11:51:02 PM UTChaibleCategoryNone=>Build
    Wed 26 Dec 2007 04:14:37 PM UTChaibleSeverity3 - Normal=>4 - Important
      StatusNone=>Fixed
      Assigned toNone=>haible
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1