Pango try link with system libxml2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Pango try link with system libxml2

1,045 Views
BrilliantovKiri
Senior Contributor I

Hello!

I try compile pango from LTIB, unfortunally this not work:

/bin/bash ../../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o harfbuzz-dump harfbuzz-dump.o harfbuzz-dump-main.o -L/opt/IMX53/ltib/rootfs/usr/lib -lfreetype   -L/opt/IMX53/ltib/rootfs/usr/lib -lfontconfig   libharfbuzz-1.la

gcc -g -O2 -Wall -o harfbuzz-dump harfbuzz-dump.o harfbuzz-dump-main.o  -L/opt/IMX53/ltib/rootfs/usr/lib ./.libs/libharfbuzz-1.a -L/opt/IMX53/ltib/rpm/BUILD/zlib-1.2.3 /opt/IMX53/ltib/rootfs/usr/lib/libfontconfig.so -L/home/kirill/Projects/MobileCam/src/freetype-2.4.11/objs/.libs -L/opt/IMX53/ltib/rpm/BUILD/libxml2-2.6.28/.libs /opt/IMX53/ltib/rootfs/usr/lib/libfreetype.so /usr/lib/libxml2.so -ldl -lz -lm   -Wl,--rpath -Wl,/opt/IMX53/ltib/rootfs/usr/lib -Wl,--rpath -Wl,/opt/IMX53/ltib/rootfs/usr/lib

/usr/lib/libxml2.so: file not recognized: File format not recognized

collect2: ld returned 1 exit status

make[4]: *** [harfbuzz-dump] Error 1

Why pango try use system libxml2.so?

Thank you and excuse me my bad englsih.

Labels (2)
0 Kudos
3 Replies

666 Views
BrilliantovKiri
Senior Contributor I

This problem solved - I incorrect build fontconfig.

Now I solve another problem - fontconfig, I use 2.10, not install libfonfig.la.

0 Kudos

666 Views
Yuri
NXP Employee
NXP Employee

Perhaps it makes sense to re-install libxml2-dev on the host PC.

$ sudo apt-get install libxml2-dev

0 Kudos

666 Views
BrilliantovKiri
Senior Contributor I

Hello, Igor!

Unfortunally this is not solve problem:

$ aptitude show libxml2-dev

Package: libxml2-dev                    

State: installed

Automatically installed: no

Version: 2.7.8.dfsg-2+squeeze6

Also why I have to install libxml2 on host if configure found libxml2 on board?

0 Kudos