[Wien] error while loading shared libraries

Torsten Andersen thor at physik.uni-kl.de
Mon Aug 16 10:29:15 CEST 2004


Dear Mahmoud,

you need to have these libraries installed in the same place on all 
machines (or nfs-mounted the directory) for it to work.

If you can't get it to work, try to compile with -static.

Best regards,
Torsten Andersen.


Mahmoud Payami wrote:
> Dear Wien Users,
>  
> Kindly, I have installed the MKL library on "/usr/local/intel/mkl70". 
> During the compilation, I change the Linker option appropriate for this 
> (non-default) path.
> Running the program for non-parallel case is ok. But, when I run for 
> k-point parallel case, the following message appears:
> ---------------------------------------------
>  
>  LAPW0 END
> lapw1: error while loading shared libraries: libguide.so: cannot open 
> shared object file: No such file or directory
> Command exited with non-zero status 127
> 0.00user 0.00system 0:00.00elapsed ?%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+42minor)pagefaults 0swaps
> lapw1: error while loading shared libraries: libguide.so: cannot open 
> shared object file: No such file or directory
> Command exited with non-zero status 127
> 0.00user 0.00system 0:00.00elapsed ?%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+42minor)pagefaults 0swaps
> lapw1: error while loading shared libraries: libguide.so: cannot open 
> shared object file: No such file or directory
> Command exited with non-zero status 127
> 0.00user 0.00system 0:00.00elapsed ?%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+43minor)pagefaults 0swaps
> /usr/X11R6/bin/xauth:  error in locking authority file 
> /home/mahmoud/.Xauthority
> lapw1: error while loading shared libraries: libguide.so: cannot open 
> shared object file: No such file or directory
> Command exited with non-zero status 127
> 0.00user 0.00system 0:00.00elapsed ?%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+42minor)pagefaults 0swaps
> time: cannot run lapw1: Permission denied
> Command exited with non-zero status 126
> 0.00user 0.00system 0:00.03elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+36minor)pagefaults 0swaps
> time: cannot run lapw1: Permission denied
> Command exited with non-zero status 126
> 0.00user 0.00system 0:00.02elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+36minor)pagefaults 0swaps
> time: cannot run lapw1: Permission denied
> Command exited with non-zero status 126
> 0.00user 0.00system 0:00.02elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+35minor)pagefaults 0swaps
> time: cannot run lapw1: Permission denied
> Command exited with non-zero status 126
> 0.00user 0.00system 0:00.02elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+36minor)pagefaults 0swaps
> time: cannot run lapw1: Permission denied
> Command exited with non-zero status 126
> 0.00user 0.00system 0:00.02elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+36minor)pagefaults 0swaps
> time: cannot run lapw1: Permission denied
> Command exited with non-zero status 126
> 0.00user 0.00system 0:00.03elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+36minor)pagefaults 0swaps
> time: cannot run lapw1: Permission denied
> Command exited with non-zero status 126
> 0.00user 0.00system 0:00.01elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+36minor)pagefaults 0swaps
> time: cannot run lapw1: Permission denied
> Command exited with non-zero status 126
> 0.00user 0.00system 0:00.02elapsed 4%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+36minor)pagefaults 0swaps
> lapw1: error while loading shared libraries: libguide.so: cannot open 
> shared object file: No such file or directory
> Command exited with non-zero status 127
> 0.00user 0.00system 0:00.00elapsed ?%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+43minor)pagefaults 0swaps
> lapw1: error while loading shared libraries: libguide.so: cannot open 
> shared object file: No such file or directory
> Command exited with non-zero status 127
> 0.00user 0.00system 0:00.00elapsed ?%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+42minor)pagefaults 0swaps
> /usr/X11R6/bin/xauth:  error in locking authority file 
> /home/mahmoud/.Xauthority
> time: cannot run lapw1: Permission denied
> Command exited with non-zero status 126
> 0.00user 0.00system 0:00.01elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+36minor)pagefaults 0swaps
> time: cannot run lapw1: Permission denied
> Command exited with non-zero status 126
> 0.00user 0.00system 0:00.02elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+36minor)pagefaults 0swaps
> time: cannot run lapw1: Permission denied
> Command exited with non-zero status 126
> 0.00user 0.00system 0:00.01elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+36minor)pagefaults 0swaps
> cat: No match.
> ---------------------------------------
>  
> However, when I replace my own executables with the downloaded original 
> executables, everything is ok.
> I do not know how should I make it to recognaze the "libguide.so" file 
> in its current place or sould I do something else.
> Any comments is highly appreciated.
>  
> With best regards,
>                              Mahmoud Payami
>  

-- 
Dr. Torsten Andersen        TA-web: http://deep.at/myspace/
AG Hübner, Department of Physics, Kaiserslautern University
http://cmt.physik.uni-kl.de    http://www.physik.uni-kl.de/




More information about the Wien mailing list