Menu

#4 aj-snapshot-0.9.6 fail on Gentoo with -Wl,--as-needed

v0.9.9
closed-fixed
nobody
None
5
2018-03-22
2013-04-01
No

aj-snashot begun to fail to compile on my Gentoo Linux ~amd64 system:

emerge aj-snapshot
...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --libdir=/usr/lib64
...
checking mxml.h usability... yes
checking mxml.h presence... yes
checking for mxml.h... yes
checking for main in -lasound... yes
checking for main in -ljack... yes
checking for mxmlLoadFile in -lmxml... no
configure: error: mxml library (mxml) is required

If I go in the source directory and issue exactly the same configure command, or just ./configure, it just work and I can compile the software.

On Gentoo, the default LDFLAGS are "-Wl,-O1 -Wl,--as-needed" and emerge use them. If "-Wl,--as-needed" is filtered out, emerge work fine. I made a modified ebuild for the pro-audio Gentoo overlay, but it would be better if this issue can be fixed into the source.

http://proaudio.tuxfamily.org/wiki/index.php?title=Main_Page

Vest,
Dominique

Discussion

  • Dominique Michel

    failed configure log

     
  • lieven

    lieven - 2013-05-24

    I'm aware of this issue, because I have the same problem on Arch Linux.
    But I haven't found an sollution yet...

     
  • David Runge

    David Runge - 2018-02-06

    Still no fix for this?
    Anyways... now in Arch [community]!

     
  • lieven

    lieven - 2018-02-24
    • status: open --> closed-fixed
    • Group: --> v1.0 (example)
     

Anonymous
Anonymous

Add attachments
Cancel