undefined reference in POCO

Hello, I am trying to use POCO in linux.
I installed it with these commands
./configure
make -s
make install
then I took one sample and compiled it
g++ -Wall -o “poco” “poco.cpp” -g
to that file http://pastebin.com/DsbVXi0Q
and i’m getting undefined reference errors http://pastebin.com/xeGX84Gr