[UNCLASSIFIED]RE: [postgis-users] problem with geos when running regress tests

Antti.Roppola at brs.gov.au Antti.Roppola at brs.gov.au
Thu Jul 27 20:26:11 PDT 2006


Dan wrote:

> ********************************************************
> postgres at octopus-desktop:$ ldd
> /downloads/postgresql-8.1.4/contrib/postgis-1.1.3/lwgeom/liblwgeom.so.1.1
>         linux-gate.so.1 =>  (0xffffe000)
>         libgeos_c.so.1 => not found
>         libproj.so.0 => /usr/lib/libproj.so.0 (0xb7ee4000)
>         libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7db5000)
>         libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7d92000)
>         /lib/ld-linux.so.2 (0x80000000)
> ********************************************************
> 
> What can I do to fix this? I added /usr/local/lib to LD_LIBRARY_PATH 
> but I'm still getting the same error.
> Cheers,
> 
> Dan

If you set LD_LIBRARY_PATH, you also need to export it, this will only
be exported to the user session you are logged in with. So if a test
does something like spawn its own shell, it may not inherit the setting.

LD_LIBRARY_PATH is more for testing. You should make sure /etc/ld.so.conf
has /usr/local included. If not, add it and run "ldconfig" to update the
linker cache. Some distros do not have /usr/local set as a default path.

Then have a look at http://www.visi.com/~barr/ldpath.html

Cheers,

Antti

---------------------------------------------------------------------- 
IMPORTANT - This message has been issued by The Department of Agriculture, Fisheries and Forestry (DAFF).  The information transmitted is for the use of the intended recipient only and may contain confidential and/or legally privileged material.  It is your responsibility to check any attachments for viruses and defects before opening or sending them on.  
Any reproduction, publication, communication, re-transmission, disclosure, dissemination or other use of the information contained in this e-mail by persons or entities other than the intended recipient is prohibited.  The taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited.  If you have received this e-mail in error please notify the sender and delete all copies of this transmission together with any attachments.  If you have received this e-mail as part of a valid mailing list and no longer want to receive a message such as this one advise the sender by return e-mail accordingly.  Only e-mail correspondence which includes this footer, has been authorised by DAFF 
----------------------------------------------------------------------



More information about the postgis-users mailing list