I do not have the answer and I am not an expert but maybe I can help you in finding the answer.
Testconfiguration:
- Testsystem Synology DS112J with
DSM4.1 build 2626
- OpenERP 6.1.1-012 (I don't know the
builnummer of OpenERP, I hope I find out once how to retrieve this)
Python 2.7.3.1-011
PostgreSQL Database Server 8.3.11.
First step I usualy take is close all
other services on the Synology. Log
in as administrator. Go to packages
and stop all excluding Python and
OpenERP. This is because there are a
lot of services on Synology that use
Postgres and Pgsql which can conflict
OpenERP / Postgres / pgsql. Stop and
start openERP and try to do what
failed again. If it is ok, you know a
lot .... If it is not ok you can
restart all other packages.
Second step is I started Itari's
admin tool - this is a must have tool for in depth managing a Synology and it is free - and I looked for libraries.
Findings:
In user/syno/pgsql there are no libraries. In usr/ lib ->/lib there are symlinks with libraries. However I didn't see plpgsql.so.
Next Steps:
- You could check on a Ubuntu 12.04
reference system (you can use a virtual machine for this) the locations of the
libraries and if more libraries are missing.
- Copy in the missing libraries from the Ubuntu configuration or from internet to the synology.
- You can also check the configuration files on Synology where libraries are expected to be.
- If the copy doesn't work you need to install plpgsql.so the formal way as described here:
http://www.postgresql.org/docs/8.2/static/xplang-install.html For synology a variant on this can be needed.
I am very interested if this is of help for you. And if you find a solution please report your steps in detail as an answer on your own question.
I have posted a lot of the configuration parameters of OpenERP 6.1.1-011 on a synology DS412+: http://forum.synology.com/enu/viewtopic.php?f=184&t=56373
Added 10 April 2013:
There is also an other method you can use to add the missing libraries with apt-get.
Therefor you need to install Debian Chroot on your Synology.
This software is available from the Synology Community:
Add in your Package Center packetsources:
"http://packages.synocommunity.com" (you can't click on this, it is only for adding in the field on the synology.). You can click on: http://www.synocommunity.com/