While running a shallow parser for Malayalam in ubuntu 16.04 64-bit machine I found the following error.
---------------------------------------------------------------------------------------------------------------------------------------------------------
ajusha@ajusha:~/shallow-parser-mal-3.0.fc8$ shallow_parser_mal INPFILE OUTFILE
/home/ajusha/sampark/shallow_parser_mal/bin/sl/morph/mal/morph.out: error while loading shared libraries: libgdbm.so.2: cannot open shared object file: No such file or directory
Can't open morphoutput3549: No such file or directory at /home/ajusha/sampark/shallow_parser_mal/bin/sys/common/printinput.pl line 4.
rm: cannot remove 'morphoutput3549': No such file or directory
/home/ajusha/sampark/shallow_parser_mal/bin/sl/postagger/common/hmm_run: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Can't open posout3554: No such file or directory at /home/ajusha/sampark/shallow_parser_mal/bin/sys/common/addsentencetag.pl line 4.
/home/ajusha/sampark/shallow_parser_mal/bin/sl/chunker/common/hmm_run: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Can't open chunkout3559: No such file or directory at /home/ajusha/sampark/shallow_parser_mal/bin/sl/chunker/common/bio2ssf.pl line 73.
Type of arg 1 to dbmclose must be hash (not constant item) at /home/ajusha/sampark/shallow_parser_mal/bin/sl/pruning//src/prune_on_pos.pl line 179, near "mapping)"
Compilation failed in require at /home/ajusha/sampark/shallow_parser_mal/bin/sl/pruning/pruning.pl line 40.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
and output of
ajusha@ajusha:~$ ldd sampark/shallow_parser_mal/bin/sl/morph/mal/morph.out
linux-gate.so.1 => (0xf7f7f000)
libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xf7e28000)
libgdbm.so.2 => not found
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7c71000)
libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xf7bfc000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7bde000)
/lib/ld-linux.so.2 (0xf7f81000)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Please suggest a solution
Regards