[asterisk-bugs] [JIRA] (ASTERISK-25726) Asterisk compilation fails: 'redhat-hardened-ld: no such file or directory' - Asterisk on Fedora 23 appears to require redhat-rpm-config

George Joseph (JIRA) noreply at issues.asterisk.org
Tue Feb 16 12:56:32 CST 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=229536#comment-229536 ] 

George Joseph commented on ASTERISK-25726:
------------------------------------------

Actually the issue is with the neon and net-snmp packages.  Their config programs set CFLAGS to require the redhat hardened spec files but their -devel packages don't require redhat-rpm-config.  I'm going to file Fedora bugs on them.


> Asterisk compilation fails: 'redhat-hardened-ld: no such file or directory' - Asterisk on Fedora 23 appears to require redhat-rpm-config
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-25726
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25726
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 11.21.0, 13.7.0
>         Environment: Fedora 23
> 4.2.8-300.fc23.i686 #1 SMP Tue Dec 15 17:30:11 UTC 2015 i686 i686 i386 GNU/Linux
>            Reporter: Rusty Newton
>            Severity: Minor
>
> Ran into this gcc error when compiling Asterisk 11.21.0 on Fedora 23.
> {noformat}
>    [LD] res_calendar_exchange.o -> res_calendar_exchange.so
> gcc: error: /usr/lib/rpm/redhat/redhat-hardened-ld: No such file or directory
> /root/asterisk/asterisk-11.21.0-rc1/asterisk-11.21.0/Makefile.rules:170: recipe for target 'res_calendar_exchange.so' failed
> make[1]: *** [res_calendar_exchange.so] Error 1
> Makefile:394: recipe for target 'res' failed
> make: *** [res] Error 2
> {noformat}
> At first I went back and deselected this module because I didn't need it. However a few other modules ran into the same problem.
> Found that apparently the redhat-rpm-config package is required:
> {noformat}
> [root at 28-21-24-10 asterisk-11.21.0]# dnf provides /usr/lib/rpm/redhat/redhat-hardened-ld
> Last metadata expiration check performed 25 days, 14:39:35 ago on Thu Dec 31 18:38:14 2015.
> redhat-rpm-config-36-1.fc23.noarch : Red Hat specific rpm configuration files
> Repo        : fedora
> {noformat}
> Installing this package allowed the build to succeed. We may need to add this package to our prereqs script.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list