[LLVMbugs] [Bug 9881] New: 'make check' fails by default when configured with --enable-shared

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 9 10:43:59 PDT 2011


           Summary: 'make check' fails by default when configured with
           Product: new-bugs
           Version: trunk
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nobled at dreamwidth.org
                CC: llvmbugs at cs.uiuc.edu

All the tests under 'make check' fail with a message like this:

.../Release+Asserts/bin/opt: error while loading shared libraries:
libLLVM-3.0svn.so: cannot open shared object file: No such file or directory

It only works as intended if you copy libLLVM-3.0svn.so into the system lib
path, or set LD_LIBRARY_PATH manually:

LD_LIBRARY_PATH=<top_builddir>/Release+Asserts/lib make check

Should the build scripts do that kind of thing themselves? It should also
prevent accidentally picking up an outdated, incompatible shared lib that might
have been `make install`d from a previous build, which would give 'missing
symbol' errors.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list