I just installed FreeBSD (again) yesterday and because I wanted to get amdgpu support I did some stupid shit. I followed this guide which made me rebuild world (keep in mind Im still a dumb noob to the BSD world) and while I feel like I did everything right but I obviously didnt because now I've got two problems:
1. When I try to run certain commands (like for example bash, sudo, links, and git which I need to install the drivers) it tells me that its missing shared object "libintl.so.8"
. After bit of googling I found out that libintl.so.8 is provided by gettext (which Ive got installed) so reinstalled it (through pkg as well as ports) and after like 5 tries it still doesnt work
2. When I boot my system it mounts root as read-only. So every time I boot I have to mount it read-write, set my keymap, and enable my ethernet
So as much as I've been loving FreeBSD so far, I'm not having a good experience right now. Can anyone help
I believe that you are booting into single-user mode. In single user mode the root file system is automatically set to read only.
https://forums.freebsd.org/threads/5860/
When the OS detect problems during the boot sequence (i.e. a mispelled rc.conf
entry) or when you boot in single-user mode, your partitions are always
in read-only mode. This prevents possible damages to your data.
As for issue number 1, I do not know, but most likely rebuilding world caused the second problem, if the second problem arose after you encountered the first problem.
Edit: Something I have found on the web: https://www.zomo.co.uk/2010/10/freebsd-gettext-libintl-and-bash/
sudo portmaster -r -R devel/gettext
Definitely not single user mode. Had to use that one to fix some other issues but this is multiuser (I can log in). The rc.conf stuff is interesting though. Ill definetly check if I've got some errors in there (and Ill run the command you posted)
Alright there seems to be nothing wrong with my rc.conf (at least as far as I can tell). When I run the portmaster command however, something odd happens:
I get the error "-R is not installed. Aborting update"
It turns out that libintl.so.8 is not part of devel/gettext like someone said in an older thread on the freebsd forum but actually devel/gettext-runtime as someone in another thread pointed out. Now when I install gettext-runtime everything works again BUT I have to reinstall it everytime I reboot my computer. Im guessing this has something to do with the whole read only thing which I still desperately need to fix