I think you should use a `PREFIX=/usr/local` Now it attempts to rm the wrong thing https://github.com/chronopoulos/libsequoia/blob/master/Makefile#L53 Could be: ` rm -f $(PREFIX)/$(SO)`