<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Zubaer,</FONT></DIV>
<DIV><FONT face=Arial size=2>Yes you need to add the compiler and mkl library 
paths to ld.so.conf and bashrc (or equivalent) in /etc. You will find details in 
earlier mails.</FONT></DIV>
<DIV><FONT face=Arial size=2>Best wishes,</FONT></DIV>
<DIV><FONT face=Arial size=2>Chandrika</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=zubaexy@gmail.com href="mailto:zubaexy@gmail.com">zubaer</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=wien@zeus.theochem.tuwien.ac.at 
  href="mailto:wien@zeus.theochem.tuwien.ac.at">A Mailing list for WIEN2k 
  users</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, January 10, 2008 10:46 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Wien] Error while loading 
  shared libraries</DIV>
  <DIV><BR></DIV>Hi,<BR>I am getting following error while running x nn.<BR><PRE>/home/hossain2/WIEN2k/nn: error while loading shared libraries: libguide.so: cannot open shared object file: No such file or directory<BR>0.000u 0.000s 0:00.00 0.0%        0+0k 0+0io 0pf+0w<BR>error: command   /home/hossain2/WIEN2k/nn 
nn.def   failed<BR></PRE>I have following 
  settings<BR>Compiler:<BR>/opt/intel/fc/9.1.036/bin/ifort<BR>Options:<BR>current:FOPT:-FR 
  -mp1 -w -prec_div -pc80 -pad -ip -O3<BR>current:FPOPT:-FR -mp1 -w -prec_div 
  -pc80 -pad -ip -O3<BR>current:LDFLAGS:$(FOPT) -L/opt/intel/mkl/9.0/lib/32 
  -lguide 
  -lpthread<BR>current:DPARALLEL:'-DParallel'<BR>current:R_LIBS:-L/opt/intel/mkl/9.1.023/lib/32 
  -lmkl_lapack -lmkl_ia32 -lmkl_lapack -lmkl_ia32<BR>current:RP_LIBS:-L 
  /usr/local/SCALAPACK -L /usr/local/BLACS/LIB -lpblas -lredist -ltools 
  -lscalapack -lfblacs -lblacs -lmpi<BR><BR>Do I need to add the path of 
  libguide.so somewhere? What location by default the linker searches for 
  libguide.so? <BR><BR>I see the file is available at 
  /opt/intel/fc/9.1.036/bin/lib/<BR><BR>I appreciate any help. Thanks in 
  advance.<BR>-Zubaer<BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Wien mailing 
  list<BR>Wien@zeus.theochem.tuwien.ac.at<BR>http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien<BR></BLOCKQUOTE></BODY></HTML>