I saw this in /var/log/messages
May 2 17:19:07 thinkpad /bsd: xclock(81091): syscall 5 "rpath"
Does it mean xclock needs rpath? If so here you go.
Index: xclock.c
===================================================================
RCS file: /cvs/xenocara/app/xclock/xclock.c,v
retrieving revision 1.6
diff -u -p -u -r1.6 xclock.c
--- xclock.c 11 Nov 2015 21:12:19 -0000 1.6
+++ xclock.c 2 May 2016 22:37:28 -0000
@@ -228,7 +228,7 @@ main(int argc, char *argv[])
#endif
#ifdef HAVE_PLEDGE
- if (pledge("stdio", NULL) == -1)
+ if (pledge("stdio rpath", NULL) == -1)
err(1, "pledge");
#endif