Solved Issues after upgrading to FreeBSD 14

My system is a samba server as well.
I upgraded to FreeBSD 14 and now it is not showing up on the network. Shares that used to work are not working anymore.
I've checked the settings.. all seems normal and should work, but it doesn't.
I'm getting this error when trying to start the samba_server:
Code:
Performing sanity check on Samba configuration: FAILED

Also now when I try to use "pkg" to install or check on if there is anything that needs to be updated, I get this error.
Code:
ld-elf.so.1: Shared object "libssl.so.111" not found, required by "pkg"

How do I resolve these issues?
 
Sorry, I was just adding extra information - did you do what Emiron suggested - that would be step 1?

If you did and that didn't help then did you follow all the upgrade instructions? What did you upgrade from? How? If you are getting errors about OpenSSL versions that might indicate that you missed a step or two.

Do you use ports or packages?
 
Sorry, I was just adding extra information - did you do what Emiron suggested - that would be step 1?

If you did and that didn't help then did you follow all the upgrade instructions? What did you upgrade from? How? If you are getting errors about OpenSSL versions that might indicate that you missed a step or two.

Do you use ports or packages?
Yes I did what Emiron suggested. I guess that fixed it. Everything seems to be working now. I use pkg BTW.
 
You skipped the step that told you to reinstall all installed packages. Your installed Samba is depending on the old SSL library that came with 13.x.

pkg bootstrap -f
pkg upgrade
so after upgrading, I need to do these two steps in order to make sure that my installed packages are compatible with the new system. Am I right?
 
so after upgrading, I need to do these two steps in order to make sure that my installed packages are compatible with the new system. Am I right?
Yes; that's what the instructions would have directed you towards.

The binary packages you have will have been built on FreeBSD 13.2 with OpenSSL 1.1.1 and they will expect OpenSSL 1.1.1 to be available - hence they are looking for Shared object "libssl.so.111".

When you upgrade to the binary packages for FreeBSD 14.0 they will have been built with OpenSSL 3.0 and they will find that on FreeBSD 14.0.

If you had built things from ports there would have been a couple of other possibilibities - hence the questions about your set-up.
 
From what I saw, pkg bootstrap -f is always useless.

You can even use a simple pkg upgrade -f but before the third freebsd-update install (because this last remove the old libraries that pkg still uses).

When you do pkg upgrade -f or pkg-static upgrade -f, the mismatch of repos is detected and pkg is automatically bootstrapped before any upgrade.
 
Back
Top