t-rex icon indicating copy to clipboard operation
t-rex copied to clipboard

jammy packaging for 0.14x

Open darkblue-b opened this issue 2 years ago • 9 comments

special request for FOSS4G 2022 OSGeoLive installer -- thx!

darkblue-b avatar Jun 09 '22 02:06 darkblue-b

existing installer uses

2022-06-08 19:30:03 (68.6 KB/s) - ‘t-rex-v0.14.3-x86_64-linux-gnu.tar.gz’ saved [7572633/7572633]

ol15$  tar xf t-rex-x86_64-linux-gnu.tar.gz -C /usr/bin

ol15$ file t_rex
t_rex: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=5f43353e425712e6e17b136fd0ce34c01851f788, for GNU/Linux 3.2.0, stripped

good enough for Ubuntu Jammy ?

darkblue-b avatar Jun 09 '22 02:06 darkblue-b

I would expect, yes, but will check.

pka avatar Jun 09 '22 05:06 pka

Test of t-rex-v0.14.3-x86_64-linux-gnu.tar.gz on Jammy looks fine.

./t_rex --version
t_rex 0.14.3

ldd ./t_rex
        linux-vdso.so.1 (0x00007fff385c0000)
        libssl.so.1.1 => /lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f3ca230e000)
        libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f3ca2033000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3ca2013000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3ca200e000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3ca1f27000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3ca1f20000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3ca1cf8000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f3ca3955000)

pka avatar Jun 13 '22 22:06 pka

somehow osgeolive alpha1 build shows this:

user@osgeolive:~$ ldd t_rex                                                            
        linux-vdso.so.1 (0x00007ffe3c1b6000)                                                     
        libssl.so.1.1 => not found
        libcrypto.so.1.1 => not found
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ff647bea000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff647be5000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff647afe000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff647af7000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff6478cf000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff6491a9000)

on another jammy install, I see only libssl.so.1.0.0

darkblue-b avatar Jun 14 '22 02:06 darkblue-b

On my Jammy machine, package libssl1.1 is installed.

pka avatar Jun 14 '22 07:06 pka

kalxas intends to use these : https://packages.ubuntu.com/jammy-updates/amd64/libssl-dev/filelist

Is it possible to build t-rex in a way that will find them ? We can test on the next #osgeolive build

darkblue-b avatar Jun 14 '22 15:06 darkblue-b

bump 01 july 2022

darkblue-b avatar Jul 02 '22 19:07 darkblue-b

The most recent release has now binaries for Jammy:

  • https://github.com/t-rex-tileserver/t-rex/releases/download/v0.14.3/t-rex_0.14.3-1.jammy_amd64.deb - Built with GDAL 3.4.1 from Jammy
  • https://github.com/t-rex-tileserver/t-rex/releases/download/v0.14.3/t-rex-v0.14.3-x86_64-jammy-linux-gnu.tar.gz - Built without GDAL support

pka avatar Jul 04 '22 21:07 pka

Many thanks @pka

kalxas avatar Jul 31 '22 18:07 kalxas