Author Topic: Library request...  (Read 3148 times)

yzord

  • Full Member
  • ***
  • Posts: 162
    • View Profile
    • http://
Library request...
« on: June 14, 2004, 11:59:01 am »
Hello,

I need the library \"libatk-1.0.so.0\" for me to test out freeciv on Xqt. Unfortunately, no one has ported this library to arm other than Cacko for the PdaXrom, and I am unable to extract it from the initrd. Is there anyone here that would mind making this file available somewhere?

Thanks in advance,
Yz

sashz

  • Sr. Member
  • ****
  • Posts: 388
    • View Profile
    • http://
Library request...
« Reply #1 on: June 14, 2004, 12:59:45 pm »
Quote
Hello,

I need the library \"libatk-1.0.so.0\" for me to test out freeciv on Xqt. Unfortunately, no one has ported this library to arm other than Cacko for the PdaXrom, and I am unable to extract it from the initrd. Is there anyone here that would mind making this file available somewhere?

Thanks in advance,
Yz


http://www.tomsk400.com/~sash/yzord/

there ipks with atk, glib2, gtk2, pango and libiconv from pdaXrom

yzord

  • Full Member
  • ***
  • Posts: 162
    • View Profile
    • http://
Library request...
« Reply #2 on: June 14, 2004, 01:08:36 pm »
Damn, that was quick!! Thanks a million sashz!
Yz

sashz

  • Sr. Member
  • ****
  • Posts: 388
    • View Profile
    • http://
Library request...
« Reply #3 on: June 14, 2004, 01:12:35 pm »
Quote
Damn, that was quick!! Thanks a million sashz!
Yz

np, say if it will work with XQt...

yzord

  • Full Member
  • ***
  • Posts: 162
    • View Profile
    • http://
Library request...
« Reply #4 on: June 14, 2004, 04:18:29 pm »
Well, I had to really beat the hell out of Xqt, but unfortunately, I havent gotten it working yet. Firstly, thanks for anticipating all the dependencies (the other ipks) I would need.

What happened:
1) Initally, tried to use the least amount of PDAXrom libraries (to keep it as close to Xqt standard libraries) by linking the wanted files to Xqt distribution files (gtk, gdk, glibs, etc), but it was dependency hell. All sorts of things didnt work, and I found I was cutting and pasting more and more PDAXrom libraries. So...
2) Got rid of all the gtk, gdk, glib libraries and started from scratch (just Xqt server, xlibs, xbase-clients, xbase-etc, xqt-startup-scripts). Also commented out \"export LANG... \" in .xinitrc. One oddity is that pango cannot be uninstalled (for whatever reason, ipkg remove doesnt seem to do anything), therefore, rm /usr/lib/libpango* & rm the whole /usr/lib/pango directory was necessary to go back to zero.
3) Installed (in this order, or you will have dependency issues): atk_1.2.4_armv5tel.ipk,  libiconv_1.9.2_armv5tel.ipk, glib2_2.2.3_armv5tel.ipk, pango_1.2.0_armv5tel.ipk, libpng_1.2.5-1_arm.ipk (from Xqt distrib), gtk2_2.2.4_armv5tel.ipk, gdk-pixbuf_0.22.0-2_arm.ipk (from Xqt distrib).

Unfortunately, after all this, it\'s still giving an error:
Code: [Select]
(process:7619): Gtk-WARNING **: Locale not supported by C library.

     Using the fallback \'C\' locale.

civclient: error while loading shared libraries: /usr/lib/libgdk-x11-2.0.so.0: undefined symbol: XkbLibraryVersion


I dont think the GTK warning is a big deal, but I just put it in there for completeness. Any ideas? I looked up the error message, and apparently you can compile the gtk+ package with the \"--disable-xkb\" option in the configure script, but this may not be the issue. I assume that since this is working on PdaXrom, that something else is the issue. Could it be caused by using the Xqt versions of the libpng and/or gdk-pixbuf libraries?

One nice thing, is that the keyconfig modifications seem to be working fine under Xqt now (they did not before). Thanks for any help anyone might offer for this issue.
Yz

ps. I even did a \"export LD_LIBRARY_PATH=$QTDIR/lib:/usr/lib\" on the off chance that it was just not connecting up to the correct library, but same error message.