[Bug 2071575] [NEW] llvm-dev installs LLVMgold.so symlink only - dangling to no target

Launchpad Bug Tracker 2071575 at bugs.launchpad.net
Mon Jul 1 03:15:55 UTC 2024


You have been subscribed to a public bug:

While compiling with clang

cd /build/libservices && /usr/bin/clang -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/source/wsrep-lib/include -I/source/wsrep-lib/wsrep-API/v26 -I/build/include -I/source/include -O2 -g -DNDEBUG -U_FORTIFY_SOURCE -fsanitize=address -fPIC -fsanitize=undefined -fno-sanitize=alignment -U_FORTIFY_SOURCE -DWITH_UBSAN -fno-omit-frame-pointer -DDBUG_OFF -Wall -Wdeclaration-after-statement -Wenum-compare -Wenum-conversion -Wextra -Wformat-security -Winconsistent-missing-override -Wno-format-truncation -Wno-init-self -Wno-null-conversion -Wno-unused-parameter -Wno-unused-private-field -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -Wvla -Wwrite-strings -std=gnu99 -fPIC -MD -MT libservices/CMakeFiles/mysqlservices.dir/debug_sync_service.c.o -MF CMakeFiles/mysqlservices.dir/debug_sync_service.c.o.d -o CMakeFiles/mysqlservices.dir/debug_sync_service.c.o -c /source/libservices/debug_sync_service.c
/usr/bin/ld: /usr/lib/llvm-18/bin/../lib/LLVMgold.so: error loading plugin: /usr/lib/llvm-18/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory

$dpkg -L llvm-dev | grep gold
/usr/lib/LLVMgold.so
$ ls -la /usr/lib/LLVMgold.so 
lrwxrwxrwx. 1 root root 23 Mar 30 11:19 /usr/lib/LLVMgold.so -> llvm-18/lib/LLVMgold.so


PRETTY_NAME="Ubuntu 24.04 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

** Affects: llvm-toolchain-18 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
llvm-dev installs LLVMgold.so symlink only - dangling to no target
https://bugs.launchpad.net/bugs/2071575
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to llvm-toolchain-18 in Ubuntu.



More information about the foundations-bugs mailing list