Linking issues building pgAdmin3 v1.4.2 on Suse 10.0 - Mailing list pgadmin-support

From Eric E
Subject Linking issues building pgAdmin3 v1.4.2 on Suse 10.0
Date
Msg-id 7426fe270605301440v8804da6td7f08be8cd1417d7@mail.gmail.com
Whole thread Raw
Responses Re: Linking issues building pgAdmin3 v1.4.2 on
List pgadmin-support
Hi all,<br />  I'm having a really hard time getting pgAdmin3 to build on Suse.  I've managed to get wxWidgets 2.6.3
built,and built and installed the ogl and stc widgets from the contrib directory.  Pgadmin's build seems to work fine,
rightup until the linking stage, when it somehow loses all its libraries.  From perusing this list's archives, this
problemis not entirely uncommon. <br /><br />For wx-widgets, I ran configure as such:<br />./configure --with-gtk
--enable-gtk2--enable-mimetype=yes --disable-debug --enable-unicode<br /><br />For pgAdmin3, I ran plain old configure,
andthen alternately tried --enable-static (which failed, evidently because wxWidgets was not compiled with
--enabled-static)<br /><br /><br />Below is  the output of make all.  What's odd is that the linker seems to be getting
theflags that correspond to the output of wx-config.  Does anyone have any ideas for how to get ld recognize the wx
libraries?<br /><br />Many thanks for any help or ideas,<br /><br /><br />Eric<br /><br /><br />make  all-recursive<br
/>make[1]:Entering directory `/usr/local/install/pgadmin3-1.4.2'<br />Making all in i18n<br />make[2]: Entering
directory`/usr/local/install/pgadmin3- 1.4.2/i18n'<br />make[2]: Nothing to be done for `all'.<br />make[2]: Leaving
directory`/usr/local/install/pgadmin3-1.4.2/i18n'<br />Making all in src<br />make[2]: Entering directory
`/usr/local/install/pgadmin3-1.4.2/src'<br/>g++ -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall
-Wno-non-virtual-dtor-I../src/include -I../src/agent/include <br />-I../src/slony/include   -L/usr/lib -L/usr/local/lib
-opgadmin3  pgAdmin3.o base.o appbase.o sysLogger.o pgConnBase.o pgSe<br />tBase.o factory.o dlgClasses.o events.o
pgConn.opgSet.o keywords.o pgAggregate.o pgCast.o pgCheck.o pgCollection.o pgColum<br />n.o pgConstraints.o
pgConversion.opgDatabase.o pgDomain.o pgForeignKey.o pgFunction.o pgGroup.o pgIndex.o pgIndexConstrain<br />t.o
pgLanguage.opgObject.o pgOperator.o pgOperatorClass.o pgRole.o pgRule.o pgSchema.o pgSequence.o pgServer.o pgTable.o
p<br/>gTablespace.o pgTrigger.o pgType.o pgUser.o pgView.o pgDatatype.o pgaJob.o pgaStep.o pgaSchedule.o dlgJob.o
dlgSchedule.od<br />lgStep.o xh_sqlbox.o xh_calb.o xh_timespin.o xh_ctlcombo.o ctlSecurityPanel.o ctlComboBox.o
ctlTree.ocalbox.o timespin.o c<br />tlListView.o ctlSQLBox.o ctlSQLResult.o explainCanvas.o explainShape.o
dlgEditGridOptions.odlgConnect.o dlgHbaConfig.o dlg<br />MainConfig.o dlgSelectConnection.o frmExport.o frmAbout.o
frmIndexcheck.ofrmMain.o frmOptions.o frmPassword.o frmQuery.o f<br />rmHelp.o frmSplash.o frmMaintenance.o frmBackup.o
frmRestore.ofrmGrantWizard.o frmEditGrid.o frmStatus.o frmUpdate.o frmCo<br />nfig.o frmHbaConfig.o frmMainConfig.o
frmHint.odlgProperty.o dlgUser.o dlgServer.o dlgGroup.o dlgDatabase.o dlgLanguage.o<br />dlgSchema.o dlgDomain.o
dlgTable.odlgTablespace.o dlgColumn.o dlgIndex.o dlgFunction.o dlgView.o dlgRule.o dlgRole.o dlgOp<br />erator.o
dlgAggregate.odlgCast.o dlgConversion.o dlgIndexConstraint.o dlgForeignKey.o dlgSequence.o dlgTrigger.o dlgType.o<br
/> dlgCheck.osysSettings.o sysProcess.o misc.o utffile.o pgconfig.o update.o slCluster.o slNode.o slPath.o slListen.o
slSet.<br/>o slSequence.o slTable.o slSubscription.o dlgRepCluster.o dlgRepNode.o dlgRepListen.o dlgRepPath.o
dlgRepSet.odlgRepSequen<br />ce.o dlgRepTable.o dlgRepSubscription.o xrcDialogs.o   -lssl -lcrypto -lpq
-L/usr/local/lib-pthread   -L/usr/X11R6/lib  -lw<br />x_gtk2u_xrc-2.6 -lwx_gtk2u_qa-2.6 -lwx_gtk2u_html-2.6
-lwx_gtk2u_adv-2.6-lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_<br />net-2.6 -lwx_baseu- 2.6  -L/usr/local/lib
-pthread  -L/usr/X11R6/lib  -lwx_gtk2u_stc-2.6 -lwx_gtk2u_ogl-2.6 -lwx_baseu-2.6<br />pgAdmin3.o: In function
`frmDlgTest::frmDlgTest()':<br/>pgAdmin3.cpp:(.text+0x8c5): undefined reference to `wxStringBase::InitWith(wchar_t
const*,unsigned int, unsigned int)' <br />pgAdmin3.cpp:(.text+0x8de): undefined reference to
`wxStringBase::InitWith(wchar_tconst*, unsigned int, unsigned int)'<br />pgAdmin3.cpp:(.text+0x97a): undefined
referenceto `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)' <br />pgAdmin3.cpp:(.text+0xa3c):
undefinedreference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'<br
/>pgAdmin3.cpp:(.text+0xbae):undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned
int)'<br />pgAdmin3.o:pgAdmin3.cpp:(.text+0xdd5): more undefined references to `wxStringBase::InitWith(wchar_t const*,
unsignedint, u<br />nsigned int)' follow<br />pgAdmin3.o: In function `pgAdmin3::OnInit()':<br
/>pgAdmin3.cpp:(.text+0x1455):undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*, unsigned
int)'<br />pgAdmin3.cpp:(.text+0x1471): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t const*,
unsignedint)'<br />pgAdmin3.cpp:(.text+0x148d): undefined reference to `wxStringBase::ConcatSelf(unsigned int, wchar_t
const*,unsigned int)' <br />pgAdmin3.cpp:(.text+0x14a9): undefined reference to `wxStringBase::ConcatSelf(unsigned int,
wchar_tconst*, unsigned int)'<br /><br />--- snip ---<br />~10K lines of error messages<br />--- snip ---<br /><br
/>dlgRepSubscription.cpp:(.text+0x133b): undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int,
unsigne<br/>d int)'<br />dlgRepSubscription.cpp:(.text+0x1373): undefined reference to `wxXmlResource::GetXRCID(wchar_t
const*)'<br/> dlgRepSubscription.cpp:(.text+0x13a3): undefined reference to `wxLocale::GetString(wchar_t const*,
wchar_tconst*) const'<br />dlgRepSubscription.cpp:(.text+0x13c2): undefined reference to
`wxStringBase::InitWith(wchar_tconst*, unsigned int, unsigne <br />d int)'<br />dlgRepSubscription.cpp:(.text+0x1426):
undefinedreference to `operator+(wchar_t const*, wxString const&)'<br />dlgRepSubscription.cpp:(.text+0x1437):
undefinedreference to `operator+(wxString const&, wchar_t const*)' <br />dlgRepSubscription.cpp:(.text+0x150f):
undefinedreference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigne<br />d int)'<br
/>dlgRepSubscription.cpp:(.text+0x1534):undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int,
unsigne<br />d int)'<br />dlgRepSubscription.cpp:(.text+0x155b): undefined reference to `wxStringBase::InitWith(wchar_t
const*,unsigned int, unsigne<br />d int)'<br />dlgRepSubscription.cpp:(.text+0x157f): undefined reference to
`wxXmlResource::GetXRCID(wchar_tconst*)' <br />dlgRepSubscription.cpp:(.text+0x1656): undefined reference to
`wxStringBase::InitWith(wchar_tconst*, unsigned int, unsigne<br />d int)'<br />dlgRepSubscription.cpp:(.text+0x1851):
undefinedreference to `wxXmlResource::GetXRCID(wchar_t const*)' <br />dlgRepSubscription.cpp:(.text+0x1873): undefined
referenceto `wxXmlResource::GetXRCID(wchar_t const*)'<br
/>dlgRepSubscription.o:(.gnu.linkonce.r._ZTV18dlgRepSubscription[vtablefor dlgRepSubscription]+0x274): undefined
referencet <br />o `wxWindow::ApplyToolTip(_GtkTooltips*, wchar_t const*)'<br />dlgRepSubscription.o: In function
`dlgRepSubscription::GetHelpPage()const':<br
/>dlgRepSubscription.cpp:(.gnu.linkonce.t._ZNK18dlgRepSubscription11GetHelpPageEv[dlgRepSubscription::GetHelpPage()
const]+0x<br />18): undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'<br
/>xrcDialogs.o:In function `InitXmlResource()':<br />xrcDialogs.cpp:(.text+0x22): undefined reference to
`wxStringBase::InitWith(wchar_tconst*, unsigned int, unsigned int)' <br />xrcDialogs.cpp:(.text+0x3f): undefined
referenceto `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)'<br />xrcDialogs.cpp:(.text+0xd4):
undefinedreference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)' <br
/>xrcDialogs.cpp:(.text+0x119):undefined reference to `wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned
int)'<br/>xrcDialogs.o:xrcDialogs.cpp:(.text+0x1ce): more undefined references to `wxStringBase::InitWith(wchar_t
const*,unsigned in <br />t, unsigned int)' follow<br />/usr/local/lib/libwx_gtk2u_ogl-<a
href="http://2.6.so">2.6.so</a>:undefined reference to `wxStringList::Add(wchar_t const*)'<br
/>/usr/local/lib/libwx_gtk2u_ogl-<ahref="http://2.6.so">2.6.so </a>: undefined reference to `wxFopen(wchar_t const*,
wchar_tconst*)'<br />collect2: ld returned 1 exit status<br />make[2]: *** [pgadmin3] Error 1<br />make[2]: Leaving
directory`/usr/local/install/pgadmin3-1.4.2/src'<br />make[1]: *** [all-recursive] Error 1 <br />make[1]: Leaving
directory`/usr/local/install/pgadmin3-1.4.2'<br />make: *** [all] Error 2<br /><br /><br /> 

pgadmin-support by date:

Previous
From: "Thomas Sondag"
Date:
Subject: Re: Proposed Patchs
Next
From: Miha Radej
Date:
Subject: Re: Linking issues building pgAdmin3 v1.4.2 on