Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sphinx search server: unknown type 'pgsql'

I'm trying to install Sphinx search server with pgsql and I have this error: "unknown type 'pgsql'; skipping;"

You will probably ask me if I have added --with-pgsql="path/to/pgsql" with "./configure" but I try to install sphinx with ... a remote DB!

So I can't specify --with-pgsql with "./configure" because pgsql files are not on this server.

My sphinx.conf file contains access to the remote DB (IP, database, port etc.).

If someone could help me on this problem.

like image 970
Thomas Avatar asked Feb 23 '26 00:02

Thomas


1 Answers

check: whereis pg_config

must output: pg_config: /usr/bin/pg_config /usr/share/man/man1/pg_config.1.gz

if output: pg_config: < nothing >

then install package postgresql-devel (for SUSE) or libpq-dev (for other ver.) or another analog package

like image 51
proart Avatar answered Feb 24 '26 17:02

proart