[Wien] Re: help me (error while loading shared libraries!)
L. D. Marks
L-marks at northwestern.edu
Sat Dec 3 15:21:02 CET 2005
What you need to do is use an editor, and ensure that your .bashrc (in
your home directory) contains the lines
LD_LIBRARY_PATH=/opt/intel_fc_80/lib:/opt/intel/mkl70/lib/32:$LD_LIBRARY_PATH
ulimit -s unlimited
Note: no " anywhere.
You ALSO need to use an editor and add to .cshrc (also in your home
directory)
set LD_LIBRARY_PATH=/opt/intel_fc_80/lib:/opt/intel/mkl70/lib/32:$LD_LIBRARY_PATH
limit stacksize unlimited
After this, logout then log back in again and do "echo $LD_LIBRARY_PATH"
If this does not work, you need to find where "libguide.so" is located and
correct the LD_LIBRARY_PATH's above. For instance, do
"ls -l /opt/intel_fc_80/lib"
and check that libguide.so is there and that you have read and execute
rights to it. There is also the question of what shell you are using. At
this stage you should find a book on linux/unix and read it.
On Sat, 3 Dec 2005, ²Ì ÃÏÇï wrote:
>
> 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
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
Note: if you have an old email address for me, please note that "nwu" has
been changed to "northwestern".
-----------------------------------------------
Laurence Marks
Department of Materials Science and Engineering
MSE Rm 2036 Cook Hall
2220 N Campus Drive
Northwestern University
Evanston, IL 60201, USA
Tel: (847) 491-3996 Fax: (847) 491-7820
email: L-marks at northwestern dot edu
http://www.numis.northwestern.edu
-----------------------------------------------
More information about the Wien
mailing list