trying to work whith shared libraries