Question

i just compiled new version 5.1 of http://gmplib.org/ . the libraries seems to be in /usr/local/lib

how can i replace the old libraries of gmp, which are in /usr/lib? or can i simply put in some parameter when compiling a program with g++?

Was it helpful?

Solution

When running ./configure for the gmp library, add the argument --prefix=/usr

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top