windows上操作git的服务器搭建好了ssh连接登录都可以,
就是使用git的命令之后出现下面的错误,该试的方法都试了,
国外的网站的方法也看了,不管用,不知道是不是哪里的问题没处理到。
git@joky /home/git/test.git
$ git init --bare
/usr/bin/git.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory
Please provide more information, such as
windows
的版本,git
服务器的软件和版本,git
your own software and version, otherwise I will not be able to reproduce your problem.Judging from the error message, it indicates that the dynamic library file is missing. It is guessed that it may be an installation problem of the
git
software. You can try git for windows.The problem has been solved. It took more than two weeks. The git server on Windows is faster to build on Linux. .
The solution is still solved by foreign blogs,
This is how it was originally done, but due to the slash problem in the path, it should be the opposite on Windows, as in the following example
!gitpath='C:Gitbin'
gitcorepath='C:Gitmingw32libexecgit-core'
export PATH="/bin :$gitpath:$gitcorepath
The result has always been tragic. However, I always knew that the problem was a path problem, but I just didn’t know how to configure it. Now that the problem is solved, I hope this problem will be helpful to everyone
It turns out that you stole this name and I couldn’t register it with git→_→
Use Gogs, just use an exe software and run it