helpDatabase-driven manual pager suite - Support: sr #108664, '-z defs' kills shared library...


sr #108664: '-z defs' kills shared library build

Submitted by:  None
Submitted on:  Sat 11 Oct 2014 10:50:35 PM UTC  
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  Colin Watson <cjwatson>
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 22 Jun 2020 08:05:24 PM UTC, comment #1: 

This should be fixed as of and (I know the latter includes a specific fix for Darwin, but it should help with this too).

The first version including both these fixes is 2.8.7, released on 2019-08-26.  Let me know if a current version still doesn't work.

Colin Watson <cjwatson>
Project AdministratorIn charge of this item.
Sat 11 Oct 2014 10:50:35 PM UTC, original submission:  

Solaris  8
Studio 11 compiler suite
Solaris linker

The 'configure' script adds "no_undefined_flag=' -z defs'" to 'libtool'  which kills the generation of the shared library when the linker cannot find the symbol 'program_name'.  Unfortunately, gnulib/lib/error.c' references "program_name" which is not defined until the link edit phase of the various executables.  I tried '-z text' but that failed with the undefined symbol 'xt'.



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

Attach Files:

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 cjwatson (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

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

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-06-22 cjwatson StatusNone => Done
        Assigned toNone => cjwatson
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.5