Greg Marks on Fri, 12 May 2023 05:20:18 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: library .tbss mismatches


> > > > I am considering the command "sudo apt-get purge libpari-gmp-tls7"
> > > > followed by reinstalling libpari-gmp-tls7 from the Debian repositories;
> > > > however, I am getting a warning that this will remove approximately 200
> > > > packages,
> > > >
> > > instead of "sudo apt-get purge libpari-gmp-tls7"
> > > try "sudo dpkg --purge libpari-gmp-tls7"
> > > which I believe will not touch those dependents.
> >
> > Thank you for the suggestion; however, that produces the following
> > result:
> >
> > $sudo dpkg --purge libpari-gmp-tls7
> > dpkg: dependency problems prevent removal of libpari-gmp-tls7:amd64:
> >  sagemath:amd64 depends on libpari-gmp-tls7.
> >  python3-cysignals-pari depends on libpari-gmp-tls7.
> >  python3-cypari2 depends on libpari-gmp-tls7.
> >  libpari-dev:amd64 depends on libpari-gmp-tls7 (= 2.13.1-1).
> >  libgiac0:amd64 depends on libpari-gmp-tls7.
> >  libec5:amd64 depends on libpari-gmp-tls7.
> >  lcalc depends on libpari-gmp-tls7.
> >
> > Best regards,
> > Greg Marks
> >
> I reminded myself by looking at "man dpkg"
> sudo dpkg --purge --force-depends  libpari-gmp-tls7

After:

$sudo dpkg --purge --force-depends libpari-gmp-tls7
dpkg: libpari-gmp-tls7:amd64: dependency problems, but removing anyway as you requested
...
$sudo apt-get install libpari-gmp-tls7
...

compiling the C program still gives the same error messages:

/usr/bin/ld: PARI_SIGINT_block: TLS definition in /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libpari.so section .tbss mismatches non-TLS reference in /tmp/ccQUa8Wh.o
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libpari.so: error adding symbols: bad value
collect2: error: ld returned 1 exit status

Best regards,
Greg Marks

Attachment: signature.asc
Description: PGP signature