Selbes Probleme hatte ich auch: (sehr einfach Lösung, ist eine EIgenheit der Shell)
Why do I get "make: ldconfig: Command not found" Error when running make install?
ldconfig is usually installed in /sbin or /usr/bin, which are not in normal users' PATH, but only in super user's (root). If you become root in order to run make install by running "su", then this does not change environment variables (including PATH), leaving you with a PATH that does not include /sbin and /usr/sbin. This means that ldconfig is not found. The solution is to login as root in order to use make install, or to use "su -", which runs the shell as a login shell, therefore setting the environment correctly.