Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking error when installing uwsgi with pip in virtualenv #1516

Closed
TheSalarKhan opened this issue Apr 24, 2017 · 21 comments
Closed

Linking error when installing uwsgi with pip in virtualenv #1516

TheSalarKhan opened this issue Apr 24, 2017 · 21 comments

Comments

@TheSalarKhan
Copy link

Hello,
I'm getting my Django application ready for production, as a requisite I am trying to install uwsgi in a virtual env using the following command

$ pip install uwsgi

During the install when it is linking I get the following error:

core/subscription.o: In function `uwsgi_remove_subscribe_node':
    subscription.c:(.text+0x9da): undefined reference to `EVP_MD_CTX_free'
    subscription.c:(.text+0xa0e): undefined reference to `EVP_MD_CTX_free'
    core/subscription.o: In function `subscription_new_sign_ctx':
    subscription.c:(.text+0x147d): undefined reference to `EVP_MD_CTX_new'
    subscription.c:(.text+0x14fe): undefined reference to `EVP_MD_CTX_free'
    core/ssl.o: In function `uwsgi_ssl_init':
    ssl.c:(.text+0xb9): undefined reference to `OPENSSL_init_ssl'
    ssl.c:(.text+0xc5): undefined reference to `OPENSSL_init_ssl'
    ssl.c:(.text+0xd1): undefined reference to `OPENSSL_init_crypto'
    core/ssl.o: In function `uwsgi_ssl_new_server_context':
    ssl.c:(.text+0x21f): undefined reference to `TLS_server_method'
    ssl.c:(.text+0x2ef): undefined reference to `SSL_CTX_set_options'
    ssl.c:(.text+0x32b): undefined reference to `SSL_CTX_set_options'
    ssl.c:(.text+0x506): undefined reference to `SSL_CTX_set_options'
    core/ssl.o: In function `uwsgi_rsa_sign':
    ssl.c:(.text+0x7ec): undefined reference to `EVP_MD_CTX_new'
    ssl.c:(.text+0x872): undefined reference to `EVP_MD_CTX_free'
    ssl.c:(.text+0x9a5): undefined reference to `EVP_MD_CTX_free'
    core/ssl.o: In function `uwsgi_sni_cb':
    ssl.c:(.text+0xf0b): undefined reference to `SSL_CTX_get_options'
    ssl.c:(.text+0xf16): undefined reference to `SSL_set_options'
    collect2: error: ld returned 1 exit status
    *** error linking uWSGI ***

From what I know, this is a link error, I thought it cannot find openssl, but I have openssl installed - I think. I'm using Ubuntu 16.04 x86_64. Any help would be appreciated. Thank you! :)

@TheSalarKhan
Copy link
Author

I installed openssl using the following command

$ sudo apt-get install openssl

@TheSalarKhan TheSalarKhan changed the title Linking error when installing uwsgi with pip Linking error when installing uwsgi with pip in virtualenv Apr 24, 2017
@unbit
Copy link
Owner

unbit commented Apr 24, 2017

Hi, you have to install libssl-dev (or equivalent)

@TheSalarKhan
Copy link
Author

Hi! I just ran this, it says its already installed.

$ sudo apt-get install libssl-dev
 Reading package lists... Done
 Building dependency tree       
 Reading state information... Done
 libssl-dev is already the newest version (1.0.2g-1ubuntu4.6).
 0 upgraded, 0 newly installed, 0 to remove and 90 not upgraded.
 (uwsgi-tutorial) salar@viper:~/uwsgi-tutorial$ 

I retried installing but no luck. Let me know If you need any other info. :)

@TheSalarKhan
Copy link
Author

@sengaya
Copy link

sengaya commented Jul 12, 2017

Same problem here, libssl-dev is already installed.

@gralance
Copy link

gralance commented Dec 8, 2017

Same problem here, install uwsgi 2.0.15 in pypy 5.9 and python 3.5.3 in Ubuntu 16.04
openssl 1.0.2g

@OnlyBelter
Copy link

OnlyBelter commented Dec 21, 2017

Same problem, I use CentOS 7.4, anaconda3 v5.0.1, in a virtual environment of python 3.5

my error info
Collecting uwsgi
  Using cached uwsgi-2.0.15.tar.gz
Building wheels for collected packages: uwsgi
  Running setup.py bdist_wheel for uwsgi ... error
  Complete output from command /home/met2017/anaconda3/envs/django-py35/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ky2m56d5/uwsgi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpnzi7g35xpip-wheel- --python-tag cp35:
  /home/met2017/anaconda3/envs/django-py35/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'descriptions'
    warnings.warn(msg)
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib
  copying uwsgidecorators.py -> build/lib
  installing to build/bdist.linux-x86_64/wheel
  running install
  using profile: buildconf/default.ini
  detected include path: ['/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include', '/usr/local/include', '/usr/include']
  Patching "bin_name" to properly install_scripts dir
  detected CPU cores: 8
  configured CFLAGS: -O2 -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-format -Wno-format-security -DUWSGI_HAS_IFADDRS -DUWSGI_ZLIB -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY -I/home/met2017/anaconda3/envs/django-py35/include -DUWSGI_PCRE -DUWSGI_ROUTING -DUWSGI_VERSION="\"2.0.15\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="15" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_YAML -DUWSGI_SSL -I/home/met2017/anaconda3/envs/django-py35/include/libxml2 -I/home/met2017/anaconda3/envs/django-py35/include -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_PLUGIN_DIR="\".\"" -DUWSGI_DECLARE_EMBEDDED_PLUGINS="UDEP(python);UDEP(gevent);UDEP(ping);UDEP(cache);UDEP(nagios);UDEP(rrdtool);UDEP(carbon);UDEP(rpc);UDEP(corerouter);UDEP(fastrouter);UDEP(http);UDEP(ugreen);UDEP(signal);UDEP(syslog);UDEP(rsyslog);UDEP(logsocket);UDEP(router_uwsgi);UDEP(router_redirect);UDEP(router_basicauth);UDEP(zergpool);UDEP(redislog);UDEP(mongodblog);UDEP(router_rewrite);UDEP(router_http);UDEP(logfile);UDEP(router_cache);UDEP(rawrouter);UDEP(router_static);UDEP(sslrouter);UDEP(spooler);UDEP(cheaper_busyness);UDEP(symcall);UDEP(transformation_tofile);UDEP(transformation_gzip);UDEP(transformation_chunked);UDEP(transformation_offload);UDEP(router_memcached);UDEP(router_redis);UDEP(router_hash);UDEP(router_expires);UDEP(router_metrics);UDEP(transformation_template);UDEP(stats_pusher_socket);" -DUWSGI_LOAD_EMBEDDED_PLUGINS="ULEP(python);ULEP(gevent);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(rrdtool);ULEP(carbon);ULEP(rpc);ULEP(corerouter);ULEP(fastrouter);ULEP(http);ULEP(ugreen);ULEP(signal);ULEP(syslog);ULEP(rsyslog);ULEP(logsocket);ULEP(router_uwsgi);ULEP(router_redirect);ULEP(router_basicauth);ULEP(zergpool);ULEP(redislog);ULEP(mongodblog);ULEP(router_rewrite);ULEP(router_http);ULEP(logfile);ULEP(router_cache);ULEP(rawrouter);ULEP(router_static);ULEP(sslrouter);ULEP(spooler);ULEP(cheaper_busyness);ULEP(symcall);ULEP(transformation_tofile);ULEP(transformation_gzip);ULEP(transformation_chunked);ULEP(transformation_offload);ULEP(router_memcached);ULEP(router_redis);ULEP(router_hash);ULEP(router_expires);ULEP(router_metrics);ULEP(transformation_template);ULEP(stats_pusher_socket);"
  *** uWSGI compiling server core ***
  [thread 2][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/utils.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/protocol.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/socket.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/logging.o
  [thread 6][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/master.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/master_utils.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/emperor.o
  [thread 0][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/notify.o
  [thread 0][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/mule.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/subscription.o
  [thread 6][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/stats.o
  [thread 0][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/sendfile.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/async.o
  [thread 0][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/master_checks.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/fifo.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/offload.o
  [thread 6][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/io.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/static.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/websockets.o
  [thread 0][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/spooler.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/snmp.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/exceptions.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/config.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/setup_utils.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/clock.o
  [thread 6][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/init.o
  [thread 2][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/buffer.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/reader.o
  [thread 0][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/writer.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/alarm.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/cron.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/hooks.o
  [thread 6][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/plugins.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/lock.o
  [thread 2][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/cache.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/daemons.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/errors.o
  [thread 0][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/hash.o
  [thread 6][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/master_events.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/chunked.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/queue.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/event.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/signal.o
  [thread 0][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/strings.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/progress.o
  [thread 6][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/timebomb.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/ini.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/fsmon.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/mount.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/metrics.o
  [thread 0][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/plugins_builder.o
  [thread 6][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/sharedarea.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/rpc.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/gateway.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/loop.o
  [thread 0][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/cookie.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/querystring.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/rb_timers.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/transformations.o
  [thread 6][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/uwsgi.o
  [thread 0][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] proto/base.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] proto/uwsgi.o
  [thread 2][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] proto/http.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] proto/fastcgi.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] proto/scgi.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] proto/puwsgi.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] lib/linux_ns.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/zlib.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/regexp.o
  [thread 0][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/routing.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/yaml.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/ssl.o
  [thread 2][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/legion.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/xmlconf.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/dot_h.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/config_py.o
  *** uWSGI compiling embedded plugins ***
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/python/python_plugin.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/python/pyutils.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/python/pyloader.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/python/wsgi_handlers.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/python/wsgi_headers.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/python/wsgi_subhandler.o
  [thread 2][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/python/web3_subhandler.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/python/pump_subhandler.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/python/gil.o
  [thread 0][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/python/uwsgi_pymodule.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/python/profiler.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/python/symimporter.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/python/tracebacker.o
  [thread 2][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/python/raw.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/gevent/gevent.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/gevent/hooks.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/ping/ping_plugin.o
  [thread 2][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/cache/cache.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/nagios/nagios.o
  [thread 6][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/rrdtool/rrdtool.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/carbon/carbon.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/rpc/rpc_plugin.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/corerouter/cr_common.o
  [thread 2][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/corerouter/cr_map.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/corerouter/corerouter.o
  [thread 6][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/fastrouter/fastrouter.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/http/http.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/http/keepalive.o
  [thread 2][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/http/https.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/http/spdy3.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/ugreen/ugreen.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/signal/signal_plugin.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/syslog/syslog_plugin.o
  [thread 6][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/rsyslog/rsyslog_plugin.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/logsocket/logsocket_plugin.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/router_uwsgi/router_uwsgi.o
  [thread 6][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/router_redirect/router_redirect.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/router_basicauth/router_basicauth.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/zergpool/zergpool.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/redislog/redislog_plugin.o
  [thread 0][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/mongodblog/mongodblog_plugin.o
  [thread 2][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/router_rewrite/router_rewrite.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/router_http/router_http.o
  [thread 6][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/logfile/logfile.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/router_cache/router_cache.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/rawrouter/rawrouter.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/router_static/router_static.o
  [thread 0][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/sslrouter/sslrouter.o
  [thread 2][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/spooler/spooler_plugin.o
  [thread 6][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/cheaper_busyness/cheaper_busyness.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/symcall/symcall_plugin.o
  [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/transformation_tofile/tofile.o
  [thread 2][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/transformation_gzip/gzip.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/transformation_chunked/chunked.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/transformation_offload/offload.o
  [thread 5][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/router_memcached/router_memcached.o
  [thread 6][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/router_redis/router_redis.o
  [thread 0][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/router_hash/router_hash.o
  [thread 2][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/router_expires/expires.o
  [thread 7][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/router_metrics/plugin.o
  [thread 4][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/transformation_template/tt.o
  [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] plugins/stats_pusher_socket/plugin.o
  *** uWSGI linking ***
  gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat -o build/bdist.linux-x86_64/wheel/uWSGI-2.0.15.data/scripts/uwsgi  core/utils.o core/protocol.o core/socket.o core/logging.o core/master.o core/master_utils.o core/emperor.o core/notify.o core/mule.o core/subscription.o core/stats.o core/sendfile.o core/async.o core/master_checks.o core/fifo.o core/offload.o core/io.o core/static.o core/websockets.o core/spooler.o core/snmp.o core/exceptions.o core/config.o core/setup_utils.o core/clock.o core/init.o core/buffer.o core/reader.o core/writer.o core/alarm.o core/cron.o core/hooks.o core/plugins.o core/lock.o core/cache.o core/daemons.o core/errors.o core/hash.o core/master_events.o core/chunked.o core/queue.o core/event.o core/signal.o core/strings.o core/progress.o core/timebomb.o core/ini.o core/fsmon.o core/mount.o core/metrics.o core/plugins_builder.o core/sharedarea.o core/rpc.o core/gateway.o core/loop.o core/cookie.o core/querystring.o core/rb_timers.o core/transformations.o core/uwsgi.o proto/base.o proto/uwsgi.o proto/http.o proto/fastcgi.o proto/scgi.o proto/puwsgi.o lib/linux_ns.o core/zlib.o core/regexp.o core/routing.o core/yaml.o core/ssl.o core/legion.o core/xmlconf.o core/dot_h.o core/config_py.o plugins/python/python_plugin.o plugins/python/pyutils.o plugins/python/pyloader.o plugins/python/wsgi_handlers.o plugins/python/wsgi_headers.o plugins/python/wsgi_subhandler.o plugins/python/web3_subhandler.o plugins/python/pump_subhandler.o plugins/python/gil.o plugins/python/uwsgi_pymodule.o plugins/python/profiler.o plugins/python/symimporter.o plugins/python/tracebacker.o plugins/python/raw.o plugins/gevent/gevent.o plugins/gevent/hooks.o plugins/ping/ping_plugin.o plugins/cache/cache.o plugins/nagios/nagios.o plugins/rrdtool/rrdtool.o plugins/carbon/carbon.o plugins/rpc/rpc_plugin.o plugins/corerouter/cr_common.o plugins/corerouter/cr_map.o plugins/corerouter/corerouter.o plugins/fastrouter/fastrouter.o plugins/http/http.o plugins/http/keepalive.o plugins/http/https.o plugins/http/spdy3.o plugins/ugreen/ugreen.o plugins/signal/signal_plugin.o plugins/syslog/syslog_plugin.o plugins/rsyslog/rsyslog_plugin.o plugins/logsocket/logsocket_plugin.o plugins/router_uwsgi/router_uwsgi.o plugins/router_redirect/router_redirect.o plugins/router_basicauth/router_basicauth.o plugins/zergpool/zergpool.o plugins/redislog/redislog_plugin.o plugins/mongodblog/mongodblog_plugin.o plugins/router_rewrite/router_rewrite.o plugins/router_http/router_http.o plugins/logfile/logfile.o plugins/router_cache/router_cache.o plugins/rawrouter/rawrouter.o plugins/router_static/router_static.o plugins/sslrouter/sslrouter.o plugins/spooler/spooler_plugin.o plugins/cheaper_busyness/cheaper_busyness.o plugins/symcall/symcall_plugin.o plugins/transformation_tofile/tofile.o plugins/transformation_gzip/gzip.o plugins/transformation_chunked/chunked.o plugins/transformation_offload/offload.o plugins/router_memcached/router_memcached.o plugins/router_redis/router_redis.o plugins/router_hash/router_hash.o plugins/router_expires/expires.o plugins/router_metrics/plugin.o plugins/transformation_template/tt.o plugins/stats_pusher_socket/plugin.o -lpthread -lm -rdynamic -ldl -lz -L/home/met2017/anaconda3/envs/django-py35/lib -lpcre -lssl -lcrypto -L/home/met2017/anaconda3/envs/django-py35/lib -lxml2 -L/home/met2017/anaconda3/envs/django-py35/lib -lz -L/home/met2017/anaconda3/envs/django-py35/lib -llzma -L/home/met2017/anaconda3/envs/django-py35/lib -L/home/met2017/anaconda3/envs/django-py35/lib -licui18n -licuuc -licudata -lm -ldl -lpthread -ldl -lutil -lrt -lm /home/met2017/anaconda3/envs/django-py35/lib/python3.5/config-3.5m/libpython3.5m.a -lutil -lcrypt
  /home/met2017/anaconda3/envs/django-py35/compiler_compat/ld: warning: libfreebl3.so, needed by /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libcrypt.so, not found (try using -rpath or -rpath-link)
  /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libcrypt.so: undefined reference to `NSSLOW_Shutdown@NSSRAWHASH_3.12.3'
  /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libcrypt.so: undefined reference to `NSSLOWHASH_End@NSSRAWHASH_3.12.3'
  /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libcrypt.so: undefined reference to `NSSLOW_Init@NSSRAWHASH_3.12.3'
  /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libcrypt.so: undefined reference to `NSSLOWHASH_NewContext@NSSRAWHASH_3.12.3'
  /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libcrypt.so: undefined reference to `NSSLOWHASH_Begin@NSSRAWHASH_3.12.3'
  /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libcrypt.so: undefined reference to `NSSLOWHASH_Update@NSSRAWHASH_3.12.3'
  /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libcrypt.so: undefined reference to `NSSLOWHASH_Destroy@NSSRAWHASH_3.12.3'
  collect2: error: ld returned 1 exit status
  *** error linking uWSGI ***
  
  ----------------------------------------
  Failed building wheel for uwsgi
  Running setup.py clean for uwsgi
Failed to build uwsgi
Installing collected packages: uwsgi
  Running setup.py install for uwsgi ... error
    Complete output from command /home/met2017/anaconda3/envs/django-py35/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ky2m56d5/uwsgi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-0ceidynx-record/install-record.txt --single-version-externally-managed --compile:
    /home/met2017/anaconda3/envs/django-py35/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'descriptions'
      warnings.warn(msg)
    running install
    using profile: buildconf/default.ini
    detected include path: ['/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include', '/usr/local/include', '/usr/include']
    Patching "bin_name" to properly install_scripts dir
    detected CPU cores: 8
    configured CFLAGS: -O2 -I. -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-format -Wno-format-security -DUWSGI_HAS_IFADDRS -DUWSGI_ZLIB -DUWSGI_LOCK_USE_MUTEX -DUWSGI_EVENT_USE_EPOLL -DUWSGI_EVENT_TIMER_USE_TIMERFD -DUWSGI_EVENT_FILEMONITOR_USE_INOTIFY -I/home/met2017/anaconda3/envs/django-py35/include -DUWSGI_PCRE -DUWSGI_ROUTING -DUWSGI_VERSION="\"2.0.15\"" -DUWSGI_VERSION_BASE="2" -DUWSGI_VERSION_MAJOR="0" -DUWSGI_VERSION_MINOR="15" -DUWSGI_VERSION_REVISION="0" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_YAML -DUWSGI_SSL -I/home/met2017/anaconda3/envs/django-py35/include/libxml2 -I/home/met2017/anaconda3/envs/django-py35/include -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_PLUGIN_DIR="\".\"" -DUWSGI_DECLARE_EMBEDDED_PLUGINS="UDEP(python);UDEP(gevent);UDEP(ping);UDEP(cache);UDEP(nagios);UDEP(rrdtool);UDEP(carbon);UDEP(rpc);UDEP(corerouter);UDEP(fastrouter);UDEP(http);UDEP(ugreen);UDEP(signal);UDEP(syslog);UDEP(rsyslog);UDEP(logsocket);UDEP(router_uwsgi);UDEP(router_redirect);UDEP(router_basicauth);UDEP(zergpool);UDEP(redislog);UDEP(mongodblog);UDEP(router_rewrite);UDEP(router_http);UDEP(logfile);UDEP(router_cache);UDEP(rawrouter);UDEP(router_static);UDEP(sslrouter);UDEP(spooler);UDEP(cheaper_busyness);UDEP(symcall);UDEP(transformation_tofile);UDEP(transformation_gzip);UDEP(transformation_chunked);UDEP(transformation_offload);UDEP(router_memcached);UDEP(router_redis);UDEP(router_hash);UDEP(router_expires);UDEP(router_metrics);UDEP(transformation_template);UDEP(stats_pusher_socket);" -DUWSGI_LOAD_EMBEDDED_PLUGINS="ULEP(python);ULEP(gevent);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(rrdtool);ULEP(carbon);ULEP(rpc);ULEP(corerouter);ULEP(fastrouter);ULEP(http);ULEP(ugreen);ULEP(signal);ULEP(syslog);ULEP(rsyslog);ULEP(logsocket);ULEP(router_uwsgi);ULEP(router_redirect);ULEP(router_basicauth);ULEP(zergpool);ULEP(redislog);ULEP(mongodblog);ULEP(router_rewrite);ULEP(router_http);ULEP(logfile);ULEP(router_cache);ULEP(rawrouter);ULEP(router_static);ULEP(sslrouter);ULEP(spooler);ULEP(cheaper_busyness);ULEP(symcall);ULEP(transformation_tofile);ULEP(transformation_gzip);ULEP(transformation_chunked);ULEP(transformation_offload);ULEP(router_memcached);ULEP(router_redis);ULEP(router_hash);ULEP(router_expires);ULEP(router_metrics);ULEP(transformation_template);ULEP(stats_pusher_socket);"
    *** uWSGI compiling server core ***
    core/utils.o is up to date
    core/protocol.o is up to date
    core/socket.o is up to date
    core/logging.o is up to date
    core/master.o is up to date
    core/master_utils.o is up to date
    core/emperor.o is up to date
    core/notify.o is up to date
    core/mule.o is up to date
    core/subscription.o is up to date
    core/stats.o is up to date
    core/sendfile.o is up to date
    core/async.o is up to date
    core/master_checks.o is up to date
    core/fifo.o is up to date
    core/offload.o is up to date
    core/io.o is up to date
    core/static.o is up to date
    core/websockets.o is up to date
    core/spooler.o is up to date
    core/snmp.o is up to date
    core/exceptions.o is up to date
    core/config.o is up to date
    core/setup_utils.o is up to date
    core/clock.o is up to date
    core/init.o is up to date
    core/buffer.o is up to date
    core/reader.o is up to date
    core/writer.o is up to date
    core/alarm.o is up to date
    core/cron.o is up to date
    core/hooks.o is up to date
    core/plugins.o is up to date
    core/lock.o is up to date
    core/cache.o is up to date
    core/daemons.o is up to date
    core/errors.o is up to date
    core/hash.o is up to date
    core/master_events.o is up to date
    core/chunked.o is up to date
    core/queue.o is up to date
    core/event.o is up to date
    core/signal.o is up to date
    core/strings.o is up to date
    core/progress.o is up to date
    core/timebomb.o is up to date
    core/ini.o is up to date
    core/fsmon.o is up to date
    core/mount.o is up to date
    core/metrics.o is up to date
    core/plugins_builder.o is up to date
    core/sharedarea.o is up to date
    core/rpc.o is up to date
    core/gateway.o is up to date
    core/loop.o is up to date
    core/cookie.o is up to date
    core/querystring.o is up to date
    core/rb_timers.o is up to date
    core/transformations.o is up to date
    core/uwsgi.o is up to date
    proto/base.o is up to date
    proto/uwsgi.o is up to date
    proto/http.o is up to date
    proto/fastcgi.o is up to date
    proto/scgi.o is up to date
    proto/puwsgi.o is up to date
    lib/linux_ns.o is up to date
    core/zlib.o is up to date
    core/regexp.o is up to date
    core/routing.o is up to date
    core/yaml.o is up to date
    core/ssl.o is up to date
    core/legion.o is up to date
    core/xmlconf.o is up to date
    [thread 3][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/dot_h.o
    [thread 1][gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat] core/config_py.o
    *** uWSGI compiling embedded plugins ***
    plugins/python/python_plugin.o is up to date
    plugins/python/pyutils.o is up to date
    plugins/python/pyloader.o is up to date
    plugins/python/wsgi_handlers.o is up to date
    plugins/python/wsgi_headers.o is up to date
    plugins/python/wsgi_subhandler.o is up to date
    plugins/python/web3_subhandler.o is up to date
    plugins/python/pump_subhandler.o is up to date
    plugins/python/gil.o is up to date
    plugins/python/uwsgi_pymodule.o is up to date
    plugins/python/profiler.o is up to date
    plugins/python/symimporter.o is up to date
    plugins/python/tracebacker.o is up to date
    plugins/python/raw.o is up to date
    plugins/gevent/gevent.o is up to date
    plugins/gevent/hooks.o is up to date
    plugins/ping/ping_plugin.o is up to date
    plugins/cache/cache.o is up to date
    plugins/nagios/nagios.o is up to date
    plugins/rrdtool/rrdtool.o is up to date
    plugins/carbon/carbon.o is up to date
    plugins/rpc/rpc_plugin.o is up to date
    plugins/corerouter/cr_common.o is up to date
    plugins/corerouter/cr_map.o is up to date
    plugins/corerouter/corerouter.o is up to date
    plugins/fastrouter/fastrouter.o is up to date
    plugins/http/http.o is up to date
    plugins/http/keepalive.o is up to date
    plugins/http/https.o is up to date
    plugins/http/spdy3.o is up to date
    plugins/ugreen/ugreen.o is up to date
    plugins/signal/signal_plugin.o is up to date
    plugins/syslog/syslog_plugin.o is up to date
    plugins/rsyslog/rsyslog_plugin.o is up to date
    plugins/logsocket/logsocket_plugin.o is up to date
    plugins/router_uwsgi/router_uwsgi.o is up to date
    plugins/router_redirect/router_redirect.o is up to date
    plugins/router_basicauth/router_basicauth.o is up to date
    plugins/zergpool/zergpool.o is up to date
    plugins/redislog/redislog_plugin.o is up to date
    plugins/mongodblog/mongodblog_plugin.o is up to date
    plugins/router_rewrite/router_rewrite.o is up to date
    plugins/router_http/router_http.o is up to date
    plugins/logfile/logfile.o is up to date
    plugins/router_cache/router_cache.o is up to date
    plugins/rawrouter/rawrouter.o is up to date
    plugins/router_static/router_static.o is up to date
    plugins/sslrouter/sslrouter.o is up to date
    plugins/spooler/spooler_plugin.o is up to date
    plugins/cheaper_busyness/cheaper_busyness.o is up to date
    plugins/symcall/symcall_plugin.o is up to date
    plugins/transformation_tofile/tofile.o is up to date
    plugins/transformation_gzip/gzip.o is up to date
    plugins/transformation_chunked/chunked.o is up to date
    plugins/transformation_offload/offload.o is up to date
    plugins/router_memcached/router_memcached.o is up to date
    plugins/router_redis/router_redis.o is up to date
    plugins/router_hash/router_hash.o is up to date
    plugins/router_expires/expires.o is up to date
    plugins/router_metrics/plugin.o is up to date
    plugins/transformation_template/tt.o is up to date
    plugins/stats_pusher_socket/plugin.o is up to date
    *** uWSGI linking ***
    gcc -pthread -B /home/met2017/anaconda3/envs/django-py35/compiler_compat -o /home/met2017/anaconda3/envs/django-py35/bin/uwsgi  core/utils.o core/protocol.o core/socket.o core/logging.o core/master.o core/master_utils.o core/emperor.o core/notify.o core/mule.o core/subscription.o core/stats.o core/sendfile.o core/async.o core/master_checks.o core/fifo.o core/offload.o core/io.o core/static.o core/websockets.o core/spooler.o core/snmp.o core/exceptions.o core/config.o core/setup_utils.o core/clock.o core/init.o core/buffer.o core/reader.o core/writer.o core/alarm.o core/cron.o core/hooks.o core/plugins.o core/lock.o core/cache.o core/daemons.o core/errors.o core/hash.o core/master_events.o core/chunked.o core/queue.o core/event.o core/signal.o core/strings.o core/progress.o core/timebomb.o core/ini.o core/fsmon.o core/mount.o core/metrics.o core/plugins_builder.o core/sharedarea.o core/rpc.o core/gateway.o core/loop.o core/cookie.o core/querystring.o core/rb_timers.o core/transformations.o core/uwsgi.o proto/base.o proto/uwsgi.o proto/http.o proto/fastcgi.o proto/scgi.o proto/puwsgi.o lib/linux_ns.o core/zlib.o core/regexp.o core/routing.o core/yaml.o core/ssl.o core/legion.o core/xmlconf.o core/dot_h.o core/config_py.o plugins/python/python_plugin.o plugins/python/pyutils.o plugins/python/pyloader.o plugins/python/wsgi_handlers.o plugins/python/wsgi_headers.o plugins/python/wsgi_subhandler.o plugins/python/web3_subhandler.o plugins/python/pump_subhandler.o plugins/python/gil.o plugins/python/uwsgi_pymodule.o plugins/python/profiler.o plugins/python/symimporter.o plugins/python/tracebacker.o plugins/python/raw.o plugins/gevent/gevent.o plugins/gevent/hooks.o plugins/ping/ping_plugin.o plugins/cache/cache.o plugins/nagios/nagios.o plugins/rrdtool/rrdtool.o plugins/carbon/carbon.o plugins/rpc/rpc_plugin.o plugins/corerouter/cr_common.o plugins/corerouter/cr_map.o plugins/corerouter/corerouter.o plugins/fastrouter/fastrouter.o plugins/http/http.o plugins/http/keepalive.o plugins/http/https.o plugins/http/spdy3.o plugins/ugreen/ugreen.o plugins/signal/signal_plugin.o plugins/syslog/syslog_plugin.o plugins/rsyslog/rsyslog_plugin.o plugins/logsocket/logsocket_plugin.o plugins/router_uwsgi/router_uwsgi.o plugins/router_redirect/router_redirect.o plugins/router_basicauth/router_basicauth.o plugins/zergpool/zergpool.o plugins/redislog/redislog_plugin.o plugins/mongodblog/mongodblog_plugin.o plugins/router_rewrite/router_rewrite.o plugins/router_http/router_http.o plugins/logfile/logfile.o plugins/router_cache/router_cache.o plugins/rawrouter/rawrouter.o plugins/router_static/router_static.o plugins/sslrouter/sslrouter.o plugins/spooler/spooler_plugin.o plugins/cheaper_busyness/cheaper_busyness.o plugins/symcall/symcall_plugin.o plugins/transformation_tofile/tofile.o plugins/transformation_gzip/gzip.o plugins/transformation_chunked/chunked.o plugins/transformation_offload/offload.o plugins/router_memcached/router_memcached.o plugins/router_redis/router_redis.o plugins/router_hash/router_hash.o plugins/router_expires/expires.o plugins/router_metrics/plugin.o plugins/transformation_template/tt.o plugins/stats_pusher_socket/plugin.o -lpthread -lm -rdynamic -ldl -lz -L/home/met2017/anaconda3/envs/django-py35/lib -lpcre -lssl -lcrypto -L/home/met2017/anaconda3/envs/django-py35/lib -lxml2 -L/home/met2017/anaconda3/envs/django-py35/lib -lz -L/home/met2017/anaconda3/envs/django-py35/lib -llzma -L/home/met2017/anaconda3/envs/django-py35/lib -L/home/met2017/anaconda3/envs/django-py35/lib -licui18n -licuuc -licudata -lm -ldl -lpthread -ldl -lutil -lrt -lm /home/met2017/anaconda3/envs/django-py35/lib/python3.5/config-3.5m/libpython3.5m.a -lutil -lcrypt
    /home/met2017/anaconda3/envs/django-py35/compiler_compat/ld: warning: libfreebl3.so, needed by /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libcrypt.so, not found (try using -rpath or -rpath-link)
    /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libcrypt.so: undefined reference to `NSSLOW_Shutdown@NSSRAWHASH_3.12.3'
    /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libcrypt.so: undefined reference to `NSSLOWHASH_End@NSSRAWHASH_3.12.3'
    /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libcrypt.so: undefined reference to `NSSLOW_Init@NSSRAWHASH_3.12.3'
    /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libcrypt.so: undefined reference to `NSSLOWHASH_NewContext@NSSRAWHASH_3.12.3'
    /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libcrypt.so: undefined reference to `NSSLOWHASH_Begin@NSSRAWHASH_3.12.3'
    /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libcrypt.so: undefined reference to `NSSLOWHASH_Update@NSSRAWHASH_3.12.3'
    /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libcrypt.so: undefined reference to `NSSLOWHASH_Destroy@NSSRAWHASH_3.12.3'
    collect2: error: ld returned 1 exit status
    *** error linking uWSGI ***

@OnlyBelter
Copy link

OnlyBelter commented Dec 22, 2017

If I create a virtual environment with conda create -n py27 python=2.7, I can install uwsgi by pip install uwsgi correctly!

CentOS 7.2 and CentOS 7.3 can install correctly!

CentOS 7.4 with python 3.4 also does not work, like above in python 3.5, but has different error hint!

error information:

gcc -pthread -o /home/met2017/anaconda3/envs/py34/bin/uwsgi -L/home/met2017/anaconda3/envs/py34/lib -Wl,-rpath,/home/met2017/anaconda3/envs/py34/lib core/utils.o core/protocol.o core/socket.o core/logging.o core/master.o core/master_utils.o core/emperor.o core/notify.o core/mule.o core/subscription.o core/stats.o core/sendfile.o core/async.o core/master_checks.o core/fifo.o core/offload.o core/io.o core/static.o core/websockets.o core/spooler.o core/snmp.o core/exceptions.o core/config.o core/setup_utils.o core/clock.o core/init.o core/buffer.o core/reader.o core/writer.o core/alarm.o core/cron.o core/hooks.o core/plugins.o core/lock.o core/cache.o core/daemons.o core/errors.o core/hash.o core/master_events.o core/chunked.o core/queue.o core/event.o core/signal.o core/strings.o core/progress.o core/timebomb.o core/ini.o core/fsmon.o core/mount.o core/metrics.o core/plugins_builder.o core/sharedarea.o core/rpc.o core/gateway.o core/loop.o core/cookie.o core/querystring.o core/rb_timers.o core/transformations.o core/uwsgi.o proto/base.o proto/uwsgi.o proto/http.o proto/fastcgi.o proto/scgi.o proto/puwsgi.o lib/linux_ns.o core/zlib.o core/regexp.o core/routing.o core/yaml.o core/ssl.o core/legion.o core/xmlconf.o core/dot_h.o core/config_py.o plugins/python/python_plugin.o plugins/python/pyutils.o plugins/python/pyloader.o plugins/python/wsgi_handlers.o plugins/python/wsgi_headers.o plugins/python/wsgi_subhandler.o plugins/python/web3_subhandler.o plugins/python/pump_subhandler.o plugins/python/gil.o plugins/python/uwsgi_pymodule.o plugins/python/profiler.o plugins/python/symimporter.o plugins/python/tracebacker.o plugins/python/raw.o plugins/gevent/gevent.o plugins/gevent/hooks.o plugins/ping/ping_plugin.o plugins/cache/cache.o plugins/nagios/nagios.o plugins/rrdtool/rrdtool.o plugins/carbon/carbon.o plugins/rpc/rpc_plugin.o plugins/corerouter/cr_common.o plugins/corerouter/cr_map.o plugins/corerouter/corerouter.o plugins/fastrouter/fastrouter.o plugins/http/http.o plugins/http/keepalive.o plugins/http/https.o plugins/http/spdy3.o plugins/ugreen/ugreen.o plugins/signal/signal_plugin.o plugins/syslog/syslog_plugin.o plugins/rsyslog/rsyslog_plugin.o plugins/logsocket/logsocket_plugin.o plugins/router_uwsgi/router_uwsgi.o plugins/router_redirect/router_redirect.o plugins/router_basicauth/router_basicauth.o plugins/zergpool/zergpool.o plugins/redislog/redislog_plugin.o plugins/mongodblog/mongodblog_plugin.o plugins/router_rewrite/router_rewrite.o plugins/router_http/router_http.o plugins/logfile/logfile.o plugins/router_cache/router_cache.o plugins/rawrouter/rawrouter.o plugins/router_static/router_static.o plugins/sslrouter/sslrouter.o plugins/spooler/spooler_plugin.o plugins/cheaper_busyness/cheaper_busyness.o plugins/symcall/symcall_plugin.o plugins/transformation_tofile/tofile.o plugins/transformation_gzip/gzip.o plugins/transformation_chunked/chunked.o plugins/transformation_offload/offload.o plugins/router_memcached/router_memcached.o plugins/router_redis/router_redis.o plugins/router_hash/router_hash.o plugins/router_expires/expires.o plugins/router_metrics/plugin.o plugins/transformation_template/tt.o plugins/stats_pusher_socket/plugin.o -lpthread -lm -rdynamic -ldl -lz -L/home/met2017/anaconda3/lib -lpcre -lssl -lcrypto -L/home/met2017/anaconda3/lib -lxml2 -L/home/met2017/anaconda3/lib -lz -L/home/met2017/anaconda3/lib -llzma -L/home/met2017/anaconda3/lib -L/home/met2017/anaconda3/lib -licui18n -licuuc -licudata -lm -ldl -lpthread -ldl -lutil -lm -lpython3.4m -lcrypt
    /home/met2017/anaconda3/lib/libicui18n.so: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8'
    /home/met2017/anaconda3/lib/libicui18n.so: undefined reference to `operator delete(void*, unsigned long)@CXXABI_1.3.9'
    collect2: error: ld returned 1 exit status
    *** error linking uWSGI ***

@OnlyBelter
Copy link

OnlyBelter commented Dec 22, 2017

I almost want to give up, then I find this page: https://github.com/conda-forge/uwsgi-feedstock

Now you can install uwsgi though conda:

conda config --add channels conda-forge

conda install uwsgi

@lambdaq
Copy link

lambdaq commented Mar 2, 2018

looks like an anaconda3 issue.

Same problem with miniconda3

@TheSalarKhan
Copy link
Author

It seems like we have a solution to this. Thanks to @OnlyBelter 👍 Closing this issue therefore! 🎉

@marcstreeter
Copy link

conda-forge doesn't seem to have a windows build though, so what is the solution for conda + uwsgi + windows?

@damoyelang1992
Copy link

yum install libiconv fixed my problem!

@iamlxb3
Copy link

iamlxb3 commented Apr 24, 2019

I almost want to give up, then I find this page: https://github.com/conda-forge/uwsgi-feedstock

Now you can install uwsgi though conda:

conda config --add channels conda-forge

conda install uwsgi

You saved my life...

@MarvinKweyu
Copy link

If anyone uses Ark Linux and is unable to find the solution, try this:

Install uwsgi-plugin-python using yaourt or its equivalent,

after this, pip install uwsgi using in your virtual environment

@lambdaq
Copy link

lambdaq commented Dec 2, 2019

Hey guys, I found out that using pip install pyuwsgi is equivalent of uWSGI and has binary builds. The only difference is pyuwsgi can be imported as a python module. Which is a plus.

@dogg3
Copy link

dogg3 commented Feb 17, 2020

I solved this by changing the python version from 3.7 to 3.6.8. Also, I deactivated conda.

@Paul-sunnan
Copy link

’install python3-devel‘ or 'install python-devel'

@jmathes
Copy link

jmathes commented Jul 9, 2020

It seems like we have a solution to this. Thanks to @OnlyBelter 👍 Closing this issue therefore! 🎉

The "solutions" I see involve installing uwsgi via conga or changing python versions. Those seem to me more like workarounds. To me, a solution would be a way of getting "pip install" to work, by removing some piece of incompatible environment or by fixing the installer.

I'm trying to install uwsgi indirectly, through a --requirement file. It's part of a standardized development environment, and any application of the workarounds above would mean breaking my environment, or at least making it nonstandard enough to be untrustworthy.

@sergiomora03
Copy link

I almost want to give up, then I find this page: https://github.com/conda-forge/uwsgi-feedstock

Now you can install uwsgi though conda:

conda config --add channels conda-forge

conda install uwsgi

How many time take yo install uwsgi?

@hemangjoshi37a
Copy link

I almost want to give up, then I find this page: https://github.com/conda-forge/uwsgi-feedstock
Now you can install uwsgi though conda:
conda config --add channels conda-forge
conda install uwsgi

How many time take yo install uwsgi?

conda takes forever to solve environment and other useless process.
hjlabs.in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests