The second user also needs the envirenment variable LD_LIBRARY_PATH set.