Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580712 - www-servers/apache[httpd2] needs net-libs/nghttp2
Summary: www-servers/apache[httpd2] needs net-libs/nghttp2
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-21 10:22 UTC by devnull
Modified: 2018-01-29 19:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description devnull 2016-04-21 10:22:02 UTC
Build apache-2.4 with http2 support, restart apache:


 * Caching service dependencies                                                                                                                                   [ ok ]
 * apache2 has detected an error in your setup:
/usr/sbin/apache2: error while loading shared libraries: libnghttp2.so.14: cannot open shared object file: No such file or directory
 * ERROR: apache2 failed to stop

Reproducible: Always

Steps to Reproduce:
1. compile apache-2.4* with http2 support
Comment 1 devnull 2016-04-21 10:22:57 UTC
net-libs/nghttp2 need to be added as dependency
Comment 2 Pacho Ramos gentoo-dev 2017-11-09 11:26:18 UTC
It already does in apache-2.eclass:
RDEPEND+=" ${DEPEND}
        selinux? ( sec-policy/selinux-apache )"


Also the dep is appended in ebuild when http2 USE is enabled, are you still hitting this with latest versions?
Comment 3 SpanKY gentoo-dev 2018-01-29 19:54:37 UTC
apache couldn't have been built & linked against libnghttp2.so unless you had it installed.  so it sounds like an error on your side.

please re-open with more details.