I'm trying to build third-party code from source and during linking, I receive this error:
Code:
/usr/bin/ld: cannot find -lg2c
collect2: ld returned 1 exit status
Yet, when I look for libg2c in /usr/lib, it's there:
Code:
> ls /usr/lib | grep -i g2c
libg2c.so.0
libg2c.so.0.0.0
So what is the problem? Surely, the linker knows enough to look in /usr/lib, right? Could this be a 32-bit vs 64-bit problem?