[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
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Tue Jan 26 09:30:32 CST 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-25726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rusty Newton updated ASTERISK-25726:
------------------------------------
Affects Version/s: 11.21.0
13.7.0
> 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
> 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