Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
26.97k stars 11.35k forks source link

uwsgi failed to build on 10.8.2 #16195

Closed kihon10 closed 11 years ago

kihon10 commented 11 years ago
==> Downloading http://projects.unbit.it/downloads/uwsgi-1.2.6.tar.gz
Already downloaded: /Library/Caches/Homebrew/uwsgi-1.2.6.tar.gz
==> python uwsgiconfig.py --build
[cc] plugins/zergpool/zergpool.o
[cc] plugins/redislog/redislog_plugin.o
*** uWSGI linking ***
cc -o uwsgi -arch i386 -arch x86_64 utils.o protocol.o socket.o logging.o master.o master_utils.o emperor.o notify.o mule.o subscription.o plugins.o lock.o cache.o queue.o event.o signal.o cluster.o rpc.o gateway.o loop.o lib/rbtree.o lib/amqp.o rb_timers.o main.o proto/base.o proto/uwsgi.o proto/http.o proto/fastcgi.o regexp.o routing.o async.o ini.o yaml.o ldap.o snmp.o sendfile.o xmlconf.o sqlite3.o spooler.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/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/fastrouter/fr_sctp.o plugins/fastrouter/fr_map.o plugins/fastrouter/fastrouter.o plugins/fastrouter/fr_events.o plugins/http/http.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 -lpthread -lm -rdynamic -L/usr/local/Cellar/pcre/8.31/lib -lpcre -lldap -lxml2 -lsqlite3 -ldl -framework CoreFoundation -L/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config -lpython2.6
*** error linking uWSGI ***

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting

https://gist.github.com/4132294

mistydemeo commented 11 years ago

Looks like your sqlite is 64-bit only, but you're trying to link it against something which is built universal.

If you brew rm sqlite, then brew install sqlite --universal, it should work.

kihon10 commented 11 years ago

Working! Thanks!

mistydemeo commented 11 years ago

No problem, glad you're all set!