[Wien] Re: help me (error while loading shared libraries!)

蔡 孟秋 caimengqiu at hotmail.com
Sat Dec 3 08:53:56 CET 2005


Dear Martin Kroeker:
    Thank you very much for your help.

    


>What does the command
>
>echo $LD_LIBRARY_PATH

When I run echo $LD_LIBRARY_PATH, the output is just a blank line.


>  I suspect that the export
>command for LD_LIBRARY_PATH in your .bashrc is still not executed
>correctly.
>Is the export LD_LIBRARY_PATH="/opt..." on a single line, or is it 
actually
>split up into two lines, like in your mail ? There should be no linebreak
>between the "export" and the "LD_LIBRARY_PATH=". If you have two lines,
>they will be executed as separate commands, an "export" which just lists
>what is already exported, and a local LD_LIBRARY_PATH setting that will be
>unknown to the "x lapw1".

As you say, the the export command for LD_LIBRARY_PATH in your .bashrc is 
still not executed
correctly. It can not find the path LD_LIBRARY_PATH.

You mentioned above that there should be no linebreak between the "export" 
and the "LD_LIBRARY_PATH=" in the .bashrc file. The  .bashrc file as 
followed 
 # For ifc8 
export PATH=/opt/intel_fc_80/bin:$PATH 
export 
LD_LIBRARY_PATH="/opt/intel_fc_80/lib:/opt/intel/mkl70/lib/32:$LD_LIBRARY_PATH" 

export MANPATH="/opt/intel_fc_80/man:${MANPATH}" 

are not right. 

I do not how to write the line: 
 export 
LD_LIBRARY_PATH="/opt/intel_fc_80/lib:/opt/intel/mkl70/lib/32:$LD_LIBRARY_PATH" 


Could you tell me in detail?

>If the LD_LIBRARY_PATH is correct, but it still does not work, try
>ldd /home/mqcai/WIEN2K_05/lapw1

ldd /home/mqcai/WIEN2K_05/lapw1
        libguide.so => not found
        libm.so.6 => /lib/tls/libm.so.6 (0x006d1000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00820000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00596000)
        libdl.so.2 => /lib/libdl.so.2 (0x006f5000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0057e000)

I am looking forward to your letter.


Best regards!

Meng-Qiu Cai

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn 



More information about the Wien mailing list