Thread: pgAdmin3 doesn't work after upgrading FC1 to FC2
Hi! I upgraded Fedora Core 1 to Fedora Core 2 and pgAdmin3 doesn't work any more. When launched on the terminal, the error is: "pgadmin3: error while loading shared libraries: pgadmin3: undefined symbol: _gtk_accel_group_attach" Thanks for any help. (version is pgadmin3-1.1.0-cvs20031211) -- Fernando J. Leal fjleal@ingeniumatica.com http://www.ingeniumatica.com
> -----Original Message----- > From: pgadmin-support-owner@postgresql.org > [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of > Fernando J. Leal > Sent: 10 June 2004 00:10 > To: pgadmin-support@postgresql.org > Subject: [pgadmin-support] pgAdmin3 doesn't work after > upgrading FC1 to FC2 > > Hi! > > I upgraded Fedora Core 1 to Fedora Core 2 and pgAdmin3 > doesn't work any more. When launched on the terminal, the error is: > "pgadmin3: error while loading shared libraries: pgadmin3: undefined > symbol: _gtk_accel_group_attach" > > Thanks for any help. > > (version is pgadmin3-1.1.0-cvs20031211) The GTK libraries have changed in FC2, requiring a different build of pgAdmin (which none of us provide yet). Your best bet would be to compile your own wx library and pgAdmin from source as detailed here: http://www.pgadmin.org/pgadmin3/download.php#source Regards, Dave.
Le jeudi 10 Juin 2004 01:09, Fernando J. Leal a écrit : > I upgraded Fedora Core 1 to Fedora Core 2 and pgAdmin3 doesn't work any > more. When launched on the terminal, the error is: > "pgadmin3: error while loading shared libraries: pgadmin3: undefined > symbol: _gtk_accel_group_attach" Can you try uninstalling pgAdmin RPM and installing again? Anyway, it looks like we need to release a complete set of packages for all platforms, because wxWidgets depends on a bunch of libraries and needs to be compiled for every new platform added. Ahhh! Cheers, Jean-Michel
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On Thu, 10 Jun 2004, Dave Page wrote: > The GTK libraries have changed in FC2, requiring a different build of > pgAdmin (which none of us provide yet). Your best bet would be to > compile your own wx library and pgAdmin from source as detailed here: > http://www.pgadmin.org/pgadmin3/download.php#source I've built wxGTK RPMS for FC2. However, due to bandwith problems, I can upload them tonight, so in 24 hours, they will be downloadable from web site. 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) iD8DBQFAyB6Dtl86P3SPfQ4RAj/tAJ49SpnZZz7oCTp7zuWX74TFIMMwSACgpaj/ NQOonzDYwQUb7xZLkfyzd4s= =ypl9 -----END PGP SIGNATURE-----
Hi Devrim :) On Thu, 10 Jun 2004, Devrim GUNDUZ wrote: > I've built wxGTK RPMS for FC2. However, due to bandwith problems, I can > upload them tonight, so in 24 hours, they will be downloadable from web > site. Ok I found some time to upload the i686-binaries: http://developer.pgadmin.org/snapshots/wxwindows/FC2/20031010.10/ The SRPM is about 16 MB. I'll not upload it today. Instead, uploaded the spec file. I'm trying to rebuild pgadmin3 with this wxGTK version, if I can succeed, I'll also upload the latest snapshot of pgadmin Regards, -- Devrim GUNDUZ devrim~gunduz.org devrim.gunduz~linux.org.tr http://www.tdmsoft.com http://www.gunduz.org
Hi, On Thu, 10 Jun 2004, Dave Page wrote: > > I upgraded Fedora Core 1 to Fedora Core 2 and pgAdmin3 > > doesn't work any more. When launched on the terminal, the error is: > > "pgadmin3: error while loading shared libraries: pgadmin3: undefined > > symbol: _gtk_accel_group_attach" > > > > Thanks for any help. > > > > (version is pgadmin3-1.1.0-cvs20031211) > > The GTK libraries have changed in FC2, requiring a different build of > pgAdmin (which none of us provide yet). I got the same error while building the rpm: =================================================================== g++ -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include -I../src/agent/include -Wall -g -O0 -L/usr/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/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 /usr/lib/libwx_gtk2ud-2.5.a(monolib_settings.o)(.text+0x930): In function `wxSystemSettingsNative::GetFont(wxSystemFont)': : undefined reference to `_gtk_rc_context_get_default_font_name' /usr/lib/libwx_gtk2ud-2.5.a(monolib_menu.o)(.text+0xbdd): In function `wxMenubarUnsetInvokingWindow(wxMenu*, wxWindow*)': : undefined reference to `_gtk_accel_group_detach' /usr/lib/libwx_gtk2ud-2.5.a(monolib_menu.o)(.text+0xcd9): In function `wxMenubarSetInvokingWindow(wxMenu*, wxWindow*)': : undefined reference to `_gtk_accel_group_attach' /usr/lib/libwx_gtk2ud-2.5.a(monolib_menu.o)(.text+0xd8e): In function `wxMenuBar::SetInvokingWindow(wxWindow*)': : undefined reference to `_gtk_accel_group_attach' /usr/lib/libwx_gtk2ud-2.5.a(monolib_menu.o)(.text+0xe00): In function `wxMenuBar::UnsetInvokingWindow(wxWindow*)': : undefined reference to `_gtk_accel_group_detach' 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.56985 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.56985 (%build) ====================================================================== -- Devrim GUNDUZ devrim~gunduz.org devrim.gunduz~linux.org.tr http://www.tdmsoft.com http://www.gunduz.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Devrim GUNDUZ wrote: | I got the same error while building the rpm: Hmmm, I built pgAdmin3 on FC2 without issue. Of course I was messing with the CVS version of wxWidgets, but.... Did you use a binary package of wxWidgets or did you re-build that package on FC2 before you build pgAdmin3? ahp -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAyJZ6f/U4M//FQ/URAhF1AJ9g7z3CQR9MMF7s3/W8m3aCB4g+YQCeO2nf 0nUPIx4EaOH2KllkfLBEO84= =7oqA -----END PGP SIGNATURE-----
Le jeudi 10 Juin 2004 19:12, Adam H. Pendleton a écrit : > Did you use a binary package of wxWidgets or did you re-build that > package on FC2 before you build pgAdmin3? Dear Adam, Did you try building wx RPMs using the wx custom script? Last time I used the script (nearly one year ago, a decade in computing!), the script was of good quality. This is quite a pitty that they do not release RPMs more often. Cheers, Jean-Michel