Public bug reported:

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


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

A symlink is sufficient to resolve:

/usr/lib/llvm-18/lib#  ln -s /usr/lib/LLVMgold.so

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2071575

Title:
  llvm-dev installs LLVMgold.so in wrong location

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-defaults/+bug/2071575/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to