Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

make: /usr/bin/mkdir: Command not found during `gem install nokogiri` in Ubuntu 20.04 [closed]

I already installed all neccessary libraries it couldn't found (libxslt-dev, libxml2-dev), specified -- --with-xml2-include=/usr/include/libxml2 --use-system-libraries, but it still fails with

make "DESTDIR=" install
make: /usr/bin/mkdir: Command not found
make: *** [Makefile:202: .sitearchdir.-.nokogiri.time] Error 127
like image 633
dem1tris Avatar asked Nov 02 '20 20:11

dem1tris


1 Answers

sudo ln -s /bin/mkdir /usr/bin/mkdir

like image 183
dem1tris Avatar answered Nov 19 '22 11:11

dem1tris