Link to home
Create AccountLog in
Avatar of huffmana
huffmanaFlag for United States of America

asked on

how to setup /var/ls/sparcv9 ld.config

I'm trying to reduce the size of the audit files and some commands trying to access /var/ls/sparcv9/ld.config add many "No such file or directory" audit messages.  I successfully added /var/ld/ld.config with :crle -l /usr/lib:/lib:/lib:/usr/local/lib (that already stopped many useless audit records).  But when I add "ls -s /var/ls/ld.config /var/ld/sparcv9/ld.config" I get errors with certain commands:
# ps -ef
ld.so.1: ps: fatal: /usr/lib/libc.so.1: wrong ELF class: ELFCLASS32

So I presume that ps needs to use /usr/lib/sparcv9/ld.so.1

But "ldd /usr/bin/ps" does not reference ld.so.1:
libc.so.1
libdl.so.1
/usr/platform/SUNW,Sun-Fire-480R/lib/libc.psr.so.1

How can I properly setup /var/ld/sparcv9/ld.config ?
Many Thanks, Allan
ASKER CERTIFIED SOLUTION
Avatar of Brian Utterback
Brian Utterback
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of huffmana

ASKER

Cool, thanks for your help :-)