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: (view raw, whole thread or download thread mbox)
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
> ld: Undefined symbols:
> _crypt referenced from libpq expected to be defined in libcrypto
> make[4]: *** [] Error 1

FWIW, I see no comparable failure on OSX 10.1 using current Postgres CVS
(7.3beta2+).  The link line for libecpg has
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 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-2017 The PostgreSQL Global Development Group