Skip site navigation (1) Skip section navigation (2)

Re: 7.2.2 on Mac OS 10.2.1 (Darwin 6.0)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeshua Lacock <jeshua(at)OpenOSX(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: 7.2.2 on Mac OS 10.2.1 (Darwin 6.0)
Date: 2002-10-01 02:11:31
Message-ID: 17740.1033438291@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-ports
Jeshua Lacock <jeshua(at)OpenOSX(dot)com> writes:
> While attempting to build Postgres 7.2.2 here on Mac OS 10.2.1, I am 
> running into a bit of difficulty.
> ...
> "src/interfaces/ecpg/lib" directory I get the following:

> gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes 
> -Wmissing-declarations  -flat_namespace -bundle -undefined suppress 
> execute.o typename.o descriptor.o data.o error.o prepare.o memory.o 
> connect.o misc.o -L/usr/local/ssl -L../../../../src/interfaces/libpq 
> -lpq  -o libecpg.so.3.3.0
> ld: Undefined symbols:
> _crypt referenced from libpq expected to be defined in libcrypto
> make[4]: *** [libecpg.so.3.3.0] Error 1

FWIW, I see no comparable failure on OSX 10.1 using current Postgres CVS
(7.3beta2+).  The link line for libecpg has
	-L/usr/local/ssl/lib
and no specific mention of -lssl or -lcrypto.  I suspect the -L isn't
really needed either, and that it works correctly because
	-L/usr/local/ssl/lib -lssl -lcrypto
are used in building libpq.so in src/interfaces/libpq/.  What command
gets used there for you?

			regards, tom lane

In response to

pgsql-ports by date

Next:From: Vikram SDate: 2002-10-01 08:03:29
Subject: Interix port - psql cannot connect properly with the Pgsql server
Previous:From: Benjamin ReedDate: 2002-10-01 00:23:30
Subject: Re: 7.2.2 on Mac OS 10.2.1 (Darwin 6.0)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group