Project

General

Profile

Pls help me, i think its simple stuff but i dont get it

Added by Hi AmNewb over 8 years ago

i copy a hello.C from examples and go make somewhere a new dir. then i open terminal and cd to that dir, after that i run

g -o hello hello.C -I/usr/local/include -L/usr/local/lib -lwthttp -lwt -lboost_random -lboost_regex -lboost_signals -lboost_system -lboost_thread -lboost_filesystem -lboost_program_options -lboost_date_time

it builds but whenever i try to run hello i get this

./hello: error while loading shared libraries: libwthttp.so.39: cannot open shared object file: No such file or directory

i am on Ubuntu 14.04 LST and in my usr/libs i dont have libwhttp.so.39 but i have libwthttp.so.35 libwthttp.so libwthttp.so.3.3.0

I can run already build examples from /usr/lib/Wt/examples/ with no problem. So how to fix this i do i need to load somthing up or what?