After a default install of CentOS with both mysql and postgres and libs netxms fails on both. Postgres: checking for floor in -lm... yes
checking for PQconnectdb in -lpq... no
configure: error: libpq is required for PostgreSQL support
Fails
Mysql:checking for mysql_init in -lmysqlclient... yes
checking whether mysql clients can run... no
configure: error: Your MySQL client libraries aren't properly installed
Fails.
I have read many posts previously submitted and have not been able to get past either failure. Is there a but in the install or me? It has been some time since I have slept so I am willing to concede.
			
			
			
				Problem with MySQL is already known, and I'll fix it in rc2. In the meantime, you could try to prefix ./configure with LDFLAGS=-lmysqlclient, like this:
LDFLAGS=-lmysqlclient ./configure --with-server --with-mysql
Nobody reports PostgreSQL problem so far. Could you please post config.log from failed PostgreSQL configuration?
Best regards,
Victor
			
			
			
				That worked V! Thanks. I am on a different machine tho. I will get the postgres info poss. 3-4-10.
J
			
			
			
				I am having the same problem with postgresql has this been resolved yet?
Also when I try the LDFLAGS option I get :
configure: error: C compiler cannot create executables
I am also using CentOS but I don't have a lot of Unix/Linux experience so I might have messed something up
			
			
			
				Could you please post config.log here?
Best regards,
Victor