Linux: how to fix error: ./configure: line 2710: 25372 Segmentation fault


Linux: how to fix error:

./configure: line 2710: 25372 Segmentation fault

First , check memory, you see only 349Mb free:

[root@tutorialspots tesseract-4.1.1]# free -m
              total        used        free      shared  buff/cache   available
Mem:          15631        2531         349         787       12750       11984
Swap:          7935          44        7891

Now, clear ram cache:
Clear RAM cache and swap space on Linux

[root@tutorialspots tesseract-4.1.1]# sync; echo 3 > /proc/sys/vm/drop_caches

Recheck memory, you see only 11951Mb free

[root@tutorialspots tesseract-4.1.1]# free -m
              total        used        free      shared  buff/cache   available
Mem:          15631        2517       11951         787        1161       12044
Swap:          7935          44        7891

Done, now you can run ./configure

Leave a Reply