How to fix "file not recognized" during emerge

Today I was updating my machine when there was a power cut. Following restoration of the power Firefox and Thunderbird would not compile, with the following error:

/usr/lib64/libhunspell-1.3.so: file not recognized: File format not recognized

Browsing Google and the Gentoo forums it seemed likely that a file had become corrupted. Most material pointed towards the ccache, which (I think) you’d clear as follows:

ccache -c

I don’t actually have ccache installed though, so it wasn’t that.

Next, I figured that removing /var/tmp/portage may help:

rm -rf /var/tmp/portage

It didn’t.

Turned out I needed to recompile hunspell. After that Firefox and Thunderbird updated just fine.

emerge -1 hunspell

Last modified: 15/06/2012 Tags: , , ,

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top