Bug 94531 - Compile wayland libexpat.so.1 No such file or directory
Summary: Compile wayland libexpat.so.1 No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: wayland (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-14 10:13 UTC by tele
Modified: 2016-04-09 18:02 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description tele 2016-03-14 10:13:23 UTC
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}
#----------------------
Comment 1 tele 2016-03-14 10:16:52 UTC
I use wayland-1.9.0
I see 1.10.0
Comment 2 tele 2016-03-14 10:22:44 UTC
1.10.0 probably solved, 
I will sure when I build all dependencies.

Sorry for the problem,
topic can be removed.
Comment 3 Daniel Stone 2016-03-14 16:47:35 UTC
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.
Comment 4 tele 2016-04-09 18:02:16 UTC
  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.