I really did it this time.
I have been trying to upgrade all my ports, and for whatever reason, libpng would not install- it was failing the tests during the build. I went into the work folder, and tried running
Well, something in the linker path must be screwy, right? So I googled and read some man pages, and started with ldd and moved to ldconfig. Ah-ha! I should just run ldconfig /lib/lib, and add those libraries to the path.... Perfect, now the pngtest works perfect. However, make does not... can't find libc.so.7... uh oh.
I figured I'd hosed something bad (true), but I know that ldconfig is run during boot, so I shut the system down and figured a reboot would bring it back. Boy was I wrong.
So now here I sit, serverless. It can't boot because /bin/sh can't load, it's looking for libc.so.7.
What do I need to do to recover the system? I figure I burn a CD of the system, boot from that, and try and replace some files, but I don't know what to replace or how to go about this. I'm honestly not sure what I did wrong with ldconfig, but I guess it's one of those commands that you need to run with all the paths you need every time.
I have been trying to upgrade all my ports, and for whatever reason, libpng would not install- it was failing the tests during the build. I went into the work folder, and tried running
./pngtest
directly, and it was complaining that libz.so.4 was not found. Hmm. I searched the system and found it sitting right there in /lib/lib.Well, something in the linker path must be screwy, right? So I googled and read some man pages, and started with ldd and moved to ldconfig. Ah-ha! I should just run ldconfig /lib/lib, and add those libraries to the path.... Perfect, now the pngtest works perfect. However, make does not... can't find libc.so.7... uh oh.
I figured I'd hosed something bad (true), but I know that ldconfig is run during boot, so I shut the system down and figured a reboot would bring it back. Boy was I wrong.
So now here I sit, serverless. It can't boot because /bin/sh can't load, it's looking for libc.so.7.
What do I need to do to recover the system? I figure I burn a CD of the system, boot from that, and try and replace some files, but I don't know what to replace or how to go about this. I'm honestly not sure what I did wrong with ldconfig, but I guess it's one of those commands that you need to run with all the paths you need every time.