Skip to content

Tableplus is not launching on Ubuntu 22.04 #161

Open

Description

@SuhaibMaraqa

Please answer the questions below, it helps us to track the issue.

  1. Database version (Ex: PostgreSQL 10.0):

  2. TablePlus version (the number on the welcome or about screen, Ex: build 81):

  3. Linux distro (Ex: Ubuntu 18.04): 22.04

  4. The steps to reproduce this issue:

Noted: If the bug is related to data, please attach an example SQL data.

First Tableplus wasn't able to be installed because of the "zlib1g" dependency, I downgraded it with this command:
sudo apt install zlib1g=1:1.2.11.dfsg-2ubuntu9

then installed Tableplus, but it's not launching.

Activity

  1. SuhaibMaraqa commented on Oct 2, 2022

    @SuhaibMaraqa
    Author

    How to solve this problem please?

  2. huyphams commented on Oct 2, 2022

    @huyphams
    Contributor

    I could not reproduce the issue as I just install a fresh Ubuntu 22 and install TablePlus without any issue.
    If you have the step to reproduce the issue, please let me know.

  3. SuhaibMaraqa commented on Oct 4, 2022

    @SuhaibMaraqa
    Author

    first Tableplus was not able to install due to dependency issue, I downgraded "zlib1g" dependency with:
    sudo apt install zlib1g=1:1.2.11.dfsg-2ubuntu9

    then it got installed but weren't able to launch to another dependency issue:
    libldap_r-2.4.so.2: cannot open shared object file: No such file or directory

    I installed the required file : libldap-2.4-2_2.4.49+dfsg-2ubuntu1.9_amd64.deb

    and now it's launching but show:

    Segmentation fault (core dumped)

  4. huyphams commented on Oct 4, 2022

    @huyphams
    Contributor

    How do you get the new zlib as I downloaded and install Ubuntu from the website and I installed TablePlus just fine?
    Can you give me more info how to reproduce the issue please.

  5. SuhaibMaraqa commented on Oct 4, 2022

    @SuhaibMaraqa
    Author

    I just installed Ubuntu from the website and followed the steps of downloading tableplus, when doing

    sudo apt install tableplus

    I get this error

    The following packages have unmet dependencies:
    zlib1g-dev : Depends: zlib1g (= 1:1.2.11.dfsg-2ubuntu9) but 1:1.2.11.dfsg-2ubuntu9.1 is to be installed
    E: Unable to correct problems, you have held broken packages.

    So I installed an earlier version with:

    sudo apt install zlib1g=1:1.2.11.dfsg-2ubuntu9

  6. huyphams commented on Oct 4, 2022

    @huyphams
    Contributor

    Did you run sudo apt update and sudo apt upgrade before installing TablePlus?

  7. SuhaibMaraqa commented on Oct 4, 2022

    @SuhaibMaraqa
    Author

    Yes

  8. mattsbennett commented on Oct 27, 2022

    @mattsbennett

    I'm having this problem on 22.04 as well. Here's the output I get after following all the installation steps:

    mattsbennett@pop-os:~$ tableplus
    tableplus: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
    

    Looks like 22.04 doesn't have this lib:

    mattsbennett@pop-os:~$ ls /usr/lib/x86_64-linux-gnu/ | grep ldap
    libldap-2.5.so.0
    libldap-2.5.so.0.1.8
    libsmbldap.so.2
    libsmbldap.so.2.1.0
    
  9. macdabby commented on Nov 8, 2022

    @macdabby

    @mattsbennett this is the dependency issue. you can resolve this for now with sudo apt install libldap-2.4-2 (there may be a different package name on your system)

  10. macdabby commented on Nov 8, 2022

    @macdabby

    I am also having the segmentation fault error, but it does not say core dump. i am using debian testing (bookworm). I thought it might be wayland, so i tried switching to x11 and i get this:

    $ Failed to load module "xapp-gtk3-module"
    Segmentation fault
    

    in either environment, i see the main window show momentarily before it goes away. is there any way to launch this with verbose logging to see if there is any other information about what's happening?

  11. renteriadev commented on Nov 17, 2022

    @renteriadev

    Hi!
    I have the same issue... TablePlus does not want to launch.. Ubuntu 22.04
    I followed the installation and nothing. And also I did update and upgrade and the same thing.
    For example: I can see the icon (pressing window) click on it and nothing happens

  12. J87NL commented on Nov 25, 2022

    @J87NL

    Same for me unfortunately, I installed TablePlus on Ubuntu 20.04 and the program starts and closes after a few seconds with error 'Segmentation fault' (and nothing else). If anyone has a solution for this I would really appreciate it!

  13. dougleon16 commented on Dec 20, 2022

    @dougleon16

    This works for me, i'm using elementary os | ubuntu 20.04 LTS and my issue was (tableplus: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory)

    ### the solution for me was

    1. in you terminal put this command
      nano /etc/apt/sources.list // for check your repositories
    2. check if you have the correct repository with your ubuntu actual version in my case its ubuntu 20.04LTS
      Captura realizada el 2022-12-20 17 53 17
      as you can see i have this repository https://deb.tableplus.com/debian/20 with the number 20 that means it works for my ubuntu version (20.04 LTS)
    3. if you have another ubuntu version check the official page and follow instruccion regarding your ubuntu version

    pd: if you have more than one repository on this terminal tab nano /etc/apt/sources.list just delete all the respositories and uninstall table plus then install again with you correct repository depending on your ubuntu version

    if you have any question or trouble let me now!

  14. renteriadev commented on Dec 25, 2022

    @renteriadev

    This works for me, i'm using elementary os | ubuntu 20.04 LTS and my issue was (tableplus: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory)

    ### the solution for me was

    1. in you terminal put this command
      nano /etc/apt/sources.list // for check your repositories
    2. check if you have the correct repository with your ubuntu actual version in my case its ubuntu 20.04LTS
      Captura realizada el 2022-12-20 17 53 17
      as you can see i have this repository https://deb.tableplus.com/debian/20 with the number 20 that means it works for my ubuntu version (20.04 LTS)
    3. if you have another ubuntu version check the official page and follow instruccion regarding your ubuntu version

    pd: if you have more than one repository on this terminal tab nano /etc/apt/sources.list just delete all the respositories and uninstall table plus then install again with you correct repository depending on your ubuntu version

    if you have any question or trouble let me now!

    Hey!

    i did what you mentioned here and nothing happened.. i do not know what else I could do with this.

  15. macdabby commented on Dec 25, 2022

    @macdabby

    @renteriadev is there an error message? Try running it from the command line.

  16. 2 remaining items

  17. FrankDev-327 commented on Dec 27, 2022

    @FrankDev-327

    @renteriadev is there an error message? Try running it from the command line.

    Nop.. for example: i removed table plus from source.list (i had version. 20 and 22) And when I installed it and execute, nothing happened.. the program never ran so i dont know what is the error itself. Im gonna do it again and see if I missed any message error and I will text you back. Thanks!

    what ubuntu version do you have ?

    I have last one 22. Not sure if I need to update it or what. I really don't know

  18. dougleon16 commented on Dec 27, 2022

    @dougleon16

    @renteriadev is there an error message? Try running it from the command line.

    Nop.. for example: i removed table plus from source.list (i had version. 20 and 22) And when I installed it and execute, nothing happened.. the program never ran so i dont know what is the error itself. Im gonna do it again and see if I missed any message error and I will text you back. Thanks!

    what ubuntu version do you have ?

    I have last one 22. Not sure if I need to update it or what. I really don't know

    put this command nano etc/apt/sources.list and take a screenshot, just to make sure

  19. nathansalter commented on Jan 17, 2023

    @nathansalter

    Also having the same error since upgrading to 22.04:

    $ tableplus 
    tableplus: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
    

    Looks like the version auto-installed in 22.04 is 2.5:

    $ sudo apt-cache search libldap
    libldap-2.5-0 - OpenLDAP libraries
    ...
    

    Could install version 2.4 manually, but concerned that this might cause other problems in the system.

  20. macdabby commented on Jan 17, 2023

    @macdabby

    Since it's just a lib, i don't think there's any risk. It wont be loaded unless another app loads it. It doesn't replace a different version since it's just missing. I've had it installed for several months without issues.

    Could install version 2.4 manually, but concerned that this might cause other problems in the system.

  21. huyphams commented on Jan 30, 2023

    @huyphams
    Contributor

    TablePlus only supports x86, so anyone with Arm64 will not be able to run it. I'm playing around with app image. Hopefully I can build a arm and x86 version.

  22. macdabby commented on Jan 30, 2023

    @macdabby

    That's good to know, but I am on 64bit intel. That should be x86 compatible, right? Also if it was not compatible I believe the OS would report a code error and we wouldn't see the connection window for a split second.

  23. nathansalter commented on Feb 7, 2023

    @nathansalter

    I fixed this issue for me by downloading LDAP 2.4 manually from this link: https://packages.ubuntu.com/focal/libldap-2.4-2 then using dpkg -i <download> to manually install. Oddly enough this didn't fix it, but then re-installing tableplus did resolve the issue.

  24. felixRamowda commented on May 11, 2023

    @felixRamowda

    I get this error in the console:

    tableplus: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by tableplus) tableplus: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by tableplus)
    tableplus: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by tableplus)
    tableplus: /usr/lib/x86_64-linux-gnu/libjson-glib-1.0.so.0: no version information available (required by tableplus)

    my version is `GLIBC_2.31'.

  25. benounnas commented on Oct 12, 2023

    @benounnas

    This works for me, i'm using elementary os | ubuntu 20.04 LTS and my issue was (tableplus: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory)

    ### the solution for me was

    1. in you terminal put this command
       ` nano /etc/apt/sources.list // for check your repositories`
    
    2. check if you have the correct repository with your ubuntu actual version in my case its ubuntu 20.04LTS
       ![Captura realizada el 2022-12-20 17 53 17](https://user-images.githubusercontent.com/44105136/208781908-48aa8f64-328b-4fe9-90e5-e96c9f44bcdd.png)
       as you can see i have this repository  `  https://deb.tableplus.com/debian/20`   with the number 20 that means it works for my ubuntu version (20.04 LTS)
    
    3. if you have another ubuntu version check the [official page](https://tableplus.com/blog/2019/10/tableplus-linux-installation.html) and follow instruccion regarding your ubuntu version
    

    pd: if you have more than one repository on this terminal tab nano /etc/apt/sources.list just delete all the respositories and uninstall table plus then install again with you correct repository depending on your ubuntu version

    if you have any question or trouble let me now!

    it worked thanks

  26. GeomaticaNet commented on Jan 6, 2024

    @GeomaticaNet

    any help?, im in ubuntu 22.04 and i have dependencies issues:

    sudo apt install tableplus
    Leyendo lista de paquetes... Hecho
    Creando árbol de dependencias... Hecho
    Leyendo la información de estado... Hecho
    No se pudieron instalar algunos paquetes. Esto puede significar que
    usted pidió una situación imposible o, si está usando la distribución
    inestable, que algunos paquetes necesarios aún no se han creado o se
    han sacado de «Incoming».
    La siguiente información puede ayudar a resolver la situación:
    
    Los siguientes paquetes tienen dependencias incumplidas:
     libcairo2-dev : Depende: libfontconfig1-dev (>= 2.2.95)
                     Depende: libfreetype6-dev (>= 2.1.10)
     libgtk-3-dev : Depende: libfontconfig1-dev
     libharfbuzz-dev : Depende: libfreetype6-dev
     libpango1.0-dev : Depende: libfontconfig-dev (>= 2.13.0) pero no es instalable
                       Depende: libfreetype-dev (>= 2.1.7) pero no es instalable
     libpcre2-dev : Depende: libpcre2-8-0 (= 10.39-3ubuntu0.1) pero 10.40-1+ubuntu20.04.1+deb.sury.org+1 va a ser instalado
                    Depende: libpcre2-16-0 (= 10.39-3ubuntu0.1) pero 10.40-1+ubuntu20.04.1+deb.sury.org+1 va a ser instalado
                    Depende: libpcre2-32-0 (= 10.39-3ubuntu0.1) pero 10.40-1+ubuntu20.04.1+deb.sury.org+1 va a ser instalado
     libpcre3-dev : Depende: libpcre3 (= 2:8.39-13ubuntu0.22.04.1) pero 2:8.44-2+ubuntu20.04.1+deb.sury.org+1 va a ser instalado
     libxft-dev : Depende: libfontconfig1-dev
                  Depende: libfreetype6-dev
     libxml2-dev : Depende: libxml2 (= 2.9.13+dfsg-1ubuntu0.3) pero 2.9.14+dfsg-0+ubuntu20.04.1+deb.sury.org+1 va a ser instalado
    E: No se pudieron corregir los problemas, usted ha retenido paquetes rotos.
    
    
  27. john-humanpixel commented on May 9, 2024

    @john-humanpixel

    stress

  28. thiagoheron1 commented on Jul 16, 2024

    @thiagoheron1

    Hey everyone!

    I tried a lot of things, but nothing worked! So, I decided to switch to an older version, and it worked! I am using Debian 20 here.

    nano /etc/apt/sources.list // for check your repositories
    deb [arch=amd64] https://deb.tableplus.com/debian/20 tableplus main

  29. trldebrito commented on Aug 5, 2024

    @trldebrito

    I fixed this issue for me by downloading LDAP 2.4 manually from this link: https://packages.ubuntu.com/focal/libldap-2.4-2 then using dpkg -i <download> to manually install. Oddly enough this didn't fix it, but then re-installing tableplus did resolve the issue.

    This really worked for me.
    I'm using Linux Mint 22.
    Thank you so much.

  30. niranjannnnnn commented on Oct 19, 2024

    @niranjannnnnn

    @renteriadev is there an error message? Try running it from the command line.

    Nop.. for example: i removed table plus from source.list (i had version. 20 and 22) And when I installed it and execute, nothing happened.. the program never ran so i dont know what is the error itself. Im gonna do it again and see if I missed any message error and I will text you back. Thanks!

    Did you solve the issue lol, its been 2 years, anyways the app is opening up for me for a solid 2 seconds then closes immediately, any idea on what to do for it

  31. wesort commented on Dec 17, 2024

    @wesort

    I'm seeing this issue today: launch Tableplus > crashes within a second.

    • Tableplus: 0.1.258
    • Chromebox: Version 132.0.6834.39 (Official Build) beta (64-bit)
    • Linus: Debian GNU/Linux 12 (bookworm)

    Have run: sudo apt update && sudo apt upgrade

    I haven't tried to open Tableplus in a few months so I'm unsure when this started.

    Screen.recording.2024-12-17.14.44.38.webm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions