help-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-cgicc] The shared library: libcgicc.so.5 can't be loaded when runn


From: 贺志国
Subject: [help-cgicc] The shared library: libcgicc.so.5 can't be loaded when running test.cgi
Date: Sun, 27 Mar 2005 23:19:11 +0800

Dear Sir,
    The cgicc is a very good and easy-to-use library. I'm very much
appreciated for your self-giving work.
    But I have a problem when I run the test.cgi demo program. Here is the
error information:

[Sun Mar 27 21:24:49 2005] [error] [client 127.0.0.1]
/var/www/cgi-bin/test.cgi: error while loading shared libraries:
libcgicc.so.5: failed to map segment from shared object: Permission denied
[Sun Mar 27 21:24:49 2005] [error] [client 127.0.0.1] Premature end of
script
headers: test.cgi
[Sun Mar 27 21:24:49 2005] [error] [client 127.0.0.1] File does not exist:
/var/www/html/favicon.ico


    I have changed the cgi section of the "httpd.conf" file to the
following lines:

<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>

    I have also added some library paths to the "ld.so.conf" file and run
the "ldconfig" command.

In file "ld.so.conf":

include ld.so.conf.d/*.conf
/usr/X11R6/lib
/usr/lib/mysql
/lib
/usr/lib
/usr/local/lib

    Finally I have changed permissions of the cgi-bin directory and
test.cgi file to "rwxr-xr-x".

    I think it is enough to make the program be run correctly. To my
disappointment, it doesn't work at all. I really don't know what
mistakes I have made. Please give me some advices at your convenience.
Thank you very much.


                              Yours Sincerely,
                                David Hopper







reply via email to

[Prev in Thread] Current Thread [Next in Thread]