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)
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_Init_FreeType'
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_Load_Glyph'
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_Done_Face'
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_Get_Kerning'
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_Get_Char_Index'
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_Done_Size'
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_Set_Charmap'
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_New_Size'
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_Get_Glyph'
/usr/local/lib/libgd.so.21.1: undefined reference to `FcPatternGetString'
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_Glyph_To_Bitmap'
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_Attach_File'
/usr/local/lib/libgd.so.21.1: undefined reference to `FcConfigSubstitute'
/usr/local/lib/libgd.so.21.1: undefined reference to `FcPatternDestroy'
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_Done_FreeType'
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_Set_Char_Size'
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_Set_Transform'
/usr/local/lib/libgd.so.21.1: undefined reference to `FcPatternBuild'
/usr/local/lib/libgd.so.21.1: undefined reference to `FcNameParse'
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_Done_Glyph'
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_New_Face'
/usr/local/lib/libgd.so.21.1: undefined reference to `FcFontMatch'
/usr/local/lib/libgd.so.21.1: undefined reference to `FT_Activate_Size'
/usr/local/lib/libgd.so.21.1: undefined reference to `FcDefaultSubstitute'


I installed freetype-1.3.1p4 (no difference) and couldn’t find fontconfig.  Is 
text rendering with gd unsupported in openbsd?  Is this an issue where not all 
packages are there for the snapshots?

Thanks
Jordon

Reply via email to