I solved the problem. <br>
<br>
This file is in package postgresql-dev of debian. I installed it,
delete the precompiled version of ser that i had (and didn't work), and
recompile all another time. It successfully creates the postgres.so<br>
<br>
Sorry for time lost.<br>
<br>
Regards.<br>
Gorka.<br>