1. Where did you get your version of Python from? 2. Are you having issues mixing i386 & x64_64 packages? I have had this issue before, and I switched everything to i386 and it worked great.
The docs mention something about this too: http://code.google.com/p/modwsgi/wiki/InstallationIssues Ctr+F for 65536 to find the info. On Tue, Nov 30, 2010 at 11:33 AM, Aner H <[email protected]> wrote: > thanks for the reply. > yes. make install is being executed as root. > > Aner. > > On Nov 30, 6:28 pm, Alessandro Pasotti <[email protected]> wrote: > > 2010/11/30 Aner H <[email protected]> > > > > > > > > > > > > > > > > > > > > > hey all, > > > I'm having problems installing mod_wsgi. thought there is a lot of > > > info regarding this issue I can't seem to find what the problem is. > > > > > I'm installing mod_wsgi on RHEL 5, using python2.6.5 and apache > > > 2.2.15. > > > for some reason, mod_wsgi.so is not produced. the error I get, while > > > running make install, is: > > > > > Warning! dlname not found in /opt/apache_2.2.15//modules/mod_wsgi.la. > > > Assuming installing a .so rather than a libtool archive. > > > chmod 755 /opt/apache_2.2.15//modules/mod_wsgi.so > > > chmod: cannot access `/opt/apache_2.2.15//modules/mod_wsgi.so': No > > > such file or directory > > > apxs:Error: Command failed with rc=65536 > > > . > > > make: *** [install] Error 1 > > > > > here is what I do: > > > environment is configured for Python2.6.5: > > > # export PATH=/opt/python_2.6.5/bin:$PATH > > > # export LD_LIBRARY_PATH=/opt/python_2.6.5/lib:$LD_LIBRARY_PATH > > > > > # which python > > > /opt/python_2.6.5/bin/python > > > > > # python > > > Python 2.6.5 (r265:79063, Jun 6 2010, 10:35:10) > > > [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2 > > > Type "help", "copyright", "credits" or "license" for more information. > > > > > python is installed with --enable-shared flag, and a shared object has > > > been created - > > > # ls -l /opt/python_2.6.5/lib/ > > > total 5516 > > > lrwxrwxrwx 1 root root 19 Jun 6 10:36 libpython2.6.so -> > > > libpython2.6.so.1.0 > > > -r-xr-xr-x 1 root root 5615079 Jun 6 10:36 libpython2.6.so.1.0 > > > drwxr-xr-x 25 root root 20480 Nov 4 14:00 python2.6 > > > > > apache 2.2.15 is installed and running ok. > > > > > installing mod_wsgi: > > > ./configure --with-apxs=/opt/apache_2.2.15/bin/apxs --with-python=/opt/ > > > python_2.6.5/bin/python > > > make > > > make install > > > > > at that point I get the error message printed above. > > > checking .libs folder after make shows that no mod_wsgi.so was created > > > - > > > # ls -l .libs/ > > > total 548 > > > -rw-r--r-- 1 root root 551002 Nov 30 15:02 mod_wsgi.a > > > lrwxrwxrwx 1 root root 14 Nov 30 15:02 mod_wsgi.la -> ../ > > > mod_wsgi.la > > > -rw-r--r-- 1 root root 861 Nov 30 15:02 mod_wsgi.lai > > > > > I tried to update apxs according to this: > > > > >http://www.latko.org/2009/10/11/setting-up-django-with-mod_wsgi-on-sn. > .. > > > , but still without success. > > > > > anyone has an idea? any suggestion would be appreciated. > > > > > thanks, > > > Aner. > > > > > -- > > > 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]<modwsgi%[email protected]> > <modwsgi%[email protected]<modwsgi%[email protected]>> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/modwsgi?hl=en. > > > > Just to be sure, I don't see a "su - && make install" or "sudo make > > install", are you running make install as root ? > > > > make install must be run as root. > > > > -- > > Alessandro Pasotti > > w3: www.itopen.it > > -- > 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]<modwsgi%[email protected]> > . > For more options, visit this group at > http://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.
