Unix Technical Forum

Link problem with pgAdmin3 1.4.2 on Linux

This is a discussion on Link problem with pgAdmin3 1.4.2 on Linux within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> Greetings, I am trying to build pgAdmin3 1.4.2 on Suse Linux 9.2 What a task it has been. I ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 08:25 PM
Blake McBride
 
Posts: n/a
Default Link problem with pgAdmin3 1.4.2 on Linux


Greetings,

I am trying to build pgAdmin3 1.4.2 on Suse Linux 9.2
What a task it has been. I had to build & install:

fontconfig 2.3.95
freetype 2.1.10
cairo 1.0.4
pango 1.10.4
atk 1.10.3
pkg-config 0.20
tifflib
gettext 0.14.5
glib 2.8.6
gtk+ 2.8.17
wxGtk 2.6.3
etc...

And, it all had to build in the right order. I have spent three days now
and I still haven't gotten it working. I got past numerous problems but
I'm having a final link problem as follows. I don't know what to do and
would greatly appreciate some help.

....
Making all in src
make[2]: Entering directory `/home/gg/pgadmin3-1.4.2/src'
g++ -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall
-Wno-non-virtual-dtor -I../src/include -I../src/agent/include
-I../src/slony/include -L/usr/local/pgsql/lib -L/usr/local/lib -o
pgadmin3 pgAdmin3.o base.o appbase.o sysLogger.o pgConnBase.o
pgSetBase.o factory.o dlgClasses.o events.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 pgRole.o pgRule.o
pgSchema.o pgSequence.o pgServer.o pgTable.o pgTablespace.o
pgTrigger.o pgType.o pgUser.o pgView.o pgDatatype.o pgaJob.o
pgaStep.o pgaSchedule.o dlgJob.o dlgSchedule.o dlgStep.o xh_sqlbox.o
xh_calb.o xh_timespin.o xh_ctlcombo.o ctlSecurityPanel.o
ctlComboBox.o ctlTree.o calbox.o timespin.o ctlListView.o ctlSQLBox.o
ctlSQLResult.o explainCanvas.o explainShape.o dlgEditGridOptions.o
dlgConnect.o dlgHbaConfig.o dlgMainConfig.o dlgSelectConnection.o
frmExport.o frmAbout.o frmIndexcheck.o frmMain.o frmOptions.o
frmPassword.o frmQuery.o frmHelp.o frmSplash.o frmMaintenance.o
frmBackup.o frmRestore.o frmGrantWizard.o frmEditGrid.o frmStatus.o
frmUpdate.o frmConfig.o frmHbaConfig.o frmMainConfig.o frmHint.o
dlgProperty.o dlgUser.o dlgServer.o dlgGroup.o dlgDatabase.o
dlgLanguage.o dlgSchema.o dlgDomain.o dlgTable.o dlgTablespace.o
dlgColumn.o dlgIndex.o dlgFunction.o dlgView.o dlgRule.o dlgRole.o
dlgOperator.o dlgAggregate.o dlgCast.o dlgConversion.o
dlgIndexConstraint.o dlgForeignKey.o dlgSequence.o dlgTrigger.o
dlgType.o dlgCheck.o sysSettings.o sysProcess.o misc.o utffile.o
pgconfig.o update.o slCluster.o slNode.o slPath.o slListen.o slSet.o
slSequence.o slTable.o slSubscription.o dlgRepCluster.o dlgRepNode.o
dlgRepListen.o dlgRepPath.o dlgRepSet.o dlgRepSequence.o
dlgRepTable.o dlgRepSubscription.o xrcDialogs.o -lcrypto -lpq
-L/usr/local/lib -pthread -L/usr/X11R6/lib -lwx_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_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
pgAdmin3.o(.text+0x7e8): In function `frmDlgTest::frmDlgTest[in-charge]()':
: undefined reference to `wxStringBase::InitWith(wchar_t const*,
unsigned, unsigned)'
pgAdmin3.o(.text+0x80b): In function `frmDlgTest::frmDlgTest[in-charge]()':
: undefined reference to `wxStringBase::InitWith(wchar_t const*,
unsigned, unsigned)'
pgAdmin3.o(.text+0x8ac): In function `frmDlgTest::frmDlgTest[in-charge]()':
: undefined reference to `wxStringBase::InitWith(wchar_t const*,
unsigned, unsigned)'
pgAdmin3.o(.text+0x96e): In function `frmDlgTest::frmDlgTest[in-charge]()':
: undefined reference to `wxStringBase::InitWith(wchar_t const*,
unsigned, unsigned)'
pgAdmin3.o(.text+0xa5f): In function `frmDlgTest::frmDlgTest[in-charge]()':
: undefined reference to `wxStringBase::InitWith(wchar_t const*,
unsigned, unsigned)'
pgAdmin3.o(.text+0xe5b): In function `pgAdmin3::OnInit()':
: undefined reference to `wxStringBase::ConcatSelf(unsigned, wchar_t
const*, unsigned)'
.......



Blake McBride



---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 08:25 PM
Andreas Pflug
 
Posts: n/a
Default Re: Link problem with pgAdmin3 1.4.2 on Linux

Blake McBride wrote:
>
> Greetings,
>
> I am trying to build pgAdmin3 1.4.2 on Suse Linux 9.2
> What a task it has been. I had to build & install:
>
> fontconfig 2.3.95
> freetype 2.1.10
> cairo 1.0.4
> pango 1.10.4
> atk 1.10.3
> pkg-config 0.20
> tifflib
> gettext 0.14.5
> glib 2.8.6
> gtk+ 2.8.17
> wxGtk 2.6.3
> etc...
>
> And, it all had to build in the right order. I have spent three days now
> and I still haven't gotten it working. I got past numerous problems but
> I'm having a final link problem as follows. I don't know what to do and
> would greatly appreciate some help.
>
> ...
> Making all in src
> make[2]: Entering directory `/home/gg/pgadmin3-1.4.2/src'
> g++ -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall
> -Wno-non-virtual-dtor -I../src/include -I../src/agent/include
> -I../src/slony/include -L/usr/local/pgsql/lib -L/usr/local/lib -o
> pgadmin3 pgAdmin3.o base.o appbase.o sysLogger.o pgConnBase.o
> pgSetBase.o factory.o dlgClasses.o events.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 pgRole.o pgRule.o pgSchema.o
> pgSequence.o pgServer.o pgTable.o pgTablespace.o pgTrigger.o pgType.o
> pgUser.o pgView.o pgDatatype.o pgaJob.o pgaStep.o pgaSchedule.o dlgJob.o
> dlgSchedule.o dlgStep.o xh_sqlbox.o xh_calb.o xh_timespin.o
> xh_ctlcombo.o ctlSecurityPanel.o ctlComboBox.o ctlTree.o calbox.o
> timespin.o ctlListView.o ctlSQLBox.o ctlSQLResult.o explainCanvas.o
> explainShape.o dlgEditGridOptions.o dlgConnect.o dlgHbaConfig.o
> dlgMainConfig.o dlgSelectConnection.o frmExport.o frmAbout.o
> frmIndexcheck.o frmMain.o frmOptions.o frmPassword.o frmQuery.o
> frmHelp.o frmSplash.o frmMaintenance.o frmBackup.o frmRestore.o
> frmGrantWizard.o frmEditGrid.o frmStatus.o frmUpdate.o frmConfig.o
> frmHbaConfig.o frmMainConfig.o frmHint.o dlgProperty.o dlgUser.o
> dlgServer.o dlgGroup.o dlgDatabase.o dlgLanguage.o dlgSchema.o
> dlgDomain.o dlgTable.o dlgTablespace.o dlgColumn.o dlgIndex.o
> dlgFunction.o dlgView.o dlgRule.o dlgRole.o dlgOperator.o dlgAggregate.o
> dlgCast.o dlgConversion.o dlgIndexConstraint.o dlgForeignKey.o
> dlgSequence.o dlgTrigger.o dlgType.o dlgCheck.o sysSettings.o
> sysProcess.o misc.o utffile.o pgconfig.o update.o slCluster.o slNode.o
> slPath.o slListen.o slSet.o slSequence.o slTable.o slSubscription.o
> dlgRepCluster.o dlgRepNode.o dlgRepListen.o dlgRepPath.o dlgRepSet.o
> dlgRepSequence.o dlgRepTable.o dlgRepSubscription.o xrcDialogs.o
> -lcrypto -lpq -L/usr/local/lib -pthread -L/usr/X11R6/lib
> -lwx_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_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
> pgAdmin3.o(.text+0x7e8): In function `frmDlgTest::frmDlgTest[in-charge]()':
> : undefined reference to `wxStringBase::InitWith(wchar_t const*,
> unsigned, unsigned)'
> pgAdmin3.o(.text+0x80b): In function `frmDlgTest::frmDlgTest[in-charge]()':
> : undefined reference to `wxStringBase::InitWith(wchar_t const*,
> unsigned, unsigned)'
> pgAdmin3.o(.text+0x8ac): In function `frmDlgTest::frmDlgTest[in-charge]()':
> : undefined reference to `wxStringBase::InitWith(wchar_t const*,
> unsigned, unsigned)'
> pgAdmin3.o(.text+0x96e): In function `frmDlgTest::frmDlgTest[in-charge]()':
> : undefined reference to `wxStringBase::InitWith(wchar_t const*,
> unsigned, unsigned)'
> pgAdmin3.o(.text+0xa5f): In function `frmDlgTest::frmDlgTest[in-charge]()':
> : undefined reference to `wxStringBase::InitWith(wchar_t const*,
> unsigned, unsigned)'
> pgAdmin3.o(.text+0xe5b): In function `pgAdmin3::OnInit()':
> : undefined reference to `wxStringBase::ConcatSelf(unsigned, wchar_t
> const*, unsigned)'



Hm, these should come from wx (probably libwx_baseu-2.6). Do wx samples
build correctly?

Regards,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:13 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com