[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:28:33 CST 2016
Rusty Newton created ASTERISK-25726:
---------------------------------------
Summary: 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
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}
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