I used : #------------------------------- export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --disable-static \ CC="gcc -m32" CXX="g++ -m32" \ --build=x86_64-pc-linux-gnu \ --host=i686-pc-linux-gnu make -O -j4 #------------------------------ And I have: #------------------------------ + make -O -j4 CC src/libwayland_util_la-wayland-util.lo CCLD libwayland-util.la CC src/wayland_scanner-scanner.o CCLD wayland-scanner GEN protocol/wayland-protocol.c ./wayland-scanner: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory Makefile:2492: command object 'protocol/wayland-protocol.c' nie powiodły się make: *** [protocol/wayland-protocol.c] Błąd 127 make: *** Waiting for unfinished jobs.... GEN protocol/wayland-server-protocol.h ./wayland-scanner: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory #------------------------------- #----------------- $ rpm -ql libexpat1 /usr/local/lib/libexpat.so.1 /usr/local/lib/libexpat.so.1.6.0 #----------------- #--------- $ rpm -ql libexpat1-devel | grep .pc /usr/local/lib/pkgconfig/expat.pc #--------- #---------------------- $ cat /usr/local/lib/pkgconfig/expat.pc prefix=/usr/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: expat Version: 2.1.0 Description: expat XML parser URL: http://www.libexpat.org Libs: -L${libdir} -lexpat Cflags: -I${includedir} #----------------------
I use wayland-1.9.0 I see 1.10.0
1.10.0 probably solved, I will sure when I build all dependencies. Sorry for the problem, topic can be removed.
For reference, you need to put /usr/local/lib in /etc/ld.so.conf (then run ldconfig), or in $LD_LIBRARY_PATH, for Expat to be found when you run anything which uses it.
Ok, I do not I will check. - I need compile more dependencies - I don't need wayland for now, so I use --disable-wayland option in build mesa. However Thanks ! Mybe this also will helpful for other person. CLOSED
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.