Devilbox: libz-dev or zlib1g-dev is required for "gem install nokogiri" if nokogiri is a dependance

Created on 17 May 2019  路  1Comment  路  Source: cytopia/devilbox

ISSUE TYPE

  • Feature request

SUMMARY


The following error during installation

"gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 -fdebug-prefix-map=/build/ruby2.3-TqM27i/ruby2.3-2.3.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC  -g -DXP_UNIX -Wall -Wcast-qual -Wwrite-strings -Wmissing-noreturn -Winline conftest.c  -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic     -lruby-2.3 -lz  -lpthread -lgmp -ldl -lcrypt -lm   -lc "
conftest.c:3:18: fatal error: zlib.h: No such file or directory
 #include <zlib.h>
                  ^
compilation terminated.
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <zlib.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     printf("%p", &t);
11:   }
12: 
13:   return 0;
14: }
15: extern void gzdopen();
16: int t(void) { gzdopen(); return 0; }
/* end */

Goal


Support ruby with essential libs.

feature

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mwmichael picture mwmichael  路  3Comments

drupalshift picture drupalshift  路  5Comments

lostncg picture lostncg  路  3Comments

taliptako picture taliptako  路  4Comments

normance picture normance  路  4Comments