missing libreadline.so

Hello kind people, I need some help

I have a trouble with postgres:

I’ve installed postgresql from qnx repository and
everything seems to be ok, but and when I try any
postgres command (initdb, psql, createdb) shell
returns message ‘could not find library libreadline.so’

Where from I can download that library?

thanks a lot

Alberto