Fernando,

> If I modify the Trusted Directories with this command:
>
> crle -c /var/ld/ld.config -s /lib/secure:/usr/lib/secure
>
> everything still works, but if I modify the Default Library Path with:
>
> crle -c /var/ld/ld.config -l /lib:/usr/lib
>
> Some commands fail, such as ps, with this output:
>
> ld.so.1: ps: fatal: /usr/lib/libc.so.1: wrong ELF class: ELFCLASS32
> Killed
>
> Notice that the paths being set match the system defaults.  The crle output 
> is identical before and after being set, with the exception of "(system 
> default)" not being appended to the line if it is set by the above commands.
>
> Is there something special about the default settings that is not shown in 
> the output?  What am I missing?
>   

This is just a guess, but I suspect that you are running a 64-bit 
kernel, and that by setting the default lib path, you are breaking 
isaexec, and a such, ps and its ilk will fail. I have never ever liked 
crle in the slightest, but you could try:

crle -c /var/ld/ld.config -l /lib/64:/usr/lib/64

I could be waaaay off though...

Regards... Sean.


Reply via email to