Public bug reported:
Binary package hint: llvm
Calling `llvm-config --ldflags` gives:
-L/usr/lib/llvm/lib -lpthread -lffi -ldl -lm
The -lffi means there is a dependency on libffi, and linking gives the
following error:
/usr/bin/ld: cannot find -lffi
Although llvm-dev depends upon libffi5 (which installs
/usr/lib/libffi.so.5.0.10 and /usr/lib/libffi.so.5), it does not depend
upon libffi-dev (which installs /usr/lib/libffi.so), and therefore the
linker cannot find libffi.
The fix is to have llvm-dev depend upon libffi-dev, instead of (or as
well as) libffi5.
This is basically the same problem as bug #557033 which I also reported
(but that was for oprofile) -- it depends on the library package but not
the dev package. I didn't pick up on the libffi problem until now. Are
there any other dev libraries missing?
** Affects: llvm (Ubuntu)
Importance: Undecided
Status: New
** Tags: packaging
--
llvm-dev needs to depend upon libffi-dev
https://bugs.launchpad.net/bugs/584849
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs