zoglauer/megalib

Too many open files during root installation.

Closed this issue · 0 comments

Running the installation failed with the error:

error: unable to open output file './allDict_rdict.pch': 'Too many open
files'
Error in <WriteAST>: Couldn't open output stream to './allDict_rdict.pch'!

I was able to increase the allowable number of open files by running:

sudo sh -c "ulimit -n 65535 && exec su $LOGNAME"

This must be done in the same terminal that you are using to install MEGAlib.