Challenge to run gpt4all on Leap 15.5

Hello everyone, :raised_hand_with_fingers_splayed:

I’ve been trying to install gpt4all for the last couple of days on my openSUSE Leap 15.5 system.

I tried two ways:

  • First: Installation via the .run file. After installation and the command ./chat
    GPT4All
    I get an error because Leap is running on glibc-2.31, missing more recent glibc versions:

~/gpt4all/bin> ./chat
./chat: /lib64/libc.so.6: version GLIBC_2.34' not found (required by ./chat) ./chat: /lib64/libc.so.6: version GLIBC_2.32’ not found (required by /home/xyz/gpt4all/bin/…/lib/libllmodel.so.0)
./chat: /lib64/libc.so.6: version GLIBC_2.34' not found (required by /home/xyz/gpt4all/bin/../lib/libllmodel.so.0) ./chat: /lib64/libc.so.6: version GLIBC_2.34’ not found (required by /home/xyz/gpt4all/bin/…/lib/libgmodule-2.0.so.0)
./chat: /lib64/libc.so.6: version GLIBC_2.33' not found (required by /home/xyz/gpt4all/bin/../lib/libglib-2.0.so.0) ./chat: /lib64/libc.so.6: version GLIBC_2.32’ not found (required by /home/xyz/gpt4all/bin/…/lib/libglib-2.0.so.0)
./chat: /lib64/libc.so.6: version GLIBC_2.34' not found (required by /home/xyz/gpt4all/bin/../lib/libglib-2.0.so.0) ./chat: /lib64/libc.so.6: version GLIBC_2.33’ not found (required by /home/xyz/gpt4all/bin/…/lib/libgssapi_krb5.so.2)
./chat: /lib64/libc.so.6: version GLIBC_2.33' not found (required by /home/xyz/gpt4all/bin/../lib/libxkbcommon.so.0) ./chat: /lib64/libc.so.6: version GLIBC_2.33’ not found (required by /home/xyz/gpt4all/bin/…/lib/libkrb5.so.3)
./chat: /lib64/libc.so.6: version GLIBC_2.34' not found (required by /home/xyz/gpt4all/bin/../lib/libkrb5.so.3) ./chat: /lib64/libc.so.6: version GLIBC_2.33’ not found (required by /home/xyz/gpt4all/bin/…/lib/libk5crypto.so.3)
./chat: /lib64/libc.so.6: version GLIBC_2.33' not found (required by /home/xyz/gpt4all/bin/../lib/libkrb5support.so.0) ./chat: /lib64/libc.so.6: version GLIBC_2.34’ not found (required by /home/xyz/gpt4all/bin/…/lib/libkrb5support.so.0)
./chat: /lib64/libc.so.6: version GLIBC_2.33' not found (required by /home/xyz/gpt4all/bin/../lib/libdbus-1.so.3) ./chat: /lib64/libc.so.6: version GLIBC_2.34’ not found (required by /home/xyz/gpt4all/bin/…/lib/libdbus-1.so.3)

I assume one can build from source in a more eloquent way than using this Qt Creator. I’m not an ‘IT guy’, I have been running openSUSE for a couple of years. I know how to get by with it and I appreciate its relative ease of use. But yea, building gpt4all from source is a challenge I fail at even with those instructions.

I would appreciate hints and advice to get gpt4all run on openSUSE 15.5. :pray: Any idea how to solve the glibc issue, or could some one provide an instruction how to build from source in a different way than the developers provided? Much appreciation for any help in advance!

Have a good week,
Thomas

Here is the main github page:

@ThomasK Hi, Look at using distrobox and tumbleweed and build there…

1 Like

There is a gpt4all docker - just install docker and gpt4all and go.

Docker!

1 Like

@malcolmlewis Thank you. Instead of building via tumbleweed in distrobox, could I try using the .run installer this way?

@larryr Thank you. I ve never used docker before. When I click on the Dockerfile source, I get a 404 error. Is it out of date?
https://github.com/runpod/containers/tree/main/gpt4all

@ThomasK you will need to use Tumbleweed for glibc support…

1 Like

Yes, I mean: Use Tumbleweed via Distrobox, and then use the .run installer instead of building from source. Does this make sense? This is probably much easier for me to do if possible.

@ThomasK sure that should work fine.

1 Like

@malcolmlewis This worked smoothly. Amazing. Thanks a lot. Was anticipating more hassle to be honest.

Though the performance is struggling. Could the way I run it via Distrobox be a factor here?

The models that are described as “Fast responses” are doing fine but CPU capacity is at max.

The larger models are super super slow.

Intel Core i7-5500U, 8 GB RAM.

@ThomasK likely, perhaps try compiling? Create another distrobox and test…