[PVFS2-CVS] commit by robl in pvfs2-1/doc: pvfs2-faq.tex

CVS commit program cvs at parl.clemson.edu
Tue Jan 11 13:50:49 EST 2005


Update of /projects/cvsroot/pvfs2-1/doc
In directory parlweb:/tmp/cvs-serv32692

Modified Files:
	pvfs2-faq.tex 
Log Message:
add an entry for shared libraries


Index: pvfs2-faq.tex
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/doc/pvfs2-faq.tex,v
diff -u -w -p -u -r1.24 -r1.25
--- pvfs2-faq.tex	23 Nov 2004 21:28:37 -0000	1.24
+++ pvfs2-faq.tex	11 Jan 2005 18:50:49 -0000	1.25
@@ -393,6 +393,29 @@ see if your distribution has an updated 
 example, will exhibit this behavior with glibc-2.3.2-95.6, but not
 with the updated glibc-2.3.2-95.20 package.
 
+\subsection{I get ``error while loading sharel libraries'' when starting PVFS2 programs}
+
+PVFS2 needs several libraries.  If those libraries aren't in the default
+locations, you might need to add flags when running PVFS2's configure script.
+At configure time you can, for example, pass \texttt{--with-db=/path/to/db
+--with-gm=/path/to/gm} to compile with Berkeley DB and Myiricom GM libraries.
+The configure options let the compiler know where to find the libraries at
+compile time.  
+
+Those compile-time options, however, aren't enough to find the libraries at
+run-time.  There are two ways to teach the system where to find libraries:  
+
+\begin{itemize}
+\item add /usr/local/BerkeleyDB.4.3/lib to the /etc/ld.so.conf config file
+  and re-run 'ldconfig' OR
+\item add /usr/local/BerkeleyDB.4.3/lib to the \texttt{LD\_LIBRARY\_PATH}
+    environment variable.
+\end{itemize}
+
+I would suggest the ld.so.conf approach, since that will work for all users on
+your system.
+
+
 \subsection{I'm running Redhat and the pvfs2-server can't be killed! What's wrong?}
 
 On some Redhat systems, for compatibility reasons, the pvfs2-server



More information about the PVFS2-CVS mailing list