[postgis-users] library loading error

collin collin at socrates.berkeley.edu
Wed Dec 1 10:57:26 PST 2004


When I rebooted this morning, downloaded FC3 kernel source to help with 
compiling madwifi, I now find that postgresql is _again_ no longer 
recognizing libgeos?!

Is there something more permanent I need to do than doing ldconfig 
/usr/lib as root?

Collin

collin wrote:
> I ran ldconfig -v. liblwgeom.so.1.0 was found, but libgeos.so.2.0.1 was 
> not.  I guess I may not have run it after all for /usr/local/lib. So I 
> ran it with /usr/local/lib.
> 
> After adding local/lib and rebooting, postgresql is now recognizing 
> geometries properly. Thanks!
> 
> Collin
> 
> strk at refractions.net wrote:
> 
>> On Tue, Nov 30, 2004 at 08:51:20AM -0800, collin wrote:
>>
>>> No, I ran it after geos,proj4,postgresql install, but before postgis 
>>> install.  Then I ran it again after postgis install.
>>>
>>> Should I have run it immediately after geos install?
>>
>>
>>
>> No. But you did have to run it.
>> ldconfig -v gives you a list of 'found' libraries (under Linux)
>> --strk;
>>
>>
>>
>>> Collin
>>>
>>> strk at refractions.net wrote:
>>>
>>>> run ldconfig after GEOS install ?
>>>> --strk;
>>>>
>>>> On Tue, Nov 30, 2004 at 07:56:00AM -0800, collin wrote:
>>>>
>>>>
>>>>> Greetings,
>>>>>
>>>>> I have compiled postgresql 8.0beta5, geos2.0.1, proj 4.4.9, and 
>>>>> postgis
>>>>> form cvs (11/26) successfully on Fedora Core 3.
>>>>>
>>>>> I have loaded a number or datasets into the database (sample lidar
>>>>> points) and run gist, viewed with jump, etc without a problem.
>>>>>
>>>>> After a round of Up2Date updates however, this morning I have received
>>>>> the following error:
>>>>>
>>>>> ERROR:  could not load library 
>>>>> "/usr/local/pgsql/lib/liblwgeom.so.1.0":
>>>>> libgeos.so.2: cannot open shared object file: No such file or 
>>>>> directory
>>>>>
>>>>> This occurs any time I try to select or operate on any table with
>>>>> geometry.
>>>>>
>>>>> I tried ldconfig /usr/local/pgsql/lib/, and i have $LD_LIBRARY_PATH 
>>>>> = /usr/local/pgsql/lib/ in my master startup profile.  Despite 
>>>>> this, it still throws the error.
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Collin Bode
>>>>> GIS Informatics Researcher
>>>>> UC Berkeley
>>>>> _______________________________________________
>>>>> postgis-users mailing list
>>>>> postgis-users at postgis.refractions.net
>>>>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>>>
>>>>
>>>> _______________________________________________
>>>> postgis-users mailing list
>>>> postgis-users at postgis.refractions.net
>>>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>>>
>>>>
>>>
>>> _______________________________________________
>>> postgis-users mailing list
>>> postgis-users at postgis.refractions.net
>>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>
>>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 
> 



More information about the postgis-users mailing list