MahadevaSwamy L

IMX53 Quick Start board: /ltib/rootfs/usr/lib/libX11.so.6, not found (try using -rpath or -rpath-link)

Discussion created by MahadevaSwamy L on Oct 11, 2011
Latest reply on Oct 18, 2011 by MahadevaSwamy L

Hi,

I am getting this error, please suggest.

 

Regards,

Swamy

 

lucid@ubuntu:/home/swamy/Arm_Tomtom/ttviewer$ make ARCH=arm
make -C osal/linux/lib/..
make[1]: Entering directory `/home/swamy/Arm_Tomtom/ttviewer/osal/linux'
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-none-linux-gnueabi-ar -rsv lib/libosal.a osal_event.o osal_event_out.o osal_video_out.o osal_video_in.o x86_screen.o
r - osal_event.o
r - osal_event_out.o
r - osal_video_out.o
r - osal_video_in.o
r - x86_screen.o
make[1]: Leaving directory `/home/swamy/Arm_Tomtom/ttviewer/osal/linux'
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc -Losal/linux/lib -O2 -g -I/home/lucid/ltib/rootfs/usr/include/ viewer.o event.o audio.o video.o  /home/lucid/ltib/rootfs/usr/lib/libX11.so.6 -o viewer -Bdynamic -Bstatic -lpthread -lm -lrt -losal -lasound
/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/bin/ld: warning: libxcb.so.1, needed by /home/lucid/ltib/rootfs/usr/lib/libX11.so.6, not found (try using -rpath or -rpath-link)
/home/lucid/ltib/rootfs/usr/lib/libX11.so.6: undefined reference to `xcb_connection_has_error'
/home/lucid/ltib/rootfs/usr/lib/libX11.so.6: undefined reference to `xcb_poll_for_reply'
/home/lucid/ltib/rootfs/usr/lib/libX11.so.6: undefined reference to `xcb_get_maximum_request_length'
/home/lucid/ltib/rootfs/usr/lib/libX11.so.6: undefined reference to `xcb_get_file_descriptor'
/home/lucid/ltib/rootfs/usr/lib/libX11.so.6: undefined reference to `xcb_connect'
/home/lucid/ltib/rootfs/usr/lib/libX11.so.6: undefined reference to `xcb_wait_for_reply'
/home/lucid/ltib/rootfs/usr/lib/libX11.so.6: undefined reference to `xcb_get_setup'
/home/lucid/ltib/rootfs/usr/lib/libX11.so.6: undefined reference to `xcb_wait_for_event'
/home/lucid/ltib/rootfs/usr/lib/libX11.so.6: undefined reference to `xcb_poll_for_event'
/home/lucid/ltib/rootfs/usr/lib/libX11.so.6: undefined reference to `xcb_parse_display'
/home/lucid/ltib/rootfs/usr/lib/libX11.so.6: undefined reference to `xcb_generate_id'
/home/lucid/ltib/rootfs/usr/lib/libX11.so.6: undefined reference to `xcb_disconnect'
/home/lucid/ltib/rootfs/usr/lib/libX11.so.6: undefined reference to `xcb_take_socket'
/home/lucid/ltib/rootfs/usr/lib/libX11.so.6: undefined reference to `xcb_writev'
/home/lucid/ltib/rootfs/usr/lib/libX11.so.6: undefined reference to `xcb_connect_to_display_with_auth_info'
collect2: ld returned 1 exit status
make: *** [viewer] Error 1

Outcomes