<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Compile wayland libexpat.so.1 No such file or directory"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94531">94531</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Compile wayland libexpat.so.1 No such file or directory
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>wayland
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>swojskichlopak@wp.pl
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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: <a href="http://www.libexpat.org">http://www.libexpat.org</a>
Libs: -L${libdir} -lexpat
Cflags: -I${includedir}
#----------------------</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>