how do I get ecpg for ubuntu 9.10?

Asked by dgbrown

I am using postgresql 8.4 on ubuntu 9.10.
I want to write programs in c and use ecpg (embedded SQL preprocessor for postgresql) to access the database.
Ubuntu's apt-get install can't find a prebuilt package for ecpg.

What steps do I need to take to get an operational ecpg preprocessor for 8.4 on i386 platform?

Question information

English Edit question
Ubuntu postgresql-8.4 Edit question
No assignee Edit question
Solved by:
Gabe Gorelick
Last query:
Last reply:
Revision history for this message
Best Gabe Gorelick (gabegorelick) said :

If you do a search in synaptic package manager for ecpg, it lists all the relevant packages. The one you probably want is called libecg6, which is the runtime library.

Revision history for this message
dgbrown (dgbrown5) said :

Thank you.
This solved my problem.
I also needed libecpg-dev for the executable ecpg itself.
And I got to learn about synaptic-package-manager.

Revision history for this message
dgbrown (dgbrown5) said :

Thanks Gabe Gorelick, that solved my question.