Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while compiling in Debian 8 #12

Closed
angristan opened this issue Jan 28, 2016 · 4 comments
Closed

Error while compiling in Debian 8 #12

angristan opened this issue Jan 28, 2016 · 4 comments

Comments

@angristan
Copy link

Hello,

I am using deb-src from the Nginx mainline repo. (nginx is compiling correctly)
I installed libbrotli, but when doing dpkg-buldpackage -b, i get this :

make[1]: Entering directory '/opt/nginx/1.9.10/nginx-1.9.10'
dh_strip --dbg-package=nginx-dbg
make[1]: Leaving directory '/opt/nginx/1.9.10/nginx-1.9.10'
   dh_makeshlibs
   dh_shlibdeps
dpkg-shlibdeps: erreur: pas d'information de dépendance trouvée pour /usr/local/lib/libbrotlienc.so.1 (utilisé par debian/nginx/usr/sbin/nginx)
Indication: vérifiez que la bibliothèque provienne bien d'un paquet.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/nginx.substvars debian/nginx/usr/sbin/nginx-debug debian/nginx/usr/sbin/nginx returned exit code 2
debian/rules:11: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: erreur: debian/rules binary a produit une erreur de sortie de type 2
@PiotrSikora
Copy link
Contributor

I'm afraid that you're reporting this in a wrong place (and with a wrong title).

While there is clearly an issue with how libbrotli dependency is handled in the script you're using to build nginx binary, it's an issue with that script and not with ngx_brotli module... I'm afraid that I'm not in a position to help you with it.

@angristan
Copy link
Author

The README says :

Installation

$ cd nginx-1.x.x
$ ./configure --add-module=/path/to/ngx_brotli
$ make && make install

That's exactly what I am doing

@PiotrSikora
Copy link
Contributor

That's not at all what you've pasted in your original post. Neither of those commands calls dpkg-buldpackage or dh_shlibdeps.

@lGuillaume124
Copy link

Hi @angristan

Under Debian you can add this in nginx-1.9.10/debian/rules:

override_dh_shlibdeps:                                                          
    dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants