ld: cannot find /usr/lib64/libmvec_nonshared.a: No such file or directory even with libc6-dev installed
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/
collect2: error: ld returned 1 exit status
Although libc6-dev is installed.. L
ooks similar to:
https:/
#806910 missing libmvec_nonshared.a causes linking failures
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libc6-dev 2.35-0ubuntu3
ProcVersionSign
Uname: Linux 5.15.0-1003-oracle x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
Date: Wed Jun 22 00:11:30 2022
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: glibc
UpgradeStatus: No upgrade log present (probably fresh install)
not sure this is a bug, as one of the libm.so had this in it:
OUTPUT_ FORMAT( elf64-x86- 64) libmvec_ nonshared. a libmvec.so.1 ) )
GROUP ( libm.so.6 AS_NEEDED ( /usr/lib64/
changed it to:
OUTPUT_ FORMAT( elf64-x86- 64)
GROUP ( libm.so.6 AS_NEEDED ( libmvec.so.1 ) )
and link went through.