helpGNU Libtool - Support: sr #106790, Version 2.2.6 shaded native option...


sr #106790: Version 2.2.6 shaded native option -shared of ld

Submitter:  None
Submitted:  Wed 27 May 2009 09:38:18 AM UTC
Category:  None Priority:  5 - Normal
Severity:  4 - Important Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Fri 12 Jun 2009 05:57:54 AM UTC, comment #4: 

You can use
  foo_la_LIBTOOLFLAGS = --tags=disable-static

Ralf Wildenhues <rwild>
Project Member
Thu 11 Jun 2009 06:52:44 AM UTC, comment #3: 

Thanks for explanation.
And one question left.
Can I disable static libraries building only for modules, without --disable-static global using?

Sat 06 Jun 2009 07:15:54 AM UTC, comment #2: 

Modules are generally built with something like
  foo_la_LDFLAGS = -module -avoid-version

Passing -shared has never been the intended use for libtool,
as that flag is GCC-specific and will not work with other
compilers.  Using is pretty ELF centric (which is better
than no portability at all of course, but not as much as libtool
would allow for).

Other than that, you can bypass compiler driver flags by the
libtool script with either -Wc,FLAG or -Xcompiler FLAG.

Hope that helps.


Ralf Wildenhues <rwild>
Project Member
Thu 28 May 2009 05:50:49 AM UTC, comment #1: 

Sorry, not applets. Plugins build.

Wed 27 May 2009 09:38:18 AM UTC, original submission:  

Project's which build many applets (shared modules) not builded simply without -shared option to ld.
Into version 1.5 used strings for applets build:

oscd_modul_PROGRAMS =
AM_LDFLAGS= -shared -module

But into 2.2.6 it not work by appear self libtool option -shared.

Standard libraries build mechanism too difficult for build simple applets and for company build static library.

How build applets with libtool 2.2.6?



(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 rwild (Posted a comment)
  • -email is unavailable- added by None (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.





    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-06-06 rwild Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.9