Any thoughts? Does anything look out of place from those commands? I still can't figure out what's going on. Maybe it is a "shared" something issue?
On Apr 29, 9:18 am, Apythonache <[email protected]> wrote: > Here they are: > > [django - ping@e02u35]/>/usr/local/python-2.7.1/bin/python > Python 2.7.1 (r271:86832, Apr 4 2011, 13:23:54) > [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 > Type "help", "copyright", "credits" or "license" for more information.>>> > from distutils import sysconfig > >>> print sysconfig.get_config_var('CONFIG_ARGS') > > '--prefix=/usr/local/python-2.7.1/' > > [django - ping@e02u35]/>ldd /usr/local/python-2.7.1/bin/python > libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003de4a00000) > libdl.so.2 => /lib64/libdl.so.2 (0x0000003de4600000) > libutil.so.1 => /lib64/libutil.so.1 (0x0000003defc00000) > libm.so.6 => /lib64/libm.so.6 (0x0000003de4200000) > libc.so.6 => /lib64/libc.so.6 (0x0000003de3e00000) > /lib64/ld-linux-x86-64.so.2 (0x0000003de2e00000) > > [django - ping@e02u35]/>ls -las /usr/local/python-2.7.1/lib > total 11980 > 3 drwxr-xr-x 4 root root 86 Apr 4 13:27 . > 3 drwxr-xr-x 7 root root 114 Apr 4 13:27 .. > 11810 -r-xr-xr-x 1 root root 10089776 Apr 4 13:26 libpython2.7.a > 3 drwxr-xr-x 2 root root 58 Apr 4 13:27 pkgconfig > 163 drwxr-xr-x 28 root root 18459 Apr 4 13:27 python2.7 > > [django - ping@e02u35]/>ls -las /usr/local/python-2.7.1/lib/python2.7/ > config > total 12545 > 43 drwxr-xr-x 2 root root 276 Apr 4 13:27 . > 163 drwxr-xr-x 28 root root 18459 Apr 4 13:27 .. > 34 -rw-r--r-- 1 root root 2200 Apr 4 13:27 config.c > 34 -rw-r--r-- 1 root root 1507 Apr 4 13:27 config.c.in > 34 -rwxr-xr-x 1 root root 7122 Apr 4 13:27 install-sh > 11810 -rw-r--r-- 1 root root 10089776 Apr 4 13:27 libpython2.7.a > 194 -rw-r--r-- 1 root root 44231 Apr 4 13:27 Makefile > 34 -rwxr-xr-x 1 root root 7431 Apr 4 13:27 makesetup > 34 -rw-r--r-- 1 root root 6392 Apr 4 13:27 python.o > 98 -rw-r--r-- 1 root root 18279 Apr 4 13:27 Setup > 34 -rw-r--r-- 1 root root 368 Apr 4 13:27 Setup.config > 34 -rw-r--r-- 1 root root 41 Apr 4 13:27 Setup.local > > On Apr 29, 8:55 am, Graham Dumpleton <[email protected]> > wrote: > > > For the version of Python you are using, provide output of doing the > > following within the command line interpreter. > > > from distutils import sysconfig > > print sysconfig.get_config_var('CONFIG_ARGS') > > > Also provide the output of: > > > ldd /usr/local/python-2.7.1/bin/python > > > and output of: > > > ls -las /usr/local/python-2.7.1/lib > > > ls -las /usr/local/python-2.7.1/lib/python2.7/config > > > Graham > > > On 29 April 2011 22:08, Apythonache <[email protected]> wrote: > > > > Hi all, > > > > I did read all of the documentation for this error, but I'm pretty > > > sure I already have 64 bit Python, and I think it's already "shared"? > > > So I'm unsure of how to fix this. I'd greatly appreciate any help. > > > I'm pretty stuck at this point. > > > > Details: > > > > **Installation Commands:** > > > > [django - ping@e02u35]~/mod_wsgi-3.3>./configure --with-python=/ > > > usr/local/python-2.7.1/bin/python > > > checking for apxs2... no > > > checking for apxs... /usr/sbin/apxs > > > checking Apache version... 2.2.3 > > > configure: creating ./config.status > > > config.status: creating Makefile > > > > [django - ping@e02u35]~/mod_wsgi-3.3>make > > > /usr/sbin/apxs -c -I/usr/local/python-2.7.1/include/python2.7 - > > > DNDEBUG mod_wsgi.c -L/usr/local/python-2.7.1/lib -L/usr/local/ > > > python-2.7.1/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil - > > > lm > > > /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer- > > > pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack- > > > protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict- > > > aliasing -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/ > > > httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/local/ > > > python-2.7.1/include/python2.7 -DNDEBUG -c -o mod_wsgi.lo mod_wsgi.c > > > && touch mod_wsgi.slo > > > mod_wsgi.c: In function 'wsgi_server_group': > > > mod_wsgi.c:949: warning: unused variable 'value' > > > mod_wsgi.c: In function 'Log_isatty': > > > mod_wsgi.c:1606: warning: unused variable 'result' > > > mod_wsgi.c: In function 'Log_writelines': > > > mod_wsgi.c:1743: warning: unused variable 'msg' > > > mod_wsgi.c: In function 'Adapter_output': > > > mod_wsgi.c:3022: warning: unused variable 'n' > > > mod_wsgi.c: In function 'Adapter_file_wrapper': > > > mod_wsgi.c:4036: warning: unused variable 'result' > > > mod_wsgi.c: In function 'wsgi_python_term': > > > mod_wsgi.c:5643: warning: unused variable 'tstate' > > > mod_wsgi.c:5642: warning: unused variable 'interp' > > > mod_wsgi.c: In function 'wsgi_python_child_init': > > > mod_wsgi.c:6792: warning: unused variable 'l' > > > mod_wsgi.c:6690: warning: unused variable 'interp' > > > mod_wsgi.c: In function 'wsgi_add_import_script': > > > mod_wsgi.c:7443: warning: unused variable 'error' > > > mod_wsgi.c: In function 'wsgi_add_handler_script': > > > mod_wsgi.c:7891: warning: unused variable 'dconfig' > > > mod_wsgi.c:7890: warning: unused variable 'sconfig' > > > mod_wsgi.c: In function 'wsgi_hook_handler': > > > mod_wsgi.c:8937: warning: suggest parentheses around assignment > > > used as truth value > > > mod_wsgi.c:8939: warning: suggest parentheses around assignment > > > used as truth value > > > mod_wsgi.c:8941: warning: suggest parentheses around assignment > > > used as truth value > > > mod_wsgi.c:8945: warning: suggest parentheses around assignment > > > used as truth value > > > mod_wsgi.c:8965: warning: suggest parentheses around assignment > > > used as truth value > > > mod_wsgi.c:8967: warning: suggest parentheses around assignment > > > used as truth value > > > mod_wsgi.c:8970: warning: suggest parentheses around assignment > > > used as truth value > > > mod_wsgi.c: In function 'wsgi_daemon_worker': > > > mod_wsgi.c:10279: warning: unused variable 'duration' > > > mod_wsgi.c:10278: warning: unused variable 'start' > > > mod_wsgi.c: In function 'wsgi_hook_daemon_handler': > > > mod_wsgi.c:12499: warning: unused variable 'i' > > > mod_wsgi.c:12497: warning: unused variable 'elts' > > > mod_wsgi.c:12496: warning: unused variable 'head' > > > mod_wsgi.c: At top level: > > > mod_wsgi.c:7856: warning: 'wsgi_set_user_authoritative' defined > > > but not used > > > mod_wsgi.c:14414: warning: 'wsgi_hook_check_user_id' defined but > > > not used > > > /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -o > > > mod_wsgi.la -rpath /usr/lib64/httpd/modules -module -avoid-version > > > mod_wsgi.lo -L/usr/local/python-2.7.1/lib -L/usr/local/python-2.7.1/ > > > lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm > > > /usr/bin/ld: /usr/local/python-2.7.1/lib/libpython2.7.a(node.o): > > > relocation R_X86_64_32 against `a local symbol' can not be used when > > > making a shared object; recompile with -fPIC > > > /usr/local/python-2.7.1/lib/libpython2.7.a: could not read > > > symbols: Bad value > > > collect2: ld returned 1 exit status > > > apxs:Error: Command failed with rc=65536 > > > . > > > make: *** [mod_wsgi.la] Error 1 > > > > **System info:** > > > > Linux 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 > > > x86_64 x86_64 GNU/Linux > > > Red Hat Enterprise Linux Server release 5.3 (Tikanga) > > > It looks like Python 2.4 is the default Python but it has versions > > > up to 2.7.1 installed. > > > > **Python Info:** > > > > [django - pin@e02u35]~>/usr/local/python-2.7.1/bin/python > > > Python 2.7.1 (r271:86832, Apr 4 2011, 13:23:54) > > > [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2 > > > Type "help", "copyright", "credits" or "license" for more > > > information. > > > >>> > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "modwsgi" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group > > > athttp://groups.google.com/group/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
