Thread: error compiling pgadmin3 1.2.1

error compiling pgadmin3 1.2.1

From
Akbar
Date:
Hi....  I have compiled and installed pgadmin3 1.2.0 before. Then I try
to upgrade it. But got error when compiling...

This is the error message.... ( after make all ):

if g++ -DHAVE_CONFIG_H -I. -I. -I..  -DDATA_DIR=
\"/usr/local/pgadmin3/share/pgad min3/\" -Wall -g -I../src/include
-I../src/agent/include -I/usr/include -DSSL
-I /usr/local/lib/wx/include/gtk2-unicode-release-static-2.5
-I/usr/local/include/w x-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES   - I/usr/local/include/wx-2.5
-DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -W all -g
-I../src/include -I../src/agent/include -g -O2 -MT xrcDialogs.o -MD -MP
- MF ".deps/xrcDialogs.Tpo" \ -c -o xrcDialogs.o `test -f 'ui/common/xrcDialogs.cpp' || echo
'./'`ui/common/ xrcDialogs.cpp; \
then mv -f ".deps/xrcDialogs.Tpo" ".deps/xrcDialogs.Po"; \
else rm -f ".deps/xrcDialogs.Tpo"; exit 1; \
fi
g++ -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g
-I../src/include  -I../src/agent/include -g -O2  -L/usr/lib
-L/usr/local/lib -o pgadmin3  pgAdmin 3.o pgConn.o pgSet.o keywords.o
pgAggregate.o pgCast.o pgCheck.o pgCollection.o pgColumn.o
pgConstraints.o pgConversion.o pgDatabase.o pgDomain.o pgForeignKey.o
pgFunction.o pgGroup.o pgIndex.o pgIndexConstraint.o pgLanguage.o
pgObject.o pg Operator.o pgOperatorClass.o pgRule.o pgSchema.o
pgSequence.o pgServer.o pgTable .o pgTablespace.o pgTrigger.o pgType.o
pgUser.o pgView.o pgDatatype.o pgaAgent.o  pgaJob.o pgaStep.o
pgaSchedule.o dlgJob.o dlgSchedule.o dlgStep.o xh_sqlbox.o x h_calb.o
xh_timespin.o xh_ctlcombo.o ctlSecurityPanel.o dlgClasses.o
ctlComboBox .o calbox.o timespin.o ctlListView.o ctlSQLBox.o
ctlSQLResult.o frmExport.o dlgE ditGridOptions.o events.o frmAbout.o
frmIndexcheck.o dlgConnect.o frmMain.o frmO ptions.o frmPassword.o
frmQuery.o frmHelp.o frmSplash.o frmMaintenance.o frmBack up.o
frmRestore.o frmGrantWizard.o frmEditGrid.o dlgProperty.o dlgUser.o
dlgServ er.o dlgGroup.o dlgDatabase.o dlgLanguage.o dlgSchema.o
dlgDomain.o dlgTable.o d lgTablespace.o dlgColumn.o dlgIndex.o
dlgFunction.o dlgView.o dlgRule.o dlgOpera tor.o dlgAggregate.o
dlgCast.o dlgConversion.o dlgIndexConstraint.o dlgForeignKe y.o
dlgSequence.o dlgTrigger.o dlgType.o dlgCheck.o frmStatus.o misc.o
sysLogger .o sysSettings.o utffile.o xrcDialogs.o  /usr/lib/libpq.a
-lcrypt  -lcrypto /usr /local/lib/libwx_gtk2u_stc-2.5.a -L/usr/local/lib
-pthread   -L/usr/X11R6/lib  /
usr/local/lib/libwx_gtk2u_xrc-2.5.a /usr/local/lib/libwx_gtk2u_html-2.5.a /usr/l ocal/lib/libwx_gtk2u_adv-2.5.a
/usr/local/lib/libwx_gtk2u_core-2.5.a/usr/local/ lib/libwx_baseu_xml-2.5.a /usr/local/lib/libwx_baseu_net-2.5.a
/usr/local/lib/libwx_baseu-2.5.a -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0
-lpangox-1.0-lgthread-2.0 -Wl,--export-dynamic -lpangoft2-1.0 -l pango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
-lXinerama-lXxf86vm -lpng -ljp eg -lexpat -lz -ldl -lm -lwxregexu-2.5 -lwxtiff-2.5
 
/usr/lib/libpq.a(fe-secure.o)(.text+0x8a): In function
`pqsecure_open_client':
: undefined reference to `SSL_new'
/usr/lib/libpq.a(fe-secure.o)(.text+0xa6): In function
`pqsecure_open_client':
: undefined reference to `SSL_set_ex_data'
/usr/lib/libpq.a(fe-secure.o)(.text+0x101): In function
`pqsecure_open_client':
: undefined reference to `SSL_set_fd'
/usr/lib/libpq.a(fe-secure.o)(.text+0x180): In function `pqsecure_read':
: undefined reference to `SSL_read'
/usr/lib/libpq.a(fe-secure.o)(.text+0x194): In function `pqsecure_read':
: undefined reference to `SSL_get_error'
/usr/lib/libpq.a(fe-secure.o)(.text+0x32b): In function
`pqsecure_write':
: undefined reference to `SSL_write'
/usr/lib/libpq.a(fe-secure.o)(.text+0x33f): In function
`pqsecure_write':
: undefined reference to `SSL_get_error'
/usr/lib/libpq.a(fe-secure.o)(.text+0x7f9): In function
`client_cert_cb':
: undefined reference to `SSL_get_ex_data'
/usr/lib/libpq.a(fe-secure.o)(.text+0xbcb): In function
`init_ssl_system':
: undefined reference to `TLSv1_method'
/usr/lib/libpq.a(fe-secure.o)(.text+0xbd3): In function
`init_ssl_system':
: undefined reference to `SSL_CTX_new'
/usr/lib/libpq.a(fe-secure.o)(.text+0xc22): In function
`init_ssl_system':
: undefined reference to `SSL_library_init'
/usr/lib/libpq.a(fe-secure.o)(.text+0xc27): In function
`init_ssl_system':
: undefined reference to `SSL_load_error_strings'
/usr/lib/libpq.a(fe-secure.o)(.text+0xcd8): In function
`initialize_SSL':
: undefined reference to `SSL_CTX_set_tmp_dh_callback'
/usr/lib/libpq.a(fe-secure.o)(.text+0xcfe): In function
`initialize_SSL':
: undefined reference to `SSL_CTX_ctrl'
/usr/lib/libpq.a(fe-secure.o)(.text+0xd34): In function
`initialize_SSL':
: undefined reference to `SSL_CTX_load_verify_locations'
/usr/lib/libpq.a(fe-secure.o)(.text+0xd59): In function
`initialize_SSL':
: undefined reference to `SSL_CTX_set_verify'
/usr/lib/libpq.a(fe-secure.o)(.text+0xdc9): In function `destroy_SSL':
: undefined reference to `SSL_CTX_free'
/usr/lib/libpq.a(fe-secure.o)(.text+0xe0a): In function
`open_client_SSL':
: undefined reference to `SSL_connect'
/usr/lib/libpq.a(fe-secure.o)(.text+0xe22): In function
`open_client_SSL':
: undefined reference to `SSL_get_peer_certificate'
/usr/lib/libpq.a(fe-secure.o)(.text+0xeee): In function
`open_client_SSL':
: undefined reference to `SSL_get_error'
/usr/lib/libpq.a(fe-secure.o)(.text+0x1014): In function `close_SSL':
: undefined reference to `SSL_shutdown'
/usr/lib/libpq.a(fe-secure.o)(.text+0x1022): In function `close_SSL':
: undefined reference to `SSL_free'
/usr/lib/libpq.a(fe-misc.o)(.text+0xfd0): In function `pqSocketCheck':
: undefined reference to `SSL_pending'
collect2: ld returned 1 exit status
make[2]: *** [pgadmin3] Error 1
make[2]: Leaving directory `/opt/compile/pgadmin3-1.2.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/compile/pgadmin3-1.2.1'
make: *** [all] Error 2




Re: error compiling pgadmin3 1.2.1

From
"Dave Page"
Date:

> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org
> [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of Akbar
> Sent: 31 March 2005 14:55
> To: pgadmin-support@postgresql.org
> Subject: [pgadmin-support] error compiling pgadmin3 1.2.1
>
> Hi....  I have compiled and installed pgadmin3 1.2.0 before.
> Then I try
> to upgrade it. But got error when compiling...
>
> This is the error message.... ( after make all ):
>

Ack, sorry - my fault I think. I managed to ship the source tarball
without a last minute fix. Please try the version at
http://developer.pgadmin.org/ftp/release/v1.2.1/src/. The PostgreSQL
mirrors will catch up with the fixed version in the next few hours.

Regards, Dave.