On 2016/11/14 17:15, Jordon wrote: > I am working on getting a little hobby project to build in openbsd and have > encountered some issues. > I have successfully built this in OS X and FreeBSD. It needs clang and gd. > > I’m pretty sure I am running a recent snapshot. I have gd-2.1.1p3 installed. > When I try to build, I get this: > > /usr/local/lib/libgd.so.21.1: warning: warning: rand() may return > deterministic values, is that what you want? > /usr/local/lib/libgd.so.21.1: warning: warning: strcpy() is almost always > misused, please use strlcpy() > /usr/bin/ld: warning: libfreetype.so.27.0, needed by > /usr/local/lib/libgd.so.21.1, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libfontconfig.so.11.0, needed by > /usr/local/lib/libgd.so.21.1, not found (try using -rpath or -rpath-link) > /usr/bin/ld: warning: libpthread-stubs.so.2.0, needed by > /usr/local/lib/libgd.so.21.1, not found (try using -rpath or -rpath-link)
libpthread-stubs hasn't been touched recently, so we can rule out the possibility of X and packages being out of sync. You probably forgot -L/usr/X11R6/lib in LDFLAGS.