<!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.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Where did you install postgres to? It seems that
the postgres libraries are not in your LD_LIBRARY_PATH... they should either
be in the 'lib' subdirectory of where you installed postgres, or
in /usr/lib somewhere. Where-ever they are, you need to find them, and add their
location to either your LD_LIBRARY_PATH, or your PGLIB environment
variable. Something like:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>set
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/pgsql/lib</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>should do it, with the correct location in place of
/opt/pgsql/lib, depending on your shell...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Chris</FONT></DIV>
<DIV><FONT face=Arial size=2></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=Riyaz@umapinc.com
href="mailto:Riyaz@umapinc.com">Riyaz@umapinc.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=postgis-users@postgis.refractions.net
href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, July 29, 2002 10:31
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [postgis-users] Installation -
help</DIV>
<DIV><BR></DIV><BR><FONT face=sans-serif size=2>Hello,</FONT> <BR><FONT
face=sans-serif size=2> </FONT><BR><FONT face=sans-serif size=2>I am
getting the error below when I try to run this command: createlang
plpgsql databasename</FONT> <BR><BR><FONT face=sans-serif size=2>Cannot
determine PostgreSQL lib directory (PGLIB).</FONT> <BR><FONT face=sans-serif
size=2>You must identify the PGLIB either with a --pglib option</FONT>
<BR><FONT face=sans-serif size=2>or by setting the PGLIB environment
variable.</FONT> <BR><BR><FONT face=sans-serif size=2>Any help on this?</FONT>
<BR><BR><FONT face=sans-serif size=2>Thanks,</FONT> <BR><FONT face=sans-serif
size=2>Riyaz</FONT></BLOCKQUOTE></BODY></HTML>