Обсуждение: pgadmin3 compilation error

Поиск
Список
Период
Сортировка

pgadmin3 compilation error

От
Isabella Ghiurea
Дата:
Hi All,
I'm trying to compile pgadmin 3 on RHEL 5, using the source code , the 
"make  all"  fails with the following error , any tips ?
postgres_source/postgres_8.3.6/lib -lcrypto -lpq
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libxslt.so when searching 
for -lxslt
/usr/bin/ld: skipping incompatible /usr/lib/libxslt.a when searching for 
-lxslt
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
make[2]: *** [pgadmin3] Error 1
make[2]: Leaving directory `/var/lib/pgsql/download/pgadmin3-1.8.4/pgadmin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/lib/pgsql/download/pgadmin3-1.8.4'
make: *** [all] Error 2



Re: pgadmin3 compilation error

От
Devrim GÜNDÜZ
Дата:
On Tue, 2009-02-24 at 13:32 -0800, Isabella Ghiurea wrote:
> I'm trying to compile pgadmin 3 on RHEL 5, using the source code ,

Why? We have precompiled RPMS at http://yum.pgsqlrpms.org

> /usr/bin/ld: cannot find -lcrypto

You need to install openssl-devel.
--
Devrim GÜNDÜZ, RHCE
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr                  http://www.gunduz.org

Re: pgadmin3 compilation error

От
Isabella Ghiurea
Дата:

Thank you but seems that I have them already :
yum list openssl-devel
Loading "dellsysidplugin" plugin
Loading "kernel-module" plugin
Setting up repositories
Reading repository metadata in from local files
Available Packages
openssl-devel.x86_64                     0.9.8b-10.el5_2.1      sl-security
openssl-devel.i386                       0.9.8b-10.el5_2.1      sl-security

Devrim GÜNDÜZ wrote:
> On Tue, 2009-02-24 at 13:32 -0800, Isabella Ghiurea wrote:
>   
>> I'm trying to compile pgadmin 3 on RHEL 5, using the source code ,
>>     
>
> Why? We have precompiled RPMS at http://yum.pgsqlrpms.org
>
>   
>> /usr/bin/ld: cannot find -lcrypto
>>     
>
> You need to install openssl-devel.
>   



Re: pgadmin3 compilation error

От
Devrim GÜNDÜZ
Дата:
Hi,

On Tue, 2009-02-24 at 14:16 -0800, Isabella Ghiurea wrote:

> Available Packages
> openssl-devel.x86_64                     0.9.8b-10.el5_2.1      sl-security
> openssl-devel.i386                       0.9.8b-10.el5_2.1      sl-security

It does not say that it is installed. It says that it is available.

yum install openssl-devel

will do the trick.

Regards,
--
Devrim GÜNDÜZ, RHCE
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr                  http://www.gunduz.org