Thread: Build Error on FC1

Build Error on FC1

From
Devrim GUNDUZ
Date:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

I'm back to life :-)

As reported in:

http://archives.postgresql.org/pgadmin-hackers/2003-12/msg00130.php

I still cannt recompile pgadmin3 on FC1. Here is the error report:

===================================================g++
- -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include
- -I../src/agent/include -Wall -g -O0  -L/usr/local/pgsql/lib -L/usr/lib -o
pgadmin3  pgAdmin3.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 pgOperator.o pgOperatorClass.o
pgRule.o pgSchema.o pgSequence.o pgServer.o pgTable.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 xh_calb.o xh_timespin.o
calbox.o timespin.o ctlListView.o ctlSQLBox.o ctlSQLResult.o frmExport.o
dlgAddTableView.o dlgEditGridOptions.o events.o frmAbout.o frmIndexcheck.o
frmChildTableViewFrame.o frmConnect.o frmMain.o frmOptions.o frmPassword.o
frmQuery.o frmQueryBuilder.o frmHelp.o frmQBJoin.o frmSplash.o
frmMaintenance.o frmEditGrid.o dlgProperty.o dlgUser.o dlgGroup.o
dlgDatabase.o dlgLanguage.o dlgSchema.o dlgDomain.o dlgTable.o dlgColumn.o
dlgIndex.o dlgFunction.o dlgView.o dlgRule.o dlgOperator.o dlgAggregate.o
dlgCast.o dlgConversion.o dlgIndexConstraint.o dlgForeignKey.o
dlgSequence.o dlgTrigger.o dlgType.o dlgCheck.o frmStatus.o misc.o
sysLogger.o sysSettings.o utffile.o xrcDialogs.o
/usr/local/pgsql/lib/libpq.a -lcrypt -lssl -lcrypto
/usr/lib/libwx_gtk2ud_stc-2.5.a /usr/lib/libwx_gtk2ud_xrc-2.5.a  -pthread
/usr/lib/libwx_gtk2ud-2.5.a -Wl,--export-dynamic -pthread -lgtk-x11-2.0
- -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0
- -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0
- -Wl,--export-dynamic -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0
- -lgmodule-2.0 -ldl -lglib-2.0 -lpng -ljpeg -ltiff -lz -ldl -lm
pgConn.o(.text+0x17e4): In function `pgConn::IsSSLconnected()':
db/pgConn.cpp:194: undefined reference to `PQgetssl'
collect2: ld returned 1 exit status
make[2]: *** [pgadmin3] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/pgadmin3-1.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/pgadmin3-1.1.0'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.54857 (%build)
=============================================================

Comments?

Regards,
- --
Devrim GUNDUZ
devrim@gunduz.org                devrim.gunduz@linux.org.tr
            http://www.TDMSoft.com
            http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAA7Eytl86P3SPfQ4RApNEAJ9sYXfPAD+lmHnh4DopTN3ig1baSACg0TUE
o6Qy3h6kTZvRwjpIDY46f0s=
=272A
-----END PGP SIGNATURE-----


Re: Build Error on FC1

From
"Dave Page"
Date:

> -----Original Message-----
> From: Devrim GUNDUZ [mailto:devrim@gunduz.org]
> Sent: 13 January 2004 08:49
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] Build Error on FC1
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hi,
>
> I'm back to life :-)
>
> As reported in:
>
> http://archives.postgresql.org/pgadmin-hackers/2003-12/msg00130.php
>
> I still cannt recompile pgadmin3 on FC1. Here is the error report:
>
> db/pgConn.cpp:194: undefined reference to `PQgetssl'
> collect2: ld returned 1 exit status

Do you have SSL compiled into your libpq? You can check for the symbol
using nm...

Regards, Dave.