Packaging and installing seems to work but when I run ${tableplus}/bin/tableplus I’ll get ${tableplus}/bin/tableplus: /nix/store/7ndx3pmvfpc8mxw9aqm2vxpq8jylvqdc-openldap-2.4.58/lib/libldap_r-2.4.so.2: no version information available (required by ${tableplus}/bin/tableplus}.
See the trick for the librairies ? Well, it does not work obviously! Starting table plus with this dirty trick gives
./result/bin/tableplus: /nix/store/gvz8284pg2vnvhgirb84pf5shznh12k6-table-plus-0.1.178/lib/libldap-2.5.so.0: no version information available (required by ./result/bin/tableplus)
./result/bin/tableplus: /nix/store/gvz8284pg2vnvhgirb84pf5shznh12k6-table-plus-0.1.178/lib/libsasl2.so.2: no version information available (required by ./result/bin/tableplus)
./result/bin/tableplus: /nix/store/s9qbqh7gzacs7h68b2jfmn9l6q4jwfjz-glibc-2.33-59/lib/libc.so.6: version `GLIBC_2.34' not found (required by ./result/bin/tableplus)
Sadly, I’m not skilled enough to fix that on my own. For me
cyrus_sasl does not provide libsasl2.so.2
openldap does not provide libldap-2.5.so.0 (current version: 2.4)
Glibc is not recent enough to support at least the version 2.34 (current version: 2.33)
I found a way to make tableplus work by rebuilding libldap and libsasl from the debian package. Keep in mind I am new to nix, this solution may be improved on:
Guys, were we able to find an improved solution? Or what @emilien-jegou has proposed in their last comment is what we finalised upon? (I’m very new to Nix as well so I’m not totally sure what’s the preferred way now to install TablePlus).
I haven’t seriously tried further to get it running and simply used beekeeper-studio which is an electron application. It gets the job done but I’d rather use table plus if I’m honest…
N. b. I think this is a really hairy problem that is very much nothing for beginners. Therefore it is also way above my proverbial paygrade ^^