I created a git repository on the openwrt router, but I got the error on my mac

289 Views Asked by At

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*

I installed git, run git got the error:

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

Add path in /etc/profile solved this error:

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

I got a new error when git clone on my mac:

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

Looks like an error when running git on the router,please help me.

0

There are 0 best solutions below