Thx Yury, it worked! On Wednesday, May 27, 2015 at 2:31:40 PM UTC+6, Yury Gribov wrote: > > On 05/27/2015 11:18 AM, Dmitriy - wrote: > > But when I run program: > > $ LD_LIBRARY_PATH=. ./a.out > > > > get error: > > ./a.out: error while loading shared libraries: > libclang_rt.asan-x86_64.so: > > cannot open shared object file: No such file or directory > > > > with LD_LIBRARY_PATH=.:/usr/local/lib/clang/3.7.0/lib/linux/ ./a.out all > ok. > > How to avoid setting LD_LIBRARY_PATH in > > /usr/local/lib/clang/3.7.0/lib/linux/ and run simple like this: > > $LD_LIBRARY_PATH=. ./a.out > > ? > > @Alex Samsonov: perhaps we should install libclang_rt.asan to /usr/lib? > That's what GCC does for it's shared ASan runtime. > > -Y > >
-- You received this message because you are subscribed to the Google Groups "address-sanitizer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
