[cairo] install latest cairo + pango + gtk

Rui Tiago Cação Matos tiagomatos at gmail.com
Mon Oct 29 03:30:39 PDT 2007


On Seg, 2007-10-29 at 19:10 +0900, Nguyen Vu Hung wrote:
>  1060  cd cairo-1.4.10
>  1061  ls
>  1062  ./configure --prefix=$HOME; make; make install
>  1067  vi config-vh.sh
>  1068  ./config-vh.sh
>  1069  make
>           make install
> $cat config-vh.sh
> #!/bin/sh
> 
> CPPFLAGS=-I$HOME/include
> export CPPFLAGS
> LDFLAGS=-L$HOME/lib
> export LDFLAGS
> PKG_CONFIG_PATH=$HOME/lib/pkgconfig:/usr/local/lib/pkgconfig
> export PKG_CONFIG_PATH
> ./configure --prefix=$HOME
> 
> # compile test code:
> 1045  cc -L~/lib `pkg-config --cflags --libs pangocairo --libs cairo
> --libs pango` utf8test-pango.c -o utf8test-pango
> ]$./utf8test-pango
> ./utf8test-pango: error while loading shared libraries:
> libpangocairo-1.0.so.0: cannot open shared object file: No such file
> or directory

At first sight, you need to

	export LD_LIBRARY_PATH=$HOME/lib

Good luck,

Rui

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.cairographics.org/archives/cairo/attachments/20071029/7e0e4729/attachment.pgp 


More information about the cairo mailing list