[postgis-users] Topology performance test

Stefano Iacovella stefano.iacovella at gmail.com
Thu Jun 21 09:12:15 PDT 2012


2012/6/21 Sandro Santilli <strk at keybit.net>:
> On Thu, Jun 21, 2012 at 09:29:39PM +1000, Luca Morandini wrote:
>> On 06/21/2012 07:45 PM, Sandro Santilli wrote:
>> >
>> >... I suspect /usr/local/lib/libgeos_c.so != /usr/local/lib/libgeos_c.so.1
>>
>> Indeed, but let me show you the outputs of what you requested:
>>
>> ldd /usr/local/lib/libgeos_c.so.1
>>         linux-vdso.so.1 =>  (0x00007fff7587d000)
>>         libgeos-3.3.3.so => /usr/local/lib/libgeos-3.3.3.so (0x00007f058cdad000)
>>         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f058ca99000)
>>         libm.so.6 => /lib/libm.so.6 (0x00007f058c815000)
>>         libc.so.6 => /lib/libc.so.6 (0x00007f058c492000)
>>         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f058c27b000)
>>         /lib64/ld-linux-x86-64.so.2 (0x00007f058d37e000)
>>
>> ls -l /usr/local/lib/libgeos_c.so
>> lrwxrwxrwx 1 root root 18 2012-06-21 09:18
>> /usr/local/lib/libgeos_c.so -> libgeos_c.so.1.7.3
>>
>> ls -l /usr/local/lib/libgeos_c.so.1lrwxrwxrwx 1 root root 18
>> 2012-06-21 09:18 /usr/local/lib/libgeos_c.so.1 -> libgeos_c.so.1.7.4
>>
>>
>> I guess it boils down to this:  I can I get rid of 3.3.3 ?
>
> You can surely get rid of 3.3.3 by running "make uninstall" from its
> build tree, or by manually dropping libgeos_c.so.1.7.3. But you can
> probably also just re-link libgeos_c.so.1  to libgeos_c.so.1.7.4

Sandro, I run

 $:~/sources/geos-3.3.3$sudo make uninstall

then

stefano at ubuntu1204vm:~/sources/geos-3.3.3$ ll /usr/local/lib/
total 18720
drwxr-xr-x  5 root root      4096 Jun 21 18:05 ./
drwxr-xr-x 11 root root      4096 May  2 14:38 ../
drwxr-xr-x  2 root root      4096 Apr 27 16:10 geos/
-rwxr-xr-x  1 root root  15504429 Apr 27 16:10 libgeos-3.3.3.so*
-rwxr-xr-x  1 root root    866246 Apr 27 16:10 libgeos_c.so.1.7.4*
-rw-r--r--  1 root root   1695394 Apr 27 16:21 libproj.a
-rwxr-xr-x  1 root root       919 Apr 27 16:21 libproj.la*
lrwxrwxrwx  1 root root        16 Apr 27 16:21 libproj.so -> libproj.so.0.7.0*
lrwxrwxrwx  1 root root        16 Apr 27 16:21 libproj.so.0 -> libproj.so.0.7.0*
-rwxr-xr-x  1 root root   1070954 Apr 27 16:21 libproj.so.0.7.0*
drwxr-xr-x  2 root root      4096 Apr 27 16:21 pkgconfig/
drwxrwsr-x  4 root staff     4096 Apr 27 10:08 python2.7/

Should "make uninstall" delete the two libgeos file?

It is safe if I delete them and then install geos-3.3.4?

Cheers

Stefano

>
> I'm surprised this isn't done by 'ldconfig' itself (did you run that
> after installing geos ?)
>



More information about the postgis-users mailing list