我在openwrt路由器上创建了一个git存储库,但是在我的Mac上收到了错误

时间:2019-03-16 10:25:37

标签: git openwrt opkg

opkg.conf:

src/gz chaos_calmer_base http://downloads.openwrt.org/chaos_calmer/15.05/bcm53xx/generic/packages/base/
src/gz chaos_calmer_packages http://downloads.openwrt.org/chaos_calmer/15.05/bcm53xx/generic/packages/packages/
dest root /data
dest ram /tmp
lists_dir ext /data/var/opkg-lists
option overlay_root /data
arch all 1
arch noarch 1
arch bcm53xx 10*

我安装了git,运行git报错:

git: symbol '__ctype_b': can't resolve symbol

在/ etc / profile中添加路径解决了该错误:

Export LD_LIBRARY_PATH='/data/lib:/data/usr/lib:/lib:/usr/lib'

在我的mac上克隆git时出现新错误:

git-upload-pack: symbol '__ctype_b': can't resolve symbol
fatal: Could not read from remote repository.

在路由器上运行git时出现错误,请帮助我。

0 个答案:

没有答案