ld: cannot find /usr/lib64/libmvec_nonshared.a: No such file or directory even with libc6-dev installed

Bug #1979371 reported by stormy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
New
Undecided
Unassigned

Bug Description

On 22.04 using gcc-11 or gcc-10 getting this error:
/usr/bin/ld: cannot find /usr/lib64/libmvec_nonshared.a: No such file or directory
collect2: error: ld returned 1 exit status

Although libc6-dev is installed.. L
ooks similar to:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806910
#806910 missing libmvec_nonshared.a causes linking failures

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libc6-dev 2.35-0ubuntu3
ProcVersionSignature: Ubuntu 5.15.0-1003.5-oracle 5.15.30
Uname: Linux 5.15.0-1003-oracle x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Wed Jun 22 00:11:30 2022
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: glibc
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
stormy (stormy1777) wrote :
Revision history for this message
stormy (stormy1777) wrote :

not sure this is a bug, as one of the libm.so had this in it:

OUTPUT_FORMAT(elf64-x86-64)
GROUP ( libm.so.6 AS_NEEDED ( /usr/lib64/libmvec_nonshared.a libmvec.so.1 ) )

changed it to:

OUTPUT_FORMAT(elf64-x86-64)
GROUP ( libm.so.6 AS_NEEDED ( libmvec.so.1 ) )

and link went through.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Yeah, I think this is a reflection of an upstream change. Not completely sure though...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.