Re: 7.2.2 on Mac OS 10.2.1 (Darwin 6.0)
От | Tom Lane |
---|---|
Тема | Re: 7.2.2 on Mac OS 10.2.1 (Darwin 6.0) |
Дата | |
Msg-id | 17740.1033438291@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | 7.2.2 on Mac OS 10.2.1 (Darwin 6.0) (Jeshua Lacock <jeshua@OpenOSX.com>) |
Список | pgsql-ports |
Jeshua Lacock <jeshua@OpenOSX.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
В списке pgsql-ports по дате отправления: