mirror of
https://gitee.com/spark-store-project/additional-base-lib
synced 2025-07-07 14:36:00 +08:00
update README
This commit is contained in:
parent
c242e3949a
commit
580a27c932
@ -10,11 +10,11 @@ That's because the application build with higher glibc then running. Someone cho
|
||||
|
||||
#### License
|
||||
|
||||
There's no license restriction with scripts such as ablrun. All the library files are taken from debian 12, their original license should followed.
|
||||
There's no license restriction with scripts such as ablrun. All the library files are taken from some GNU/Linux distribution, their original license should followed.
|
||||
|
||||
#### Notes
|
||||
|
||||
1. Tested in deepin, but it's also albe to run on other distro based on debian amd64. And It's easy to port to other GNU/Linux platform.
|
||||
1. Tested in deepin, but it's also albe to run on other distro based on debian. And It's easy to port to other GNU/Linux platform.
|
||||
2. It use bwrap, as a result, some application may not run, such as ones use there own container or ones need to mount filesystem. But appimages will run, because I designed a special method to support.
|
||||
3. Also include a single libstdc++ library with glibc, because this problem is as often as that with glibc.
|
||||
4. You may use LD_LIBRARY_PATH environment variable with ablrun to search libraries in other directories, which may solve some other library problem.
|
||||
@ -22,7 +22,7 @@ There's no license restriction with scripts such as ablrun. All the library file
|
||||
|
||||
#### Usage
|
||||
|
||||
Install additional-base-lib debian package first:
|
||||
Install additional-base-lib debian package first (You may download from the right side, Releases section.):
|
||||
`sudo apt install "path/to/package_name.deb"`
|
||||
|
||||
Then you can run command, that contains glibc problem, led by ablrun and a space:
|
||||
@ -42,3 +42,6 @@ https://bbs.deepin.org/post/256081
|
||||
|
||||
A help for someone like to port this script to other GNU/Linux platform (in Chinese):
|
||||
https://bbs.deepin.org/post/258721
|
||||
|
||||
#### Customize
|
||||
If the released package cannot fit your needs (such as library version, architecture), you may try make-deb.sh to create your own additional base lib. Download the project, and edit the script, change 3 URLs for download packages to which you want. You may found many version and architectures from debian page: https://www.debian.org/distrib/packages, and then run the script make-deb.sh. It will auto-detect achitecture of packages, and take corresponding methods.
|
||||
|
11
README.md
11
README.md
@ -10,18 +10,18 @@
|
||||
|
||||
#### 许可
|
||||
|
||||
ablrun等脚本文件没有许可证限制。附带的glibc等动态库文件源自debian 12,请遵守相应的许可。
|
||||
ablrun等脚本文件没有许可证限制。附带的glibc等动态库文件都是取自一些GNU/Linux发行版的,请遵守相应的许可。
|
||||
|
||||
#### 注意事项
|
||||
|
||||
1. 只在deepin测试过,但应该能在所有debian系发行版上运行。目前只支持amd64,但是移植到其他发行版平台也很容易。
|
||||
1. 只在deepin测试过,但应该能在所有debian系发行版上运行。移植到其他发行版平台也很容易。
|
||||
2. 由于使用了bwrap容器环境,因此有些程序不能运行的,比如说在程序内部使用了容器技术或者需要挂载文件系统的程序就不行。appimage是例外,因为我专门设计了单独的方案去运行他。
|
||||
3. 在glibc之外还打包了一个libstdc++的动态库,因为这个问题也比较常见。
|
||||
4. 你可以在使用ablrun的同时使用LD_LIBRARY_PATH环境变量改变动态库寻找的位置,解决一些其他动态库问题。
|
||||
|
||||
#### 用法
|
||||
|
||||
首先需要安装additional-base-lib的debian包:
|
||||
首先需要安装additional-base-lib的debian包(请在右侧发行版处下载):
|
||||
`sudo apt install "path/to/package_name.deb"`
|
||||
|
||||
此后只需要在出现glibc问题的命令前面,加上ablrun和空格即可:
|
||||
@ -39,4 +39,7 @@ https://bbs.deepin.org/post/256555
|
||||
https://bbs.deepin.org/post/256081
|
||||
|
||||
想要移植程序到其他系统或平台的,可以参考:
|
||||
https://bbs.deepin.org/post/258721
|
||||
https://bbs.deepin.org/post/258721
|
||||
|
||||
#### 定制
|
||||
如果这里发布的deb包不符合你的要求(库版本、架构),你可以使用make-deb.sh创造你自己的附加基础库。你需要将项目下载到本地,然后编辑这个脚本,把三个包的下载链接改成你想要的即可。你可以在debian的网站找到各种版本和架构的下载链接:https://www.debian.org/distrib/packages,然后在当前目录中执行make-deb.sh即可。他会自动识别软件包的架构并采取相应方案。
|
||||
|
Loading…
x
Reference in New Issue
Block a user