2009/3/20 vishnu.kumar <[email protected]>: > > Hi, > sorry but its already > LDFLAGS = -L/usr/lib64/python2.4/config
Sorry, no it isn't, read properly what I am posting Change that so it reads: LDFLAGS = -L/usr/lib64 -L/usr/lib64/python2.4/config So, as I said, insert then additional (different) option. This will make it look in that first directory for the shared library. Graham > Vishnu > On Mar 20, 5:23 pm, Graham Dumpleton <[email protected]> > wrote: >> 2009/3/20 vishnu.kumar <[email protected]>: >> >> >> >> > Hi graham, >> >> > I did as you told >> > ./configure --libdir=/usr/lib64 >> >> That is not what I said to do. >> >> I said edit 'Makefile' after you ran configure and insert into the >> LDFLAGS variable inside the makefile, the -L/usr/lib64 option. How do >> you work out that what you did is the same? >> >> > but it ldd mod_wsgi.so gives the same output. >> > no libpython2.4.so in it. >> >> > But thanks to your earlier clue, i recompiled mod_python. >> >> We also told you to disable mod_python and not load it into Apache at >> the same time. >> >> > Now, i dont have a "Fatal Python Error", but i get >> > [Fri Mar 20 04:39:02 2009] [error] [client 203.x.x.x] (13)Permission >> > denied: access to / denied >> > when i access the django app via browser. >> >> Which definitely means permissions problems, but something you can >> probably only work out with your direct access to the system. >> >> Time for me to sleep. Let us know what was wrong when you work it out. >> >> Graham >> >> > i have the django site in /home/djuser >> >http://dpaste.com/16881/is my apache config >> >http://dpaste.com/16882/is wsgi handler config (foodapp.wsgi) >> >> > Any suggestions? >> >> > PS: I double-checked the permissions, i even gave 777 rights to all >> > files in /home/djuser >> >> > Vishnu >> > On Mar 20, 4:46 pm, Graham Dumpleton <[email protected]> >> > wrote: >> >> 2009/3/20 vishnu.kumar <[email protected]>: >> >> >> > Hi graham, >> >> > libpython2.4.so is in /usr/lib64 >> >> >> Then modify mod_wsgi Makefile after running configure and add at start >> >> of LDFLAGS: >> >> >> -L/usr/lib64 >> >> >> Then run make to build mod_wsgi. What does ldd shown then? >> >> >> Also, does this mean that Python stuff in: >> >> >> /usr/lib64/python >> >> >> Just want to know to see if fix for finding Python shared library will >> >> still work for you. >> >> >> Graham > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
