CentOS default install fails mysql and postgres
-
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 supportFails
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 -
-
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 executablesI 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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login