Tente:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
execute o make novamente. Uma observação de que você não precisa de sudo
para executar make
.
Em Documentação do ldconfig do FreeBSD :
The LD_LIBRARY_PATH environment variable can be used to override the use of directories (or the order thereof) from the cache or to specify additional directories where shared libraries might be found. LD_LIBRARY_PATH is a ':' separated list of directory paths which are searched by the dynamic linker when it needs to load a shared library. It can be viewed as the run-time equivalent of the -L switch of ld(1).