/lib/libc.so.7: version FBSD_1.7 not found

Greetings.

Today I have installed the lazarus IDE. After this fact, I have noticed that my firefox is gone. After reinstalling it, trying to launch tells the error:

/lib/libc.so.7: version FBSD_1.7 required by /usr/local/lib/firefox/libxul.so not found
I searched a lot for this, some post from 2020 told to use pkg upgrade -f.
I did it, but after so more programs refused to work like vim (/usr/local/lib/libpython3.9.so.1.0) or mpv (/usr/local/lib/libavutil.so.56). Geany and SeaMonkey (that I am using to write it) do work however.

The PKG said about outdated kernel, though I have latest updates installed.

Thanks in advance.
 
I use 13.1.
Output of -kru is:
Code:
13.1-RELEASE-p6
13.1-RELEASE-p6
13.1-RELEASE-p7
And quarterly branch
 
3d acceleration broke too, so I can't even play minecraft meanwhile.

If this can't be fixed I will just install gentoo...
 
Looks like that you have a mismatch between the system and the packages.

If that is true then the DRM driver from packages might also not work and need to be rebuild from ports.

But if you are not sure if everything was upgrade etc.. correctly then I would reinstall the system if I were you.
 
You could try:
freebsd(-update) 2x
freebsd(-ugrade) 2x
etcupdate
pkg update -f
pkg upgrade -f

In fact you don't know what is broke & why, but it's strange. Have you manually edited some configuration files?
 
Isn't FBSD_1.7 the libc version in 14-current right now?
I'm pretty sure it is. I have this problem right now with the new startup-code, need to upgrade my -CURRENT vm ;)

What's mysterious is how you'd ever end up with packages on 13.1 that seem to be built for -CURRENT :-/
 
I'm pretty sure it is. I have this problem right now with the new startup-code, need to upgrade my -CURRENT vm ;)

What's mysterious is how you'd ever end up with packages on 13.1 that seem to be built for -CURRENT :-/

Anyway everything is backuped with a reinstall pending.
 
Didn't we run into a similar issue twice before?

 
git log origin/stable/13 lib/libc/Versions.def:
Code:
commit 8c3ea3f4c4f343e5ecf653e2a50e1fb178cd0b02
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: Wed Jul 14 18:41:05 2021 +0300
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: Thu Jul 15 19:40:28 2021 +0300

    Create namespace for the symbols added during 14-CURRENT cycle.

    Reviewed by:    markj
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D31180

diff --git a/lib/libc/Versions.def b/lib/libc/Versions.def
index fce33f53a475..fea6693cee8a 100644
--- a/lib/libc/Versions.def
+++ b/lib/libc/Versions.def
@@ -35,6 +35,9 @@ FBSD_1.5 {
 FBSD_1.6 {
 } FBSD_1.5;

+FBSD_1.7 {
+} FBSD_1.6;
+

It's MFCed to include the symbols MFCed in libc (lib/libc/*/Symbol.map), nothing new here.

What *is* interesting is that quarterly builds seem to be done on stable/13 code (e.g. https://pkg-status.freebsd.org/builds/baseline:quarterly:13stable-amd64:00acc19c6943:gohan02), so built packages could have symbols that are not in release? Or am I missing something here?
 
What does /etc/pkg/FreeBSD.conf say?
Code:
# $FreeBSD$
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#

FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
And /usr/local/etc/pkg/repos/FreeBSD.conf:
Code:
# $FreeBSD$
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#

FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
 
Just remove that /usr/local/etc/pkg/repos/FreeBSD.conf. You don't need it. You only use it if you want to change certain settings. As yours is just a copy of /etc/pkg/FreeBSD.conf it's useless and will only increase confusion.
 
Well, the important part is that the config files did not reference the wrong ABI. So I don't know why it would be pulling in 14-current packages, if that is what is happening.
 
Well, the important part is that the config files did not reference the wrong ABI.
It could be set in /usr/local/etc/pkg.conf.

pkg.conf(5):
Code:
     The following options can be defined in pkg.conf:

     ABI: string      The ABI of the package you want to install.  Default:
                      derived from the ABI of the /usr/bin/uname binary, if
                      not found then /bin/sh binary.  E.g.,
                      ‘FreeBSD:14:amd64’.
 
Back
Top