Sphinx 2.0.8 with Postgresql 9.2.4

Posted by Calvin on Server Fault See other posts from Server Fault or by Calvin
Published on 2013-06-25T09:37:25Z Indexed on 2013/06/25 10:22 UTC
Read the original article Hit count: 307

Filed under:
|
|

I want to install Sphinx 2.0.8 from source on CentOS 5.6 with PostgreSQL 9.2.4

my server type : Linux localhost.localdomain 2.6.18-348.6.1.el5 #1 SMP Tue May 21 15:29:55 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux.

First, i compile with : ./configure --prefix=/usr/local/sphinx --with-pgsql --without-mysql --with-pgsql-libs=/var/lib/pgsql/9.2/data/ --with-pgsql-includes=/usr/pgsql-9.2/include/

then it seems work, but after i run make errors appeared /usr/bin/ld: cannot find -lpq

I have installed postgresql92-devel and libs also libpqxxx and worked with that error all day long but i am not solve that yet. Thanks for helping me.

© Server Fault or respective owner

Related posts about linux

Related posts about sphinxsearch