Skip to content

update to latest version but run error with glibc #8002

@somewheve

Description

@somewheve

Gogs version

gogs/gogs:latest

Git version

  • Server: Linux VM-0-8-ubuntu 5.4.0-153-generic Repository folder path #170-Ubuntu SMP Fri Jun 16 13:43:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
  • Client:

Operating system

Ubuntu 20.04.6 LTS

Database

sqlite3

Describe the bug

wget https://github.com/gogs/gogs/releases/download/v0.13.3/gogs_0.13.3_linux_amd64.tar.gz
tar -zxvf  gogs_0.13.3_linux_amd64.tar.gz
cd gogs && ./gogs web 

but error happens.

./gogs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./gogs)
./gogs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./gogs)
./gogs: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./gogs)

i try to solution

wget https://ftp.gnu.org/gnu/glibc/glibc-2.35.tar.gz
tar -xzf glibc-2.35.tar.gz
cd glibc-2.35
mkdir build && cd build
../configure --prefix=/opt/glibc-2.35
make -j$(nproc)
sudo make install

# 临时运行程序
LD_LIBRARY_PATH=/opt/glibc-2.35/lib ./gogs web 

but i got error

Segmentation fault 

To reproduce

up

Expected behavior

work !

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    💊 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy