Results 1 to 5 of 5

Thread: libgtk-1.2.so.0 shared library missing

  1. #1

    Default libgtk-1.2.so.0 shared library missing

    Hi,

    I'm trying to run Longman dictionary LDOCE4 on SUSE 11.2 .
    I installed it using provided on their CD linux folder.
    When I try to execute it in the terminal window, it tells me: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory

    I've tried to install gtk-1.2.10-993.src.rpm and similar but I didn't seem to succeed (e.g. yast's window pops up to disappear in a sec. & nothing else happens).

    I also tried to install LDOCE4 using wine and there was an error when i tried to run it. (with no spec. info)

    I appreciate any good advice!

  2. #2

    Default Re: libgtk-1.2.so.0 shared library missing

    Ok, I did a few steps forward (I hope) by manually installing 'zlib' & 'glib' libraries, both of which were required by libgtk+-1.2.0

    Now, when after the command 'make install' this is what I get:

    Making install in po
    make[1]: Entering directory `/home/tomasz/Desktop/gtk+-1.2.0/po'
    if test -r ".././mkinstalldirs"; then \
    .././mkinstalldirs /usr/local/share; \
    else \
    /bin/sh ../mkinstalldirs /usr/local/share; \
    fi
    installing cs.gmo as /usr/local/share/locale/cs/LC_MESSAGES/gtk+.mo
    installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/gtk+.mo
    installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/gtk+.mo
    installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/gtk+.mo
    installing hu.gmo as /usr/local/share/locale/hu/LC_MESSAGES/gtk+.mo
    installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/gtk+.mo
    installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/gtk+.mo
    installing ko.gmo as /usr/local/share/locale/ko/LC_MESSAGES/gtk+.mo
    installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/gtk+.mo
    installing no.gmo as /usr/local/share/locale/no/LC_MESSAGES/gtk+.mo
    installing pl.gmo as /usr/local/share/locale/pl/LC_MESSAGES/gtk+.mo
    installing pt.gmo as /usr/local/share/locale/pt/LC_MESSAGES/gtk+.mo
    installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/gtk+.mo
    installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/gtk+.mo
    if test "gtk+" = "gettext"; then \
    if test -r ".././mkinstalldirs"; then \
    .././mkinstalldirs /usr/local/share/gettext/po; \
    else \
    /bin/sh ../mkinstalldirs /usr/local/share/gettext/po; \
    fi; \
    /usr/bin/install -c -m 644 ./Makefile.in.in \
    /usr/local/share/gettext/po/Makefile.in.in; \
    else \
    : ; \
    fi
    make[1]: Leaving directory `/home/tomasz/Desktop/gtk+-1.2.0/po'
    Making install in gdk
    make[1]: Entering directory `/home/tomasz/Desktop/gtk+-1.2.0/gdk'
    /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -g -O2 -Wall -c gdk.c
    gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -g -O2 -Wall -c -fPIC -DPIC gdk.c -o gdk.lo
    gdk.c:44:29: error: X11/Xmu/WinUtil.h: No such file or directory
    gdk.c: In function 'gdk_set_sm_client_id':
    gdk.c:934: warning: pointer targets in passing argument 7 of 'XChangeProperty' differ in signedness
    /usr/include/X11/Xlib.h:2065: note: expected 'const unsigned char *' but argument is of type 'const gchar *'
    make[1]: *** [gdk.lo] Error 1
    make[1]: Leaving directory `/home/tomasz/Desktop/gtk+-1.2.0/gdk'
    make: *** [install-recursive] Error 1

    If somebody could help me, please! I really want to run this great dictionary on my computer! :/

  3. #3
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,936
    Blog Entries
    4

    Default Re: libgtk-1.2.so.0 shared library missing

    The gtk-1.2 library comes from the gtk package. The current version is gtk-2 so perhaps you don't have gtk installed. If you are running this on a 64-bit system, then it's the gtk-32bit package you have to install.

    A src.rpm package does nothing for you. You didn't know it but it actually unpacked sources in /usr/src/packages. But src.rpm packages are for building binary .rpm packages so just forget about using .src.rpm packages for what you want to do.

  4. #4

    Default Re: libgtk-1.2.so.0 shared library missing

    Hmm, the thing is I do have gtk-2 installed (I suppose it was coming together with the SUSE 11.2 installation as it's needed for eg. for GIMP, isn't it?)
    I'm running a 32-bit machine.

    My understanding is that gtk-2 is 'too new' for what does the application requires...

  5. #5
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,936
    Blog Entries
    4

    Default Re: libgtk-1.2.so.0 shared library missing

    Yes, so install gtk, it contains gtk-1.2.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •