From: Carl Youngblood Date: 2003-10-01T03:58:58+09:00 Subject: Re: fastcgi permission error > > >o.k. - assuming it IS a linker problem > > > >i have seen this before - but don't know a work around. you probably can't > sudo su apache >then > /var/www/cgi-bin/test.fcgi < /dev/null >either? > > No, it won't let me do that either. >other thoughts (debug hacks): > > * set LD_LIBRARY_PATH in your cgi program BEFORE requiring any libs > > ENV['LD_LIBRARY_PATH'] = path_to_fcgi_libs > > * set > > ENV['LD_DEBUG'] = 'all' > ENV['LD_DEBUG_OUTPUT'] = './ld_debug_output' > > (man ld.so) > > and try again. this should produce a file 'ld_debug_output' in the same > directory as the fcgi program that tells you what loaded/did not load. > > BE SURE TO HAVE THE FGI PROGRAM AND IT'S DIRECTORY 777 - JUST TO BE SURE. > > > This didn't seem to make any difference. FYI, LD_LIBRARY_PATH isn't set in my environment before I set it. Carl