[AG-TECH] Problem with AG2.3 shared browser in Linux

Andrew Daviel advax at triumf.ca
Wed Oct 27 20:30:13 CDT 2004


AG 2.3 includes a cross-platform shared browser (neat).

After the usual thing about forgetting to delete the 2.2 code
~/.AccessGrid/SharedApplications/ I tried running this in Linux (RedHat
9). First I get

 Traceback (most recent call last):
  File "SharedBrowser.py", line 13, in ?
    from wxPython.mozilla import *
  File
"/var/tmp/wxmozilla-0.5.3-root/usr/lib/python2.2/site-packages/wxPython/mozilla.py",
line 2, in ?
ImportError: libgtkembedmoz.so: cannot open shared object file: No such
file or directory

which I fix by including /usr/local/mozilla (which includes this library,
also libxpcom.so, libgtksuperwin.so) in /etc/ld.so.conf and re-running
ldconfig

Now I get

Traceback (most recent call last):
  File "SharedBrowser.py", line 13, in ?
    from wxPython.mozilla import *
  File
"/var/tmp/wxmozilla-0.5.3-root/usr/lib/python2.2/site-packages/wxPython/mozilla.py",
line 2, in ?
ImportError: /usr/lib/wxPython/lib/libwxmozilla_gtk2-2.4.so.0: undefined
symbol: _ZNK10nsACString22GetImplementationFlagsEv

I have tried upgrading to gtk2-2.2.4-5.1 (from a FC1 distro) but no luck
- RH9 had gtk2-2.2.1-4

gtk2-2.4.0-1 from FC2 needs glib2, atk and pango upgraded ... this gets
complex... rebuild wxmozilla from SRPM at uq.edu needs mozilla-devel and
wxGTK2-devel which I don't have ...

I presume that upgrading to FC2 might solve this mess, but probably break
other things like our production client ....


This is the SharedBrowser.py dated December 4th 2009 (no .. 09-12-04, try
big-endian December 9th 2004 ..  no; Zip's made in the US so it's
probably Sept 12th 2004 ... :-7 )  from AG2.3 RPM (the UQ FC1 build)
Anyhow it seems later than the  Jul 27 revision 1.14 from CVS...
wxmozilla, wxmozilla-python 0.5.3 from UQ.edu.au
Mozilla 1.7.3 from mozilla.org tarball


... this is getting a bit rambling now, but maybe the point about
ldconfig's helpful to someone. And if someone knows another package I
need to get from FC1 for this to work .. after all, it is supposed
to be the FC1 AG RPM so I shouldn't have to go to FC2 ....


-- 
Andrew Daviel, TRIUMF, Canada
Tel. +1 (604) 222-7376
security at triumf.ca




More information about the ag-tech mailing list