Thanks for trying to help. The actual solution was to use $PKG_CONFIG_PATH.
Thanks to http://www.howtoforge.com/compile-rtorrent-from-svn-ubuntu-8.04-hardy-heron I know all the dependencies to install rtorrent. But I save...
Separate names with a comma.