> Am 19.01.2017 um 14:34 schrieb Riccardo Mottola <[email protected]>: > I have trouble using the new release of PDFKit (do not remember the old one) > on Ubuntu. > The linking flags for freetype are now "queried" this way and this is clean: > LIB_FREETYPE_LDFLAGS := $(shell freetype-config --libs) > > It works on BSDs, other Linux distributions, all is fine. On OpenBSD I need a > special hack, I need to -r in the library path this way: > ifeq ($(findstring openbsd, $(GNUSTEP_TARGET_OS)), openbsd) > LIB_FREETYPE_LDFLAGS += -Wl,-rpath=/usr/X11R6/lib > endif > > I personally think this is a "bug" in OpenBSD's freetype/config. > > On Ubuntu I have a also a similar issue: PDFKit compiles fine, but then it > fails to resolve symbols. > The actual library is located in: > > /usr/lib/i386-linux-gnu/libfreetype.so > > However: > $ freetype-config --libs > -lfreetype > > I wonder i there is a bug, like a missing symlink in Ubuntu? or a bug in > freetype-config? > > I don't have clean workaround like in OpenBSD: I do not know how to guess the > actual directory (architecture dependent) and also how to detect I am > running on Linux, Isince the TARGET_OS is linux and on other linux systems it > works fine. > > Any opinions? Any ubuntu experts?
I am no expert but to me this output sounds correct. Maybe your ld is misconfigured? Have you looked into /etc/ld.so.conf? There all the standard library directories should be listed. How did you install free type on the Ubuntu machine? Fred _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
