Skip to contentSkip to conversation

Xorg questions

Buildroot Koenraad lelong 2 participants 3 messages Jan 31, 2007

lore
Share & tools
lore
#0 lore raw

Hi,
I'm trying to run an application under Xorg/X11. It needs (amongst others) libXi and libXinerama. I wonder why these aren't installed in the image, although they are present in the staging dir. The same for xterm. If I manually copy those libraries to their destination (/usr/X11R6/lib), the application can't find the libraries. I thought /etc/ld.so.conf took care of this (it contains /usr/X11R6/lib). If I am in the directory where the application is "ldd" reports those libraries not found. If I go to the directory with the libraries "ldd" finds those libraries, but starting the application (startx /path/to/appname) from there does not work.
What am I missing ?

Regards,
Koenraad Lelong.

#1 lore raw
Quoted 4 lines · Koenraad lelong

Hi,
I'm trying to run an application under Xorg/X11. It needs (amongst others) libXi and libXinerama. I wonder why these aren't installed in the image, although they are present in the staging dir. The same for xterm.

Quoted 9 lines

If I manually copy those libraries to their destination (/usr/X11R6/lib), the application can't find the libraries. I thought /etc/ld.so.conf took care of this (it contains /usr/X11R6/lib). If I am in the directory where the application is "ldd" reports those libraries not found. If I go to the directory with the libraries "ldd" finds those libraries, but starting the application (startx /path/to/appname) from there does not work.
What am I missing ?

Once copied into the destination directory, did you run ldcache to update the ld.so.conf cachefile?

#2 lore raw

Nathanael D. Noblet schreef:

Quoted 17 lines
Quoted 5 lines · Koenraad lelong

Hi,
I'm trying to run an application under Xorg/X11. It needs (amongst others) libXi and libXinerama. I wonder why these aren't installed in the image, although they are present in the staging dir. The same for xterm.

Quoted 9 lines

If I manually copy those libraries to their destination (/usr/X11R6/lib), the application can't find the libraries. I thought /etc/ld.so.conf took care of this (it contains /usr/X11R6/lib). If I am in the directory where the application is "ldd" reports those libraries not found. If I go to the directory with the libraries "ldd" finds those libraries, but starting the application (startx /path/to/appname) from there does not work.
What am I missing ?

Quoted 2 lines

Once copied into the destination directory, did you run ldcache to update the ld.so.conf cachefile?

I'll try that.
Thanks,
Koenraad Lelong.