i'm trying build gtk+1.3 on ubuntu , i'm getting error during configure,
ld: cannot find -lpango i tried installing ton of pango libraries , still not installed i'm not sure do. keep testing
ld -lpango but same error. has installed pre-built pango on ubuntu? repos? pango website says difficult build , i'd use prebuilt binary if possible.
also had error atk not being found had install libatk1.0* , fixed.
-lpango not correct library name.
in fact, should not using -l options directly link against pango. instead, should using pkg-config:
gcc -c -o program.o program.c `pkg-config --cflags pango` gcc -o program program.o `pkg-config --libs pango` or
gcc -o program program.c `pkg-config --cflags --libs pango` since debugging broken configure script, can run pkg-config directly see should be:
$ pkg-config --libs pango -lpango-1.0 -lgobject-2.0 -lglib-2.0 frankly i'm surprised gtk+'s configure file doesn't this; should file bug report.
Comments
Post a Comment