poEdit compilation with Unicode/debug linked against GTK2

Jean-Michel POURE <[email protected]>
Newsgroups gmane.editors.poedit.user
Message-ID <[email protected]>
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



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.