You can use “ldd” or LD_DEBUG=all to see how the dynamic linker is looking for things. Chances are it’s not looking in the right place after you moved things!
P On Wed, Dec 20, 2017 at 3:10 AM Jin Chul Kim <[email protected]> wrote: > Hi, > > You may need to narrow down this build problem. I guess you need to check > the followings: > 1. Check your disk space. Do you have free space? (e.g. df -h) > 2. Check permission. Try to create a file (e.g. > touch be/build/release/testutil/libTestUtil.so) > 3. Check build history because there was an error to compile a .cc before > linking > > Regarding the third case, you can check it with the following command: > cd be/src/testutil; cmake .; make TestUtil > > Best regards, > Jinchul > > 2017-12-20 19:22 GMT+09:00 sky <[email protected]>: > > > Hi all, > > I compiled the Impala on the /data directory on a machine and moved to > the > > /dreambase/impala/impala directory of the other machine,prompted the > > following errors: > > # ./bin/start-statestored.sh > > /home/impala/impala/be/build/latest/statestore/statestored: error while > > loading shared libraries: libTestUtil.so: cannot open shared object file: > > No such file or directory > > > > > > And the location of this file is "./be/build/release/testutil/ > > libTestUtil.so". > > > > >
