Re: Stuff Not Working after Upgrade - Missing Dependency
- In reply to: Vincent Sabio : "Stuff Not Working after Upgrade - Missing Dependency"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Feb 2025 23:10:47 UTC
Vincent, You should be able to pull /usr/lib/libdl.* from any of the recent updates, though using the same revision that you trying to use is best. Note that /usr/src/lib/libc/gen/dlfcn.c has about 45 additional lines (per wc via 12.4 & 14.2) so pulling from earlier than 14.0 may not be a good idea, though at a push I've done similar. (greeblies about when desperate) And yes, Frank's suggestion to use pkg-static is good. I've been caught by pkg's 15 dependencies too often that I rm /usr/local/sbin/pkg and ln -s to pkg-static, since FBSD 6.1. It has helped me, a lot! The libmap.conf changes are a good idea, but I don't think this is the route for you at the moment. Better to find a 14.1R libdl.* and copy them. FWIW: I've used FBSD since 2.2.8, and ran a small outsource for 10y using FreeBSD for everything except the Windows Accounting system. The problem you have is to locate the one file you need, there may be others as something is very amiss, so downgrading isnt warranted. When you get time, I'd "ls /lib>/tmp/lib-orig.lis" and take a similar listing of (for instance) base.txz and compare the lists to ensure that things are as they should be. Repeat for the rest of the system for peace of mind. For the future, YMMV: What REALLY works for me is to pull the kit of interest into a Windows Oracle Virtualbox client so I can test things. At times its challenging to keep prod and test in sync, but very worthwhile. Let us know if you need help locating the latest base archive. Good luck. PS I don't know how you can let the freebsd-update folks know about the problem, but they probably need details of your experience. (Aside: I'm also about to move from 12.4S to 14.2Releng but via src).