Hi al...

I have two systems running cooker, a dual PII and a dual P4, and the P4
shows a strange behaviour (it works nice, apart from that, not like other
users in the list...).

The PII box chooses /lib/i686:

werewolf:~# echo $LD_LIBRARY_PATH
/opt/intel/compiler70/ia32/lib:/usr/local/lib
werewolf:~# ldd /bin/ls
        libtermcap.so.2 => /lib/libtermcap.so.2 (0x1557d000)
        libc.so.6 => /lib/i686/libc.so.6 (0x15581000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x15556000)

The p4 box ignores it:

annwn:~# echo $LD_LIBRARY_PATHPATH
/opt/intel/compiler70/ia32/lib:/usr/local/lib
annwn:~# ldd /bin/ls
        libtermcap.so.2 => /lib/libtermcap.so.2 (0x40024000)
        libc.so.6 => /lib/libc.so.6 (0x40028000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Removing /etc/ld.so.cache in both boxes:
PII:
werewolf:~# LD_DEBUG=libs ls  
...
      3296:     search 
path=/lib/i686:/lib:/usr/lib/i686/mmx:/usr/lib/i686:/usr/lib/mmx:/usr/lib              
 (system search path)
...

P4:
annwn:~# LD_DEBUG=libs ls
...
      3060:      search 
path=/lib/sse2/sse/mmx:/lib/sse2/sse:/lib/sse2/mmx:/lib/sse2:/lib/sse/mmx:/lib/sse:/lib/mmx:/lib:/usr/lib/sse2/sse/mmx:/usr/lib/sse2/sse:/usr/lib/sse2/mmx:/usr/lib/sse2:/usr/lib/sse/mmx:/usr/lib/sse:/usr/lib/mmx:/usr/lib
            (system search path)
...

So /lib/i686 is missing in the patch chosen for P4.
After a symlink of i686 to mmx on the p4 box, it looks ok:

annwn:/lib# ldd /bin/ls
        libtermcap.so.2 => /lib/libtermcap.so.2 (0x40024000)
        libc.so.6 => /lib/mmx/libc.so.6 (0x40028000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Is there an i686 symlink missing, or should that directory had been renamed to
mmx ? (note that in the second case the path for PII would be wrong...)

TIA

-- 
J.A. Magallon <[EMAIL PROTECTED]>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.1 (Cooker) for i586
Linux 2.4.20-jam2 (gcc 3.2.1 (Mandrake Linux 9.1 3.2.1-2mdk))

Reply via email to