Re: ***** SPAM: ./echo: error while loading shared libraries: libfcgi.so.0: cannot open shared object file: No such file or directory

"Eric Covener" <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
On 6/5/06, dongnan.luo <[email protected]> wrote:
>
> gcc -I /usr/local/include/ -L /usr/local/lib/ -o echo  echo.c -lfcgi
>

"./echo: error while loading shared libraries: libfcgi.so.0: cannot open
> shared object file: No such file or directory"
>


perhaps /usr/local/lib isn't searched by the loader automatically in your
OS.
$ LD_LIBRARY_PATH=/usr/local/lib ./echo
to help the loader find your built cgi libs, or see -rpath in gnu ld.

-- 
Eric Covener
[email protected]

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.