From owner-freebsd-questions@FreeBSD.ORG Sun Nov 27 22:22:51 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A0C416A420 for ; Sun, 27 Nov 2005 22:22:51 +0000 (GMT) (envelope-from jeff.hamann@forestinformatics.com) Received: from stimpy.forestinformatics.com (cvo-cr1-200-239.peak.org [69.59.200.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22FCC43D77 for ; Sun, 27 Nov 2005 22:22:35 +0000 (GMT) (envelope-from jeff.hamann@forestinformatics.com) Received: from rodan ([192.168.0.12]) by stimpy.forestinformatics.com (8.12.9/8.12.9) with SMTP id jARMMPOn088753; Sun, 27 Nov 2005 14:22:25 -0800 (PST) (envelope-from jeff.hamann@forestinformatics.com) Message-ID: <001301c5f3a1$06416380$0a00a8c0@rodan> From: "Jeff D. Hamann" To: Date: Sun, 27 Nov 2005 14:22:10 -0800 Organization: Forest Informatics, Inc. MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on stimpy.forestinformatics.com Cc: anderson@cnpm.embrapa.br Subject: missing $libdir in/for postgis? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Jeff D. Hamann" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2005 22:22:51 -0000 I'm sure this is a really lamo question but... I'm trying to get the postgis port up (which it has installed with postgresql81 just fine so far) and when I went to add the spatial caps to a simple database using the script lwpostgis.sql, I got the following: test=# \i lwpostgis.sql BEGIN psql:lwpostgis.sql:35: NOTICE: type "histogram2d" is not yet defined DETAIL: Creating a shell type definition. psql:lwpostgis.sql:35: ERROR: could not access file "$libdir/liblwgeom.so.1": No such file or directory ...blah, blah, blah... psql:lwpostgis.sql:3149: ERROR: current transaction is aborted, commands ignored until end of transaction block ROLLBACK test=# I thought to myself, "odd", but no big deal. I thought I should verify the file "liblwgeom.so.1" is in the /usr/local/lib dir. It is. $ ls /usr/local/lib/liblw* /usr/local/lib/liblwgeom.so /usr/local/lib/liblwgeom.so.1 $ The $libdir isn't assigned to anything becuase I didn't see anything when I typed the command: $ echo $libdir $ So should I simply set this variable in one of my login scripts (.cshrc, .bshrc,.shrc, .login) or is this something that should be (have been) set somewhere else? I'm installing the latest port on FreeBSD 6.0 amd64. $ uname -a FreeBSD bobby.forestinformatics.com 6.0-RELEASE FreeBSD 6.0-RELEASE #2: Sun Nov 27 14:07:55 PST 2005 hamannj@bobby.forestinformatics.com:/usr/obj/usr/src/sys/GENERIC amd64 $ Jeff. --- Jeff D. Hamann Forest Informatics, Inc. PO Box 1421 Corvallis, Oregon USA 97339-1421 541-754-1428 jeff.hamann@forestinformatics.com www.forestinformatics.com