Search Postgresql Archives

Re: compile error in libpq program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/21/10 9:14 PM, zab08 wrote:

more detail? I don't understand.

please send responses to the mail list so others can contribute.

libpq is only one piece of postgres, and building it has to be done in the context of the rest of the postgres build environment, you can't just manually compile it standalone and expect sane results. before you compile any of the postgres components, you run the ./configure script in the top level postgres directory with the appropriate options for your envinronment, this sets up the proper build environment, including various libraries such as libssl and libcrypto. Your compile failed because it didn't know where these libraries are.

if you want to just compile libpq, and not the rest of postgres, I would first run './configure' with proper options in the top directory, then 'cd src/interfaces/libpq ' and run 'make' there.




--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux