使用最新版的脚本在centos7安装ss-libev版本抱错

问答中心分类: OneinStack使用最新版的脚本在centos7安装ss-libev版本抱错
jetkoo 提问 5月 前

libtool: warning: ‘-version-info/-version-number’ is ignored for convenience libraries
CC crypto_onetimeauth/poly1305/sse2/libsse2_la-poly1305_sse2.lo
CC crypto_pwhash/scryptsalsa208sha256/sse/libsse2_la-pwhash_scryptsalsa208sha256_sse.lo
CCLD libsse2.la
libtool: warning: ‘-version-info/-version-number’ is ignored for convenience libraries
CC crypto_generichash/blake2b/ref/libssse3_la-blake2b-compress-ssse3.lo
CC crypto_pwhash/argon2/libssse3_la-argon2-fill-block-ssse3.lo
CC crypto_stream/chacha20/dolbeau/libssse3_la-chacha20_dolbeau-ssse3.lo
CCLD libssse3.la
libtool: warning: ‘-version-info/-version-number’ is ignored for convenience libraries
CC crypto_generichash/blake2b/ref/libsse41_la-blake2b-compress-sse41.lo
CCLD libsse41.la
libtool: warning: ‘-version-info/-version-number’ is ignored for convenience libraries
CC crypto_generichash/blake2b/ref/libavx2_la-blake2b-compress-avx2.lo
CC crypto_pwhash/argon2/libavx2_la-argon2-fill-block-avx2.lo
CC crypto_stream/chacha20/dolbeau/libavx2_la-chacha20_dolbeau-avx2.lo
CC crypto_stream/salsa20/xmm6int/libavx2_la-salsa20_xmm6int-avx2.lo
CCLD libavx2.la
libtool: warning: ‘-version-info/-version-number’ is ignored for convenience libraries
CC crypto_pwhash/argon2/libavx512f_la-argon2-fill-block-avx512f.lo
CCLD libavx512f.la
libtool: warning: ‘-version-info/-version-number’ is ignored for convenience libraries
CC randombytes/salsa20/librdrand_la-randombytes_salsa20_random.lo
CCLD librdrand.la
libtool: warning: ‘-version-info/-version-number’ is ignored for convenience libraries
CCLD libsodium.la
make[3]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/src/libsodium’
make[2]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/src/libsodium’
make[2]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/src’
make[2]: Nothing to be done for `all-am’.
make[2]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/src’
make[1]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/src’
Making all in test
make[1]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/test’
Making all in default
make[2]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/test/default’
make[2]: Nothing to be done for `all’.
make[2]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/test/default’
make[2]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/test’
make[2]: Nothing to be done for `all-am’.
make[2]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/test’
make[1]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/test’
make[1]: Entering directory `/root/oneinstack/src/libsodium-1.0.16′
make[1]: Nothing to be done for `all-am’.
make[1]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16′
Making install in builds
make[1]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/builds’
make[2]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/builds’
make[2]: Nothing to be done for `install-exec-am’.
make[2]: Nothing to be done for `install-data-am’.
make[2]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/builds’
make[1]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/builds’
Making install in contrib
make[1]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/contrib’
make[2]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/contrib’
make[2]: Nothing to be done for `install-exec-am’.
make[2]: Nothing to be done for `install-data-am’.
make[2]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/contrib’
make[1]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/contrib’
Making install in dist-build
make[1]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/dist-build’
make[2]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/dist-build’
make[2]: Nothing to be done for `install-exec-am’.
make[2]: Nothing to be done for `install-data-am’.
make[2]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/dist-build’
make[1]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/dist-build’
Making install in msvc-scripts
make[1]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/msvc-scripts’
make[2]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/msvc-scripts’
make[2]: Nothing to be done for `install-exec-am’.
make[2]: Nothing to be done for `install-data-am’.
make[2]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/msvc-scripts’
make[1]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/msvc-scripts’
Making install in src
make[1]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/src’
Making install in libsodium
make[2]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/src/libsodium’
Making install in include
make[3]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/src/libsodium/include’
make[4]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/src/libsodium/include’
make[4]: Nothing to be done for `install-exec-am’.
/bin/mkdir -p ‘/usr/local/include’
/bin/mkdir -p ‘/usr/local/include/sodium’
/bin/install -c -m 644 sodium/core.h sodium/crypto_aead_aes256gcm.h sodium/crypto_aead_chacha20poly1305.h sodium/crypto_aead_xchacha20poly1305.h sodium/crypto_auth.h sodium/crypto_auth_hmacsha256.h sodium/crypto_auth_hmacsha512.h sodium/crypto_auth_hmacsha512256.h sodium/crypto_box.h sodium/crypto_box_curve25519xchacha20poly1305.h sodium/crypto_box_curve25519xsalsa20poly1305.h sodium/crypto_core_ed25519.h sodium/crypto_core_hchacha20.h sodium/crypto_core_hsalsa20.h sodium/crypto_core_salsa20.h sodium/crypto_core_salsa2012.h sodium/crypto_core_salsa208.h sodium/crypto_generichash.h sodium/crypto_generichash_blake2b.h sodium/crypto_hash.h sodium/crypto_hash_sha256.h sodium/crypto_hash_sha512.h sodium/crypto_kdf.h sodium/crypto_kdf_blake2b.h sodium/crypto_kx.h sodium/crypto_onetimeauth.h sodium/crypto_onetimeauth_poly1305.h sodium/crypto_pwhash.h sodium/crypto_pwhash_argon2i.h sodium/crypto_pwhash_argon2id.h sodium/crypto_pwhash_scryptsalsa208sha256.h sodium/crypto_scalarmult.h sodium/crypto_scalarmult_curve25519.h sodium/crypto_scalarmult_ed25519.h sodium/crypto_secretbox.h sodium/crypto_secretbox_xchacha20poly1305.h sodium/crypto_secretbox_xsalsa20poly1305.h sodium/crypto_secretstream_xchacha20poly1305.h sodium/crypto_shorthash.h sodium/crypto_shorthash_siphash24.h ‘/usr/local/include/sodium’
/bin/mkdir -p ‘/usr/local/include/sodium’
/bin/install -c -m 644 sodium/crypto_sign.h sodium/crypto_sign_ed25519.h sodium/crypto_sign_edwards25519sha512batch.h sodium/crypto_stream.h sodium/crypto_stream_chacha20.h sodium/crypto_stream_salsa20.h sodium/crypto_stream_salsa2012.h sodium/crypto_stream_salsa208.h sodium/crypto_stream_xchacha20.h sodium/crypto_stream_xsalsa20.h sodium/crypto_verify_16.h sodium/crypto_verify_32.h sodium/crypto_verify_64.h sodium/export.h sodium/randombytes.h sodium/randombytes_salsa20_random.h sodium/randombytes_sysrandom.h sodium/runtime.h sodium/utils.h ‘/usr/local/include/sodium’
/bin/install -c -m 644 sodium.h ‘/usr/local/include/.’
/bin/mkdir -p ‘/usr/local/include’
/bin/mkdir -p ‘/usr/local/include/sodium’
/bin/install -c -m 644 sodium/version.h ‘/usr/local/include/sodium’
make[4]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/src/libsodium/include’
make[3]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/src/libsodium/include’
make[3]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/src/libsodium’
make[4]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/src/libsodium’
/bin/mkdir -p ‘/usr/local/lib’
/bin/sh ../../libtool –mode=install /bin/install -c libsodium.la ‘/usr/local/lib’
libtool: install: /bin/install -c .libs/libsodium.so.23.1.0 /usr/local/lib/libsodium.so.23.1.0
libtool: install: (cd /usr/local/lib && { ln -s -f libsodium.so.23.1.0 libsodium.so.23 || { rm -f libsodium.so.23 && ln -s libsodium.so.23.1.0 libsodium.so.23; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libsodium.so.23.1.0 libsodium.so || { rm -f libsodium.so && ln -s libsodium.so.23.1.0 libsodium.so; }; })
libtool: install: /bin/install -c .libs/libsodium.lai /usr/local/lib/libsodium.la
libtool: install: /bin/install -c .libs/libsodium.a /usr/local/lib/libsodium.a
libtool: install: chmod 644 /usr/local/lib/libsodium.a
libtool: install: ranlib /usr/local/lib/libsodium.a
libtool: finish: PATH=”/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/sbin” ldconfig -n /usr/local/lib
———————————————————————-
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the ‘-LLIBDIR’
flag during linking and do at least one of the following:
– add LIBDIR to the ‘LD_LIBRARY_PATH’ environment variable
during execution
– add LIBDIR to the ‘LD_RUN_PATH’ environment variable
during linking
– use the ‘-Wl,-rpath -Wl,LIBDIR’ linker flag
– have your system administrator add LIBDIR to ‘/etc/ld.so.conf’
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
———————————————————————-
make[4]: Nothing to be done for `install-data-am’.
make[4]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/src/libsodium’
make[3]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/src/libsodium’
make[2]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/src/libsodium’
make[2]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/src’
make[3]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/src’
make[3]: Nothing to be done for `install-exec-am’.
make[3]: Nothing to be done for `install-data-am’.
make[3]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/src’
make[2]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/src’
make[1]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/src’
Making install in test
make[1]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/test’
Making install in default
make[2]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/test/default’
make[3]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/test/default’
make[3]: Nothing to be done for `install-exec-am’.
make[3]: Nothing to be done for `install-data-am’.
make[3]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/test/default’
make[2]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/test/default’
make[2]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/test’
make[3]: Entering directory `/root/oneinstack/src/libsodium-1.0.16/test’
make[3]: Nothing to be done for `install-exec-am’.
make[3]: Nothing to be done for `install-data-am’.
make[3]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/test’
make[2]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/test’
make[1]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16/test’
make[1]: Entering directory `/root/oneinstack/src/libsodium-1.0.16′
make[2]: Entering directory `/root/oneinstack/src/libsodium-1.0.16′
make[2]: Nothing to be done for `install-exec-am’.
/bin/mkdir -p ‘/usr/local/lib/pkgconfig’
/bin/install -c -m 644 libsodium.pc ‘/usr/local/lib/pkgconfig’
make[2]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16′
make[1]: Leaving directory `/root/oneinstack/src/libsodium-1.0.16′
~/oneinstack/src ~/oneinstack
./ss.sh: line 151: pushd: mbedtls-2.7.0: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install’. Stop.
~/oneinstack
./ss.sh: line 155: pushd: shadowsocks-libev-3.1.3: No such file or directory
./ss.sh: line 156: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
./ss.sh: line 158: popd: directory stack empty
SS-libev install failed! Please visit https://oneinstack.com

问题标签:
5 问题
oneinstack 回答 5月 前

mbedtls下载不完整导致,把oneinstack/src/mbedtls* 删除从新尝试下。

wedojava 回答 5月 前
ss_local-crypto.o: In function `mbedtls_md5':
/usr/include/mbedtls/md5.h:318: undefined reference to `mbedtls_md5_ret'
ss_local-aead.o: In function `aead_cipher_decrypt':
/home/wedojava/oneinstack/src/shadowsocks-libev-3.1.3/src/aead.c:219: undefined reference to `crypto_aead_xchacha20poly1305_ietf_decrypt'
ss_local-aead.o: In function `aead_cipher_encrypt':
/home/wedojava/oneinstack/src/shadowsocks-libev-3.1.3/src/aead.c:180: undefined reference to `crypto_aead_xchacha20poly1305_ietf_encrypt'
collect2: error: ld returned 1 exit status
Makefile:677: recipe for target 'ss-local' failed
make[2]: *** [ss-local] Error 1
make[2]: Leaving directory '/home/wedojava/oneinstack/src/shadowsocks-libev-3.1.3/src'
Makefile:480: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/wedojava/oneinstack/src/shadowsocks-libev-3.1.3'
Makefile:389: recipe for target 'all' failed
make: *** [all] Error 2
/home/wedojava/oneinstack/src /home/wedojava/oneinstack SS-libev install failed! Please visit https://oneinstack.com  

我这里也是这样的报错哦!!

wedojava 回答 5月 前

删除重新尝试后报错依旧。

wedojava 回答 5月 前

选择 python 版本成功了,然后问题来了,如何控制 ss 服务的启动等操作?

oneinstack 回答 5月 前
service shadowsocks {start|stop|restart}