How to fix makepkg error on Arch Linux- Cannot find the strip binary required for object file stripping.

In a freshly installed Arch Linux, I want to build a package (yaourt package) using makepkg command but I got the following error:

[dhani@arch-vbox]: ~/package-query>$ makepkg -si
==> ERROR: Cannot find the strip binary required for object file stripping.

==> ERROR: An unknown error has occurred. Exiting...

The error was caused by missing required packages to build or compile packages under Arch Linux. This error can be fixed by installing binutils, gcc, pkg-config and make package.

sudo pacman -S binutils make gcc pkg-config fakeroot

Now re run the makepkg package and now all should be resolved.

 

2 Comments

1 Trackback / Pingback

  1. How to install Yaourt on Arch Linux - Free Linux Tutorials

Leave a Reply

Your email address will not be published.


*