poEdit compilation with Unicode/debug linked against GTK2

From: Jean-Michel POURE <jm(dot)poure(at)freesurf(dot)fr>
To: poedit-users(at)lists(dot)sourceforge(dot)net
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: poEdit compilation with Unicode/debug linked against GTK2
Date: 2003-07-01 16:16:36
Message-ID: 200307011816.36859.jm.poure@freesurf.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2003-07-01 16:23:32 Re: Edit Data dialog
Previous Message Adam H. Pendleton 2003-07-01 16:16:15 Edit Data dialog