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

Submitter:  Bob Atkins <bobatkins>
Submitted:  Sun 18 Nov 2007 07:57:47 PM UTC
   
 
Category:  Build Severity:  4 - Important
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  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>
Group administrator
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>

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-04 haible StatusFixed Fix Released
    2016-11-26 haible CategoryNone Build
    2007-12-26 haible Severity3 - Normal 4 - Important
        StatusNone Fixed
        Assigned toNone haible
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code