poEdit compilation with Unicode/debug linked against GTK2 - Mailing list pgadmin-hackers

From Jean-Michel POURE
Subject poEdit compilation with Unicode/debug linked against GTK2
Date
Msg-id 200307011816.36859.jm.poure@freesurf.fr
Whole thread Raw
List pgadmin-hackers
Dear all,

I am trying to build poEdit RPM packages with GTK2 bindings, in order to
benefit from RTL support of GTK2. This should enable Arabic and Persian users
to translate using poEdit.

The wxGTK2 libraries are those used for pgAdmin3. They can be found at:
http://cvs.pgadmin.org/cgi-bin/viewcvs.cgi/*checkout*/pgadmin3/docs/en_US/snapshots.html

During linking, I get the following error:

g++  -g -O2 -DUSE_TRANSMEM -DDB_HEADER=\"db.h\" -g -Wall
-I/usr/lib/wx/include/gtk2ud-2.5 -D__WXDEBUG__ -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES "-DPOEDIT_PREFIX=\"/usr/local\""   -o
poedit  catalog.o edapp.o edframe.o fileviewer.o parser.o isocodes.o
prefsdlg.o settingsdlg.o progressinfo.o digger.o gexecute.o summarydlg.o
findframe.o commentdlg.o transmem.o transmemupd.o transmemupd_wizard.o
manager.o chooselang.o  -L../extras/wx-contrib/src/gizmos
-L../extras/wx-contrib/src/xrc -L../extras/wx-contrib/src/xrc/expat -lmy_xrc
-lmy_gizmos -lmy_expat -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 -lpng   -lz -Wl,--export-dynamic
-lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lm
-Wl,-Bstatic -ldb -Wl,-Bdynamic
/usr/bin/ld: ne peut trouver -ldb

One of the libraries cannot be found. Is it libdb3 or libdb4 static version?
RedHat does not provide a static version of libdb4.

Any help welcome.

Cheers,
Jean-Michel


pgadmin-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Edit Data dialog
Next
From: Raphaël Enrici
Date:
Subject: Re: First Debian package release