http://llvm.org/bugs/show_bug.cgi?id=9881

           Summary: 'make check' fails by default when configured with
                    --enable-shared
           Product: new-bugs
           Version: trunk
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to