Coming back to my self-teaching on how to (hopefully eventually) be
semi-competent, I'm working on trying to build a git project from
source.  Thus far I've been able to figure out things like functions
having slight name differences (e.g. |pthread_set_name_np()| instead of
|pthread_setname_np()) and missing #includes in .hh files, but getting
stuck on a library issue... about halfway through the first module, I'm
failing with:

ld: error: unable to find library -lprotoc
ld: error: unable to find library -lprotobuf
c++: error: linker command failed with exit code 1 (use -v to see
invocation)

I've pkg_add'ed the necessary packages, and the libraries exist in
/usr/local/lib.  I found one site that suggested creating a softlink
from .so to .so.9.0 in case the linker didn't understand versioning, but
that didn't help. Read the .mk files in /usr/share/mk but nothing jumped
out as obvious, and /etc/mk.conf doesn't exist. Pretty sure I'm missing
something newbie-obvious, I just don't know what, so a kind "Look
here..." would be appreciated.

|

Reply via email to