t-rex-tileserver / t-rex

t-rex is a vector tile server specialized on publishing MVT tiles from your own data
https://t-rex.tileserver.ch/
MIT License
545 stars 68 forks source link

jammy packaging for 0.14x #290

Closed darkblue-b closed 1 year ago

darkblue-b commented 2 years ago

special request for FOSS4G 2022 OSGeoLive installer -- thx!

darkblue-b commented 2 years ago

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 ?

pka commented 2 years ago

I would expect, yes, but will check.

pka commented 2 years ago

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)
darkblue-b commented 2 years ago

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

pka commented 2 years ago

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

darkblue-b commented 2 years ago

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 commented 2 years ago

bump 01 july 2022

pka commented 2 years ago

The most recent release has now binaries for Jammy:

kalxas commented 1 year ago

Many thanks @pka