how does LDFLAGS work?
От | michael lush |
---|---|
Тема | how does LDFLAGS work? |
Дата | |
Msg-id | CACXX7McP2xJOhsQx-+r4=O_fpcXcyiZ_Xm6M=EgCdMTVo8g_Lg@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: how does LDFLAGS work?
|
Список | pgsql-novice |
I'm trying to compile postgres 8.4.2 with perl and ssl support but have no root access ./configure --with-openssl --with-perl --prefix=/home/michael/postgresql-8.4.2 dies with . . . checking for -lreadline... yes (-lreadline -ltermcap) checking for inflate in -lz... yes checking for CRYPTO_new_ex_data in -lcrypto... no configure: error: library 'crypto' is required for OpenSSL I did a local install of OpenSSL in /home/michael/openssl however, I not clear how to point configure at the local library In the INSTALL notes under "configure complains about a failed test program" It seems to suggest I use something like ' configure ... LDFLAGS="-R /usr/sfw/lib:/opt/sfw/lib:/usr/local/lib" however ./configure --with-openssl --with-perl --prefix=/home/michael/postgresql-8.4.2 LDFLAGS="-R /home/michael/openssl/lib:/usr/lib" only gets as far as . . checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. the ld manpage seems to indicate that -R is looking for a filename though I'm not sure what to put in the file. -- Michael
В списке pgsql-novice по дате отправления: