You're not setting LD_LIBRARY_PATH correctly, so it's linking to your system glib which is too old.
On 13-05-07 02:11 PM, Rob Bothof wrote: > > Dear List, > > i'm trying to compile harfbuzz on our server, > compile succeeds but hb-view gives symbol lookup errors > > i've compiled all dependencies from source, as this distro is quite old > > I think it might a problem with linking, but wouldn't know where to start > any help is very appreciated! > > regards, > Rob Bothof > > 'make check' on harfbuzz source gives the following test-fails > > Making check in src > make[1]: Entering directory `/usr/local/src/harfbuzz-0.9.16/src' > make check-recursive > make[2]: Entering directory `/usr/local/src/harfbuzz-0.9.16/src' > Making check in hb-old > make[3]: Entering directory `/usr/local/src/harfbuzz-0.9.16/src/hb-old' > make[3]: Nothing to be done for `check'. > make[3]: Leaving directory `/usr/local/src/harfbuzz-0.9.16/src/hb-old' > Making check in hb-icu-le > make[3]: Entering directory `/usr/local/src/harfbuzz-0.9.16/src/hb-icu-le' > make[3]: Nothing to be done for `check'. > make[3]: Leaving directory `/usr/local/src/harfbuzz-0.9.16/src/hb-icu-le' > Making check in hb-ucdn > make[3]: Entering directory `/usr/local/src/harfbuzz-0.9.16/src/hb-ucdn' > make[3]: Nothing to be done for `check'. > make[3]: Leaving directory `/usr/local/src/harfbuzz-0.9.16/src/hb-ucdn' > make[3]: Entering directory `/usr/local/src/harfbuzz-0.9.16/src' > make check-c-linkage-decls.sh check-header-guards.sh check-includes.sh > check-symbols.sh > make[4]: Entering directory `/usr/local/src/harfbuzz-0.9.16/src' > make[4]: Nothing to be done for `check-c-linkage-decls.sh'. > make[4]: Nothing to be done for `check-header-guards.sh'. > make[4]: Nothing to be done for `check-includes.sh'. > make[4]: Nothing to be done for `check-symbols.sh'. > make[4]: Leaving directory `/usr/local/src/harfbuzz-0.9.16/src' > make check-TESTS > make[4]: Entering directory `/usr/local/src/harfbuzz-0.9.16/src' > PASS: check-c-linkage-decls.sh > PASS: check-header-guards.sh > Checking that public header files #include "hb-common.h" or "hb.h" first > (or none) > Checking that source files #include "hb-*private.hh" first (or none) > Checking that there is no #include <hb.*.h> > PASS: check-includes.sh > Checking that .libs/libharfbuzz.so has the same symbol list as harfbuzz.def > Checking that we are not exposing internal symbols > PASS: check-symbols.sh > ================== > All 4 tests passed > ================== > make[4]: Leaving directory `/usr/local/src/harfbuzz-0.9.16/src' > make[3]: Leaving directory `/usr/local/src/harfbuzz-0.9.16/src' > make[2]: Leaving directory `/usr/local/src/harfbuzz-0.9.16/src' > make[1]: Leaving directory `/usr/local/src/harfbuzz-0.9.16/src' > Making check in util > make[1]: Entering directory `/usr/local/src/harfbuzz-0.9.16/util' > make[1]: Nothing to be done for `check'. > make[1]: Leaving directory `/usr/local/src/harfbuzz-0.9.16/util' > Making check in test > make[1]: Entering directory `/usr/local/src/harfbuzz-0.9.16/test' > Making check in api > make[2]: Entering directory `/usr/local/src/harfbuzz-0.9.16/test/api' > make test-blob test-buffer test-common test-font test-object test-set > test-shape test-unicode test-version test-ot-tag test-c test-cplusplus > make[3]: Entering directory `/usr/local/src/harfbuzz-0.9.16/test/api' > make[3]: `test-blob' is up to date. > make[3]: `test-buffer' is up to date. > make[3]: `test-common' is up to date. > make[3]: `test-font' is up to date. > make[3]: `test-object' is up to date. > make[3]: `test-set' is up to date. > make[3]: `test-shape' is up to date. > make[3]: `test-unicode' is up to date. > make[3]: `test-version' is up to date. > make[3]: `test-ot-tag' is up to date. > make[3]: `test-c' is up to date. > make[3]: `test-cplusplus' is up to date. > make[3]: Leaving directory `/usr/local/src/harfbuzz-0.9.16/test/api' > make check-TESTS > make[3]: Entering directory `/usr/local/src/harfbuzz-0.9.16/test/api' > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-blob: symbol > lookup error: > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-blob: undefined > symbol: g_test_init > FAIL: test-blob > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-buffer: symbol > lookup error: > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-buffer: undefined > symbol: g_test_init > FAIL: test-buffer > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-common: symbol > lookup error: > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-common: undefined > symbol: g_test_init > FAIL: test-common > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-font: symbol > lookup error: > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-font: undefined > symbol: g_test_init > FAIL: test-font > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-object: symbol > lookup error: > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-object: undefined > symbol: g_test_init > FAIL: test-object > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-set: symbol lookup > error: /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-set: > undefined symbol: g_test_init > FAIL: test-set > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-shape: symbol > lookup error: > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-shape: undefined > symbol: g_test_init > FAIL: test-shape > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-unicode: symbol > lookup error: > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-unicode: undefined > symbol: g_test_init > FAIL: test-unicode > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-version: symbol > lookup error: > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-version: undefined > symbol: g_test_init > FAIL: test-version > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-ot-tag: symbol > lookup error: > /usr/local/src/harfbuzz-0.9.16/test/api/.libs/lt-test-ot-tag: undefined > symbol: g_test_init > FAIL: test-ot-tag > PASS: test-c > PASS: test-cplusplus > =========================================================================== > 10 of 12 tests failed > Please report to http://bugs.freedesktop.org/enter_bug.cgi?product=harfbuzz > =========================================================================== > make[3]: *** [check-TESTS] Error 1 > make[3]: Leaving directory `/usr/local/src/harfbuzz-0.9.16/test/api' > make[2]: *** [check-am] Error 2 > make[2]: Leaving directory `/usr/local/src/harfbuzz-0.9.16/test/api' > make[1]: *** [check-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/harfbuzz-0.9.16/test' > make: *** [check-recursive] Error 1 > > > > _______________________________________________ > HarfBuzz mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/harfbuzz > -- behdad http://behdad.org/ _______________________________________________ HarfBuzz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/harfbuzz
