Linking error (same old story) - Mailing list pgadmin-hackers

From Jean-Michel POURE
Subject Linking error (same old story)
Date
Msg-id 200306081949.15260.jm.poure@freesurf.fr
Whole thread Raw
List pgadmin-hackers
Dear all,

I am now running RedHat 9. Still ... the linking error is the same as under
RedHat 8.0.

/usr/bin/ld cannot find -lwx_gtkd_stc-2.5.

After each installation of wxGTK and XTC and STC, I ran ldconfig to update
library paths. Furthermore, I added /usr/local/lib to /etc/ld.so.conf.

Adam or anyone could you help me? Why not use real paths of xrc and stc during
linking?

Cheers,
Jean-Michel

*********************************************************************************************

g++ -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g -I./include/
-I -g -O2  -L/usr/lib -L/usr/local/lib -o pgAdmin3  pgAdmin3.o pgConn.o
pgSet.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 ctlSQLBox.o
ctlSQLResult.o dlgAddTableView.o events.o frmAbout.o frmChildTableViewFrame.o
frmConnect.o frmMain.o frmOptions.o frmPassword.o frmQuery.o
frmQueryBuilder.o frmHelp.o frmQBJoin.o frmSplash.o frmVacuum.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  -lssl -lcrypto -lpq
-lwx_gtkd_stc-2.5 -lwx_gtkd_xrc-2.5 -L/usr/local/lib -pthread
/usr/local/lib/libwx_gtk-2.5.a -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk
-rdynamic -lgmodule -lgthread -lglib -lpthread -ldl -lXi -lXext -lX11 -lm
-lpng -ljpeg -ltiff -lz -ldl -lm
/usr/bin/ld: ne peut trouver -lwx_gtkd_stc-2.5
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [pgAdmin3] Erreur 1
make[2]: Quitte le répertoire `/home/pgadmin/pgadmin3/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire `/home/pgadmin/pgadmin3'
make: *** [all] Erreur 2

*************************************************************************************************

[root@linus pgadmin3]# ls /usr/local/lib
libwx_gtk-2.5.a     libwx_gtk-2.5.so.0.0.0  libwx_gtk_stc-2.5.so.0
libwx_gtk_xrc-2.5.so        wx
libwx_gtk-2.5.so    libwx_gtk_stc-2.5.a     libwx_gtk_stc-2.5.so.0.0.0
libwx_gtk_xrc-2.5.so.0
libwx_gtk-2.5.so.0  libwx_gtk_stc-2.5.so    libwx_gtk_xrc-2.5.a
libwx_gtk_xrc-2.5.so.0.0.0


pgadmin-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: pgAdmin3 and gtk2.0/Unicode: done
Next
From: "Dave Page"
Date:
Subject: Re: Error Emails