<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2>as root</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>see if U have the line</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>/usr/local/lib</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>in file 
"/etc/ld.so.conf"</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>else add it then do </FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>ldconfig</FONT></DIV>
<DIV>---------------------------------------------------------------<BR>TECHER 
Jean David<BR>01MAP<BR>e-mail: <A 
href="mailto:david@01map.net">david@01map.net</A><BR>Tél: 04 67 45 60 
27<BR>Entreprise: <A 
href="http://www.01map.net">http://www.01map.net</A><BR>Perso: <A 
href="http://techer.pascal.free.fr/postgis/">http://techer.pascal.free.fr/postgis/</A><BR>---------------------------------------------------------------</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 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=marco.lechner@geographie.uni-freiburg.de 
  href="mailto:marco.lechner@geographie.uni-freiburg.de">Marco Lechner</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> Tuesday, May 10, 2005 11:37 
AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [postgis-users] Problem 
  installing postgis 1.0.0 - libgeos.so.2:cannot open shared object file</DIV>
  <DIV><BR></DIV>Hi List,<BR><BR>I have problem after installing postgis 
  1.0.0:<BR>- I installed the actual version of geos (V 2.1.1 - stable)<BR>- 
  After that I set LDFLAGS=-lstdc++ and compiled<BR>postgresql --with-perl 
  --with-openssl and installed it succesfully<BR>- then I cpied the unzipped 
  postgis-dir in the postgresql-contrib-folder of<BR>my postgresql-source<BR>- I 
  modified Makefile.config (PROJ=1 GEOS=1)<BR>- I compiled postgis (make 
  install)<BR>- I created a testdb (named postgis)<BR>- I did a createlang 
  plpgsql postgis<BR> everything works so far<BR><BR>but when I 
  try:<BR><BR><A 
  href="mailto:postgres@maas:/usr/local/pgsql">postgres@maas:/usr/local/pgsql</A>> 
  bin/psql -f share/contrib/lwpostgis.sql 
  -d<BR>postgis<BR>Password:<BR>BEGIN<BR>NOTICE:  type "histogram2d" is not 
  yet defined<BR>DETAIL:  Creating a shell type 
  definition.<BR>psql:share/contrib/lwpostgis.sql:36: NOTICE:  type 
  "histogram2d" is not yet<BR>defined<BR>DETAIL:  Creating a shell type 
  definition.<BR>ERROR:  could not load library 
  "/usr/local/pgsql/lib/liblwgeom.so.1.0":<BR>libgeos.so.2: cannot open shared 
  object file: Datei oder Verzeichnis 
  nicht<BR>gefunden<BR>psql:share/contrib/lwpostgis.sql:36: ERROR:  could 
  not load library<BR>"/usr/local/pgsql/lib/liblwgeom.so.1.0": libgeos.so.2: 
  cannot open shared<BR>object file: Datei oder Verzeichnis nicht 
  gefunden<BR>ERROR:  current transaction is aborted, commands ignored 
  until end of<BR>transaction block<BR>psql:share/contrib/lwpostgis.sql:41: 
  ERROR:  current transaction is aborted,<BR>commands ignored until end of 
  transaction block<BR>ERROR:  current transaction is aborted, commands 
  ignored until end of<BR>transaction 
  block<BR>psql:share/contrib/lwpostgis.sql:49: ERROR:  current transaction 
  is aborted,<BR>commands ignored until end of transaction block<BR>ERROR:  
  current transaction is aborted, commands ignored until end of<BR>transaction 
  block<BR>psql:share/contrib/lwpostgis.sql:66: ERROR:  current transaction 
  is aborted,<BR>commands ignored until end of transaction block<BR>ERROR:  
  current transaction is aborted, commands ignored until end of<BR>transaction 
  block<BR>psql:share/contrib/lwpostgis.sql:71: ERROR:  current transaction 
  is aborted,<BR>commands ignored until end of transaction block<BR>ERROR:  
  current transaction is aborted, commands ignored until end of<BR>transaction 
  block<BR>psql:share/contrib/lwpostgis.sql:78: ERROR:  current transaction 
  is aborted,<BR>commands ignored until end of transaction 
  block<BR>.......<BR><BR>it doesn't add the postgis-functions to my 
  database<BR> What's wrong ??<BR><BR>I also added /usr/locyl/pgsql/lib to 
  my /etc/ld.so.conf and did a<BR>/sbin/ldconfig<BR>still got the same 
  problem<BR><BR>Marco<BR><BR>P.S. system is a SuSE-Linux 
  8.2<BR><BR>---------------------------------<BR>Marco 
  Lechner<BR><BR>dienstlich:<BR>Institut für Physische Geographie<BR>Uni 
  Freiburg<BR>Werderring 4<BR>79085 Freiburg<BR>Fon 0761 / 203-3548<BR>Mail <A 
  href="mailto:marco.lechner@geographie.uni-freiburg.de">marco.lechner@geographie.uni-freiburg.de</A><BR><BR>_______________________________________________<BR>postgis-users 
  mailing list<BR><A 
  href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</A><BR><A 
  href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</A></BLOCKQUOTE></BODY></HTML>