Hi Ben,
according to manual "ldd prints the shared objects (shared libraries) required
by each program or shared object specified on the command line." In my reading
not only directly linked objects, but cascading dependencies, are listed too.
On mac I can do:
otool -L bin/r.surf.area
bin/r.su
Dear Devs:
$ ldd r.surf.area
.. produces the list of linked libraries below.
AFAICT, this includes GDAL/OGR and all of their dependencies.
Should it not be enough for "r.surf.area" [insert any other
r.*/v.* module here] to link against the GRASS libs (plus
a handful of essential system runtime