Re: crypto library is not installed

From: Dave Page <dpage(at)pgadmin(dot)org>
To: "Andreas 'ads' Scherbaum" <adsmail(at)wars-nicht(dot)de>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: crypto library is not installed
Date: 2014-03-03 10:32:44
Message-ID: CA+OCxowH+AQxf0ioyU+Crwujg6cyLfEpzLYO1X-TZHeihZp7gA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Mon, Mar 3, 2014 at 10:20 AM, Andreas 'ads' Scherbaum
<adsmail(at)wars-nicht(dot)de> wrote:
>
> Hi,
>
> when compiling pgAdmin3 I ran into the same problem as others before:
> openssl-devel is not installed.
>
>
> ./configure --prefix=/home/ads/tmp-pgadmin3 --with-pgsql=/usr/pgsql-9.3/
>
> make[3]: Entering directory `/home/ads/pgadmin3/xtra/png2c'
> gcc -DHAVE_CONFIG_H -I. -I../.. -I../../pgadmin/include/libssh2
> -I/usr/pgsql-9.3/include -I/usr/pgsql-9.3/include/server
> -I/usr/pgsql-9.3/include -DHAVE_CONNINFO_PARSE
> -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DEMBED_XRC
> -I/usr/include/libxml2 -I/usr/include/libxml2 -O2 -MT png2c.o -MD -MP -MF
> .deps/png2c.Tpo -c -o png2c.o png2c.c
> mv -f .deps/png2c.Tpo .deps/png2c.Po
> gcc -O2 -L/usr/pgsql-9.3/lib -Wl,-as-needed -L/usr/lib -o png2c png2c.o
> -L/usr/pgsql-9.3/lib -lcrypto -lpq
> /usr/bin/ld: cannot find -lcrypto
> collect2: ld returned 1 exit status
> make[3]: *** [png2c] Error 1
>
>
> Yes, I know how to fix this. My question is: why is "configure" not checking
> for this library, when it is required to build pgAdmin3?

Noone wrote the code I guess. Patches welcome :-)

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Compan

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas 'ads' Scherbaum 2014-03-03 13:05:13 Re: crypto library is not installed
Previous Message Andreas 'ads' Scherbaum 2014-03-03 10:20:54 crypto library is not installed