Public bug reported: Binary package hint: oprofile
I was trying to link a program against LLVM 2.7. This version of LLVM's configure script (`llvm-config --ldflags`) includes the library "-lopagent", which results in the linker error "cannot find -lopagent", even though the libopagent1 package is installed. This package seems to install the following files (dpkg -L libopagent1): /usr/lib/libopagent.so.1.0.0 /usr/lib/libopagent.so.1 -> /usr/lib/libopagent.so.1.0.0 However, ld will not find libopagent.so.1 without a top-level symlink called libopagent.so. I worked around this problem by manually adding the symlink: $ sudo ln -s /usr/lib/libopagent.so.1 /usr/lib/libopagent.so Then it works. Without this, programs depending on LLVM 2.7, or anything else linked with "-lopagent" won't work. This is libopagent1 package version 0.9.6-1ubuntu4, in Ubuntu 10.04 Lucid. ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: libopagent1 0.9.6-1ubuntu4 ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1 Uname: Linux 2.6.32-19-generic i686 NonfreeKernelModules: nvidia Architecture: i386 Date: Wed Apr 7 14:29:38 2010 EcryptfsInUse: Yes InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318) ProcEnviron: PATH=(custom, user) LANG=en_AU.utf8 SHELL=/bin/bash SourcePackage: oprofile ** Affects: llvm (Ubuntu) Importance: Undecided Status: New ** Affects: oprofile (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 lucid -- libopagent1 has no top-level .so file https://bugs.launchpad.net/bugs/557033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs