[maemo-developers] [maemo-developers] Missing library in the 2006 beta version?

From: Israel Herraiz israel.herraiz at urjc.es
Date: Fri Jun 30 11:48:04 EEST 2006
Hi,

I am trying to compile x11vnc for the 770. I downloaded the sources [1],
and compiled it under the scractchbox with the SDK_ARM profile (with
maemo 2.0 beta). I copied the binary to the 770, but it lacks one of the
libraries (the same binary run perfectly in the scratchbox).

This is the output of the ldd command in the scractchbox:

[sbox-SDK_ARM: ~/x11vnc-0.8.orig/x11vnc] > ldd x11vnc
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00000000)
        libXtst.so.6 => /usr/lib/libXtst.so.6 (0x00000000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00000000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00000000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00000000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00000000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00000000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00000000)
        libc.so.6 => /lib/libc.so.6 (0x00000000)
        libdl.so.2 => /lib/libdl.so.2 (0x00000000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00000000)
        libXau.so.0 => /usr/lib/libXau.so.0 (0x00000000)
        /lib/ld-linux.so.3 => /lib/ld-linux.so.3 (0x00000000)

The file /usr/lib/libXrandr.so.2 is not present in the 770:

Nokia770-22:/home/user# ls /usr/lib/libXr*
/usr/lib/libXrender.so.1      /usr/lib/libXrender.so.1.3.0

And this is the output when I try to run the program:

Nokia770-22:/home/user# ./x11vnc
./x11vnc: error while loading shared libraries: libXrandr.so.2: cannot
open shared object file: No such file or directory

I think that the environment in the scratchbox and the 770 are the same
(with some exceptions, for instance the Bluetooth stuff), so I think
that libXrandr.so.2 is missing in the 770.

BR,
Israel

[1] http://saunby.net/download/nokia770/x11vnc/x11vnc_0.8.orig.tar.gz

-- 
Israel Herraiz             | Libre Software Engineering Lab (GSyC)
israel.herraiz at urjc.es     | Universidad Rey Juan Carlos
http://libresoft.urjc.es   | Edif. Departamental II - Despacho 118
Telf: (+34) 91 488 8523    | c/Tulipán s/n 28933 Móstoles (Madrid)


More information about the maemo-developers mailing list