You are not logged in.

#1 2010-02-16 13:54:05

crom
Member
From: Germany
Registered: 2008-05-11
Posts: 43

Probem with executing certain programs

Hi, I just moved here from my problem with songbird, but this affects more applications now.

I use Arch64 with latest updates and a JFS root file system.


For the two problematic programs, file can specify the type:

[sebastian@SL500 ~]$ file /usr/bin/nvidia-settings
/usr/bin/nvidia-settings: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped

[sebastian@SL500 ~]$ file /opt/Songbird/songbird-bin
/opt/Songbird/songbird-bin: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped

But when I try to execute the programs with, for example,  /usr/bin/nvidia-settings, bash returns
[sebastian@SL500 ~]$ /usr/bin/nvidia-settings
bash: /usr/bin/nvidia-settings: No such file or directory

I booted a live disk to force a FS repair, but that showed no errors.


Edit: I copied nvidia-settings from /usr/bin to my home directory, which is EXT3, copying is successful:
[sebastian@SL500 ~]$ ls -lh /home/sebastian/nvidia-settings
-rwxr-xr-x 1 sebastian sebastian 1.6M Feb 16 14:55 /home/sebastian/nvidia-settings

But trying toexecute gives the same strange error:
[sebastian@SL500 ~]$ /home/sebastian/nvidia-settings
bash: /home/sebastian/nvidia-settings: No such file or directory

Any advices?

Last edited by crom (2010-02-16 13:58:10)

Offline

#2 2010-02-16 15:04:59

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: Probem with executing certain programs

That's a weird one. What if you run 'ldd' on nvidia-settings:

$ ldd /usr/bin/nvidia-settings

Offline

#3 2010-02-16 15:26:06

crom
Member
From: Germany
Registered: 2008-05-11
Posts: 43

Re: Probem with executing certain programs

This is the output:

[sebastian@SL500 ~]$ ldd /usr/bin/nvidia-settings 
    linux-vdso.so.1 =>  (0x00007fffd4343000)
    libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00007fb6f12f6000)
    libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00007fb6f104d000)
    libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007fb6f0e2e000)
    libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007fb6f0c10000)
    libm.so.6 => /lib/libm.so.6 (0x00007fb6f098f000)
    libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x00007fb6f0783000)
    libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007fb6f053a000)
    libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007fb6f02f7000)
    libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007fb6f00f4000)
    libdl.so.2 => /lib/libdl.so.2 (0x00007fb6efef0000)
    libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fb6efc2d000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fb6ef8f4000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fb6ef6e2000)
    libc.so.6 => /lib/libc.so.6 (0x00007fb6ef38b000)
    libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007fb6ef182000)
    libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007fb6eef80000)
    libXi.so.6 => /usr/lib/libXi.so.6 (0x00007fb6eed72000)
    libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007fb6eeb6a000)
    libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007fb6ee961000)
    libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007fb6ee756000)
    libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007fb6ee554000)
    libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007fb6ee352000)
    libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007fb6ee14d000)
    libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007fb6eded2000)
    libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007fb6edc2d000)
    libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007fb6eda04000)
    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007fb6ed76e000)
    libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007fb6ed53a000)
    libpng14.so.14 => /usr/lib/libpng14.so.14 (0x00007fb6ed312000)
    libz.so.1 => /usr/lib/libz.so.1 (0x00007fb6ed0fa000)
    libpcre.so.0 => /lib/libpcre.so.0 (0x00007fb6ececa000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fb6f18ed000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fb6eccaf000)
    libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007fb6eca57000)
    libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0x00007fb6ec854000)
    libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007fb6ec64c000)
    libresolv.so.2 => /lib/libresolv.so.2 (0x00007fb6ec436000)
    libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fb6ec20e000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fb6ec00c000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fb6ebe07000)

This /lib64/ld-linux-x86-64.so.2 is not correct, must still be fragments of my cuda experiments. How can I get rid of this? sad

Edit: I rebuild ldconf-cache (ldconfig -v), now lib64 doesn't show up anymore within ldconfig -p. But now I can't do ldd  /usr/bin/nvidia-settings anymore:
[sebastian@SL500 ~]$ ldd /usr/bin/nvidia-settings
/usr/bin/ldd: line 118: /usr/bin/nvidia-settings: No such file or directory

This gets really weird.

Another Edit:
This is definitely a lib64-error. I created a symlink /lib64 to /lib. Now nvidia-settings work fine. But this is more a workaround than a solution. How can I get rid of the directory dependency (find out from where this directory is accessed)?

Last edited by crom (2010-02-16 15:56:33)

Offline

Board footer

Powered by FluxBB