@peter.babic
/usr/bin/env LD_LIBRARY_PATH=/opt/tableplus/lib /usr/local/bin/tableplus
Git Clone URL: | https://aur.archlinux.org/tableplus.git (read-only, click to copy) |
---|---|
Package Base: | tableplus |
Description: | Modern, native, and friendly GUI tool for relational databases (Alpha) |
Upstream URL: | https://tableplus.com/ |
Keywords: | database gui mysql postgres tool |
Licenses: | custom |
Submitter: | rew1red |
Maintainer: | sistematico (cookingspoon721, igormp) |
Last Packager: | igormp |
Votes: | 15 |
Popularity: | 0.30 |
First Submitted: | 2019-12-02 20:06 (UTC) |
Last Updated: | 2024-11-15 15:23 (UTC) |
@peter.babic
/usr/bin/env LD_LIBRARY_PATH=/opt/tableplus/lib /usr/local/bin/tableplus
With libsasl-2.1.28-4
there is an error tableplus: error while loading shared libraries: libsasl2.so.2: cannot open shared object file: No such file or directory
$ pacman -Fl libsasl | grep libsasl2
libsasl usr/lib/libsasl2.so
libsasl usr/lib/libsasl2.so.3
libsasl usr/lib/libsasl2.so.3.0.0
libsasl usr/lib/pkgconfig/libsasl2.pc
@loopsmark's patch no longer works, so I've tweaked it to download the latest version of tableplus.
git clone https://aur.archlinux.org/tableplus.git
cd tableplus
curl -Lso tableplus.patch https://gist.githubusercontent.com/ed-software/76c64be96ab3f318a377cf49aeba5810/raw/73fcaf80079f4eca01d94be29c656e91d07bfeb0/tableplus.patch
git apply tableplus.patch
makepkg -si
@loopsmark's patch works, but is missing the ldconf additions needed to make the new libraries accessible. Create a file /etc/ld.so.conf.d/tableplus.conf
with the content
/opt/tableplus/lib
Run sudo ldconfig
(or reboot), and it works!
patch to install most recent version and avoid build problems:
diff --git a/PKGBUILD b/PKGBUILD
index 25d5df0..5ffe7cb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Henry Pham <huy at tableplus dot com>
pkgname=tableplus
-pkgver=0.1.184
+pkgver=0.1.192
pkgrel=1
pkgdesc='Modern, native, and friendly GUI tool for relational databases (Alpha)'
arch=('x86_64')
@@ -10,9 +10,11 @@ url='https://tableplus.com/'
license=('custom')
depends=('gtksourceview3' 'libgee' 'gnome-keyring')
source=('LICENSE'
- "tableplus_${pkgver}_${pkgrel}_amd64.deb::https://deb.tableplus.com/debian/21/pool/main/t/tableplus/tableplus_${pkgver}_amd64.deb")
+ "tableplus_${pkgver}_${pkgrel}_amd64.deb::https://deb.tableplus.com/debian/22/pool/main/t/tableplus/tableplus_${pkgver}_amd64.deb"
+)
sha256sums=('76f924b1ebad5309ccf0dd7f3fe3d1b57ff3088b208a603900b0e240fdb5debb'
- 'bcabeb2dd347cb6f67affd851edf71005094e4b414671c22ba26b1e561002636')
+ 'b7afa94ab139d7e493fc778a65270b4f5f3b83bbacc53ffd439f4c4753b29d4b'
+)
I had some problems with the last patch. This patch will allow you to use the .desktop:
git clone https://aur.archlinux.org/tableplus.git
cd tableplus
curl -Lso tableplus.patch https://0x0.st/o3d9.192.patc
git apply tableplus.patch
makepkg -si
PS: Even though when you select the db type the port seems to be already written it is not being used, so you should type it. (I had this problem while doing SSH Tunnel)
A patch from patch:
git clone https://aur.archlinux.org/tableplus.git
cd tableplus
curl -Lso tableplus.patch https://0x0.st/ovC7.patch
git apply tableplus.patch
makepkg -s
Thank you.
It's been nearly one year since Tableplus actually worked on Arch Linux, and development (on the Linux version) seems to have ground to a halt. I have slowly lost interest and moved on to other solutions-- but hope that some day that Tableplus will continue development, and that another packager will pick up where this was left off.
I made a patched PKGBUILD that downloads the required dependencies from archive.ubuntu.com and archive.archlinux.org. It also adds the required LD_PRELOAD to the .desktop file
git clone https://aur.archlinux.org/tableplus.git
cd tableplus
wget https://gist.githubusercontent.com/hpsu/49f2162bd9ded9c97e0c201065345189/raw/92fdf44f7fbf2dcdd98dd7edcdb613d497e906f4/tableplus-dependencies.patch
git apply tableplus-dependencies.patch
makepkg
Is there a way to get TablePlus to run on Arch? I've been fiddling with copying the required libraries over from Ubuntu packages to /opt/tableplus and including them in LD_PRELOAD. However, I finally run into: "[1] 176669 segmentation fault (core dumped) LD_PRELOAD= /usr/local/bin/tableplus"
Pinned Comments
sistematico commented on 2023-03-05 17:55 (UTC)
Version bumped, no need for
/usr/bin/env LD_LIBRARY_PATH=/opt/tableplus/lib /usr/local/bin/tableplus
anymore.o/