undefined symbol: wl_display_get_rgb_visual
Thierry Reding
thierry.reding at avionic-design.de
Thu May 19 22:57:34 PDT 2011
* Christopher Friedt wrote:
> Hi folks,
>
> I'm running into the following error when trying to launch demos.
>
> terminal: symbol lookup error: /usr/lib64/egl/egl_gallium.so:
> undefined symbol: wl_display_get_rgb_visual
>
> The folllowing code snippet confirms that the symbol does not get
> installed in any shared library
>
> for i in $(qlist mesa | grep "\.so"); do
> j="$(readelf -s ${i} | grep wl_display_get_rgb_visual | grep -v UND)"
> if [ "${j}" != "" ]; then
> echo $i
> fi
> done
>
> The symbol is initially defined in mesa under
>
> src/gallium/state_trackers/egl/wayland/native_wayland.c
>
> Unless I'm mistaken, it should havemade it into some shared library,
> given the following configure options
>
> ./configure --prefix=/usr --build=x86_64-pc-linux-gnu
> --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
> --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
> --localstatedir=/var/lib --libdir=/usr/lib64 --disable-option-checking
> --with-driver=dri --disable-glut --without-demos --enable-xcb
> --disable-debug --disable-glw --disable-motif --enable-glx-tls
> --disable-asm --disable-shared-dricore --with-dri-drivers=,swrast
> --enable-texture-float --enable-gles1 --enable-gles2 --enable-egl
> --disable-openvg --enable-gallium --with-egl-platforms=wayland,drm
> --with-state-trackers=dri,egl --enable-gallium-llvm
> --enable-gallium-svga --disable-gallium-nouveau --disable-gallium-i915
> --disable-gallium-i965 --disable-gallium-r300 --disable-gallium-r600
> --disable-gallium-i915 --disable-gallium-i965 --disable-gallium-r300
> --disable-gallium-r600
>
> but I can't seem to find out which shared library that is.
>
> # grep -R wl_display_get_rgb_visual *
>
> Binary file lib64/egl/egl_gallium.so matches
> Binary file src/gallium/state_trackers/egl/wayland/native_wayland.o matches
> src/gallium/state_trackers/egl/wayland/native_wayland.c: if
> (surface->pix->visual == wl_display_get_rgb_visual(display->dpy))
> Binary file src/gallium/state_trackers/egl/libegl.a matches
>
> # ar t src/gallium/state_trackers/egl/libegl.a | grep -i "wayland"
> native_wayland_drm_bufmgr_helper.o
> native_wayland.o
>
> Any ideas?
Actually the symbol is defined in libwayland-client.so. From what you say the
build goes fine and terminal fails at runtime, so I'm guessing you haven't
installed libwayland-client correctly.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20110520/3c8ef780/attachment.pgp>
More information about the wayland-devel
mailing list