[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Part1 - Part2 - Part3 - Part4 - Part5 - Single Page
Top Document: comp.unix.aix Frequently Asked Questions (Part 4 of 5)
Previous Document: 2.24: What is the limit on number of shared memory segments I can attach?
Next Document: 2.26: Where can I find dlopen, dlclose, and dlsym for AIX?
-
Search the FAQ Archives
Part1 - Part2 - Part3 - Part4 - Part5 - Single Page
Top Document: comp.unix.aix Frequently Asked Questions (Part 4 of 5)
Previous Document: 2.24: What is the limit on number of shared memory segments I can attach?
Next Document: 2.26: Where can I find dlopen, dlclose, and dlsym for AIX?
2.25: I deleted libc.a by accident --- how do I recover?
You can recover from this without rebooting or reinstalling, if you have another copy of libc.a available that is also named "libc.a". If you moved libc.a to a different directory, you're in luck -- do the following: export LIBPATH=/other/directory And your future commands will work. But if you renamed libc.a, this won't do it. If you have an NFS mounted directory somewhere, you can put libc.a on the that host, and point LIBPATH to that directory as shown above. Failing that, turn off your machine, reboot off floppies or other media, and get a root shell. I don't think you should do "getrootfs" as you usually do when accessing the root vg this way -- AIX may start looking for libc.a on the disk, and you'll just run into the same problem. So do an importvg, varyonvg, and then mount /usr somewhere, then manually move libc.a back or copy in a new one from floppy.
Top Document: comp.unix.aix Frequently Asked Questions (Part 4 of 5)
Previous Document: 2.24: What is the limit on number of shared memory segments I can attach?
Next Document: 2.26: Where can I find dlopen, dlclose, and dlsym for AIX?
Part1 - Part2 - Part3 - Part4 - Part5 - Single Page
[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Send corrections/additions to the FAQ Maintainer:
bofh@mail.teleweb.pt (Jose Pina Coelho)
Last Update October 22 2009 @ 05:22 AM