Forum OpenACS Q&A: Response to AOL doesn't load postgres.so driver

Collapse
Posted by loris bason on
OK,
I solved the problem creating a link file /usr/lib/plpgsql.so.1.0
However, AOLserver gave another error:

Warning: modload: failed to load '/home/aolserver/bin/postgres.so': '/lib/libplpgsql.so.1.0: undefined symbol: CurrentMemoryContext'
Error: dbdrv: failed to load driver 'postgres'
Error: dbinit: no such default pool 'main'

I found that the library plpgsql (installed by rpm postgresql) had not symbols(??)
So I decided to uninstal the rpm, to download the source of postgresql and compile it.
Now everything works perfectly.
thanks and bye to everybody