[geos-devel] cmake detailed comments

Regina Obe lr at pcorp.us
Wed Oct 13 12:50:20 PDT 2021


After all this talk decided to check Bessie (FreeBSD 64-bit) and I'm seeing
that the geos system installed is being hooked into the lib file, though the
test bin files at a glance look okay

The geos 3.9.1 on Bessie  was installed using FreeBSD packaging 


pkg install geos

and I see reference too it in the build/lib is that expected?

> > My list of conditions may sound odd, but it's basically all packaging
> > systems that aren't mac or linux, where the "base system" is in /usr
> > and packaging things are someplace else (/usr/pkg, /usr/ports,
> > /usr/local, varies).
> 
> I got myself a fresh FreeBSD and built there. Installed in both /usr/ and
in
> /usr/local. Ran ldd on the test binary in the build directory.
> 
> ec2-user at freebsd:~/geos-git-build $ ldd  ./bin/test_geos_unit
> ./bin/test_geos_unit:
> 	libgeos_c.so.1 => /home/ec2-user/geos-git-build/lib/libgeos_c.so.1
> (0x800887000)
> 	libgeos.so.3.10.0 => /home/ec2-user/geos-git-
> build/lib/libgeos.so.3.10.0 (0x8008cb000)
> 	libthr.so.3 => /lib/libthr.so.3 (0x800b43000)
> 	libc++.so.1 => /usr/lib/libc++.so.1 (0x800b70000)
> 	libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x800c48000)
> 	libm.so.5 => /lib/libm.so.5 (0x800c6a000)
> 	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x800ca1000)
> 	libc.so.7 => /lib/libc.so.7 (0x800cbc000)
> 
> Also, when installing, got this note:
> 
> -- Set runtime path of "/usr/bin/geosop" to ""
> 
> Seems like it's actually doing exactly the right thing. Stuff in the build
> directory is all given a temporary run path to point into that directory
and for
> things being installed that path is stripped before install.
> 
> P.
> 
[Regina Obe] 
This is what I see when I look at her latest run folder

cd
~/workspace/GEOS_Worker_Run/label/bessie/4c38944f8b5ef440398ba5f8db14b75489d
e5d68/build/lib]$
ls 

outputs 
libgeos.so              libgeos.so.3.10.0       libgeos_c.so
libgeos_c.so.1          libgeos_c.so.1.16.0     libryu.a
libtinyxml2.a

Then when I do ldd:

ldd libgeos_c.so


libgeos_c.so:
        libgeos-3.9.1.so => /usr/local/lib/libgeos-3.9.1.so (0x800e00000)
        libc++.so.1 => /usr/lib/libc++.so.1 (0x800702000)
        libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x8007cf000)
        libm.so.5 => /lib/libm.so.5 (0x801300000)
        libc.so.7 => /lib/libc.so.7 (0x80024e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x801332000)

ldd libgeos_c.so.1.16.0

ldd
~/workspace/GEOS_Worker_Run/label/bessie/4c38944f8b5ef440398ba5f8db14b75489d
e5d68/build/bin/test_geos_unit
> 
      libgeos_c.so.1 =>
/usr/home/jenkins/workspace/GEOS_Worker_Run/label/bessie/4c38944f8b5ef440398
ba5f8db14b75489de5d68/build/lib/libgeos_c.so.1 (0x8008a3000)
        libgeos.so.3.10.0 =>
/usr/home/jenkins/workspace/GEOS_Worker_Run/label/bessie/4c38944f8b5ef440398
ba5f8db14b75489de5d68/build/lib/libgeos.so.3.10.0 (0x8008e7000)
        libthr.so.3 => /lib/libthr.so.3 (0x800b57000)
        libc++.so.1 => /usr/lib/libc++.so.1 (0x800b84000)
        libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x800c51000)
        libm.so.5 => /lib/libm.so.5 (0x800c73000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x800ca5000)
        libc.so.7 => /lib/libc.so.7 (0x800cbf000)


If it's relevant cmake --version returns -  cmake version 3.19.6


Script for reference - is here -
https://git.osgeo.org/gitea/geos/geos/src/branch/main/tools/ci/bessie32.sh

Thanks,
Regina





More information about the geos-devel mailing list