Skip to content

Commit

Permalink
doc: update README
Browse files Browse the repository at this point in the history
Signed-off-by: Jian Zeng <[email protected]>
  • Loading branch information
knight42 committed Jan 28, 2024
1 parent a580f80 commit e2c28bb
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ README
- [Requirements](#requirements)
- [Quickstart](#quickstart)
- [Handbook](#handbook)
- [Troubleshooting](#troubleshooting)
- [Development](#development)

Sync local repositories with remote.
Expand Down Expand Up @@ -109,30 +108,6 @@ For post sync hook, the environment variables that are passed to the hook script
* `Dir` -> `DIR`: the directory of the repository
* `Name` -> `NAME`: the name of the repository

## Troubleshooting

### version `GLIBC_2.XX' not found

You might encounter the following error when running yukid:

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

This is because `yukid` is complied with CGO enabled, which is required by https://github.com/mattn/go-sqlite3.
The version of glibc that is linked to `yukid` might differ from the actual one that exists on your current machine.
You will need to compile `yukid` on your current machine or run `yukid` in container.

Tips:
* To check your current glibc version:
```
$ /lib/x86_64-linux-gnu/libc.so.6 | grep -i glibc
```
* The docker images of `yukid`: https://github.com/ustclug/Yuki/pkgs/container/yukid

## Development

* Build `yukid`:
Expand Down

0 comments on commit e2c28bb

Please sign in to comment.