Re: lpgport issue while installing pg_bulkload utility on fedora 14 OS
От | Adrian Klaver |
---|---|
Тема | Re: lpgport issue while installing pg_bulkload utility on fedora 14 OS |
Дата | |
Msg-id | 534C3CFD.9080401@aklaver.com обсуждение исходный текст |
Ответ на | Re: lpgport issue while installing pg_bulkload utility on fedora 14 OS (chiru r <chirupg@gmail.com>) |
Список | pgsql-general |
On 04/14/2014 07:56 AM, chiru r wrote: > Okay,installed postgresql-devel.x86_64 package on fedora14 OS. > > Google blogs says it seems Fedora Postgresql-devel package not > supported libpgport. > > _http://www.postgresql.org/message-id/4EE2338F.1040302@dunslane.net The bigger issue is that the RedHat family discourages static libraries in packages. > _ > > Is there any workaround. Depends on your situation. Is the server you are trying to build pg_bulkload a production server that cannot be changed? In other words is possible to build the server from source? Failing that there is the part way there method. I am not sure how well this would work, others may have comments on this. 1) Go here: http://www.postgresql.org/ftp/source/ Find 8.4.9(FYI 8.4 is now up to release 8.4.21) 2) Do the make without the install in the source. 3) Find libpgport.a in ~/src/port/ 4) Copy it to the Postgres library directory. Not sure where that is in Fedora. Though a search for libpq.so should find it. 5) Cross fingers, retry build of pg_bulkloader. > -- Adrian Klaver adrian.klaver@aklaver.com
В списке pgsql-general по дате отправления: