[Cppcms-users] Built on EC2 Amazon Linux 32bit Can't find libs
Brought to you by:
artyom-beilis
From: Richard C. <ric...@gm...> - 2011-09-28 05:39:17
|
The libbooster and libcppcms shared objects are in /usr/local/lib. cppcms does not see them. How can I fix this? Thank you. Richard Catlin [ec2-user@ip-10-196-230-32 hello_world]$ cppcms_run hello -c config.js cppcms_config_find_param: error while loading shared libraries: libbooster.so.0: cannot open shared object file: No such file or directory cppcms_config_find_param: error while loading shared libraries: libbooster.so.0: cannot open shared object file: No such file or directory cppcms_config_find_param: error while loading shared libraries: libbooster.so.0: cannot open shared object file: No such file or directory cppcms_config_find_param: error while loading shared libraries: libbooster.so.0: cannot open shared object file: No such file or directory Can't find service.api or service.socket in config.js Aborting [ec2-user@ip-10-196-230-32 hello_world]$ cppcms_run hello -L /usr/local/lib -c config.js Usage cppcms_run [-e] [ -S server ] [-p port] [-h host] \ [-r /document/root ] [-s /script ] program -c config.txt [ additional parameters ] -c configuration file of cppcms executable -p port to start the server on, default 8080 -s fastcgi script name, default '/'+your program name -h host to bind, default 127.0.0.1 -r document root (default .) -S (lighttpd|nginx|apache2) - web server you want to run -e Do not start application, started externaly (for debugging) [ec2-user@ip-10-196-230-32 hello_world]$ cd /usr/local/lib [ec2-user@ip-10-196-230-32 lib]$ ls libbooster.a libbooster.so libbooster.so.0 libbooster.so.0.0.0 libcppcms.a libcppcms.so libcppcms.so.1 libcppcms.so.1.0.0 perl5 [ec2-user@ip-10-196-230-32 lib]$ |