Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Everything that relies on GTK is failing now!

  1. #1

    Default Everything that relies on GTK is failing now!

    I was trying to install an application that required a later version of gtk, so I installed 2.9 "by hand" (since it wasn't in the repositories). Now everything that relies on gtk that I used before is not working! How can I get them to work?

    I tried reinstalling gtk but it makes no difference and I'm not sure how to uninstall gtk 2.9.

    Any help is greatly appreciated!

  2. #2

    Default Re: Everything that relies on GTK is failing now!

    Holy ****! I solved it!!

    Thanks to:
    Can't start firefux on SuSE 10: undefined symbol: g_hash_table_ref

    I have no idea why, but for some reason stuff was now using /usr/local/lib instead of /usr/lib stuff. So I used "vi" to edit "/etc/ld.so.conf" and I added "/usr/lib" on the line before "/usr/local/lib" and everything works!!

    Any ideas why this occurred?

  3. #3

    Default Re: Everything that relies on GTK is failing now!

    This is a small thing but now the icon for the window (in the taskbar) is just the generic "X" icon. It no longer has the thunderbird icon. Any idea how to get that back?

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,249
    Blog Entries
    15

    Default Re: Everything that relies on GTK is failing now!

    Quote Originally Posted by 6tr6tr
    Holy ****! I solved it!!

    Thanks to:
    'Can't start firefux on SuSE 10: undefined symbol: g_hash_table_ref'
    (http://tinyurl.com/muycoq)

    I have no idea why, but for some reason stuff was now using
    /usr/local/lib instead of /usr/lib stuff. So I used "vi" to edit
    "/etc/ld.so.conf" and I added "/usr/lib" on the line before
    "/usr/local/lib" and everything works!!

    Any ideas why this occurred?
    Hi
    If when compiling by hand, run ./configure --help and ith will show you
    all the switches to use. When building rpms and manual installs I
    always add the --prefix=/usr/lib or /usr/lib/lib64 to avoid this
    problems.

    It probably occurred because ldconfig as root user wasn't run in the
    make install. Else you can add the directory in /etc/ld.conf.d in a
    file called somename.conf and put the directory path to the library
    directory and run ldconfig as well.

    Not sure why you need to install what you did, as it was probably in
    the configure process you just needed to add the prefix above and it
    would have found the dependencies.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 11:36, 2 users, load average: 2.00, 2.06, 2.08
    GPU GeForce 8600 GTS Silent - Driver Version: 190.18


  5. #5

    Default Re: Everything that relies on GTK is failing now!

    Quote Originally Posted by malcolmlewis View Post
    Hi
    If when compiling by hand, run ./configure --help and ith will show you
    all the switches to use. When building rpms and manual installs I
    always add the --prefix=/usr/lib or /usr/lib/lib64 to avoid this
    problems.

    It probably occurred because ldconfig as root user wasn't run in the
    make install. Else you can add the directory in /etc/ld.conf.d in a
    file called somename.conf and put the directory path to the library
    directory and run ldconfig as well.

    Not sure why you need to install what you did, as it was probably in
    the configure process you just needed to add the prefix above and it
    would have found the dependencies.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 11:36, 2 users, load average: 2.00, 2.06, 2.08
    GPU GeForce 8600 GTS Silent - Driver Version: 190.18
    Thanks! I'll keep that in mind next time.

    Any idea why the icon's now gone?

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,249
    Blog Entries
    15

    Default Re: Everything that relies on GTK is failing now!

    Quote Originally Posted by 6tr6tr
    malcolmlewis;2029122 Wrote:
    > Hi
    > If when compiling by hand, run ./configure --help and ith will show
    > you
    > all the switches to use. When building rpms and manual installs I
    > always add the --prefix=/usr/lib or /usr/lib/lib64 to avoid this
    > problems.
    >
    > It probably occurred because ldconfig as root user wasn't run in the
    > make install. Else you can add the directory in /etc/ld.conf.d in a
    > file called somename.conf and put the directory path to the library
    > directory and run ldconfig as well.
    >
    > Not sure why you need to install what you did, as it was probably in
    > the configure process you just needed to add the prefix above and it
    > would have found the dependencies.
    >
    > --
    > Cheers Malcolm (Linux Counter #276890)
    > SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    > up 11:36, 2 users, load average: 2.00, 2.06, 2.08
    > GPU GeForce 8600 GTS Silent - Driver Version: 190.18


    Thanks! I'll keep that in mind next time.

    Any idea why the icon's now gone?
    Hi
    The desktop file is either missing or not correct, what did you
    install...I thought it was gnucash?

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 12:07, 2 users, load average: 3.70, 2.52, 2.21
    GPU GeForce 8600 GTS Silent - Driver Version: 190.18


  7. #7

    Default Re: Everything that relies on GTK is failing now!

    Quote Originally Posted by malcolmlewis View Post
    Hi
    The desktop file is either missing or not correct, what did you
    install...I thought it was gnucash?

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 12:07, 2 users, load average: 3.70, 2.52, 2.21
    GPU GeForce 8600 GTS Silent - Driver Version: 190.18
    Yes, I did, but it screwed up everything using gtk. And now that I have those things working again, thunderbird has lost its icon.

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,249
    Blog Entries
    15

    Default Re: Everything that relies on GTK is failing now!

    Quote Originally Posted by 6tr6tr
    malcolmlewis;2029126 Wrote:
    > Hi
    > The desktop file is either missing or not correct, what did you
    > install...I thought it was gnucash?


    Yes, I did, but it screwed up everything using gtk. And now that I have
    those things working again, thunderbird has lost its icon.
    Hi
    Have a look down in /usr/share/applications is a thundibird.desktop
    file there? In that file use cat to see is a line saying icon=<blah>
    and there should be one called that in /usr/share/icons directories?

    Unless you installed as your user, then they should be in your home
    directory somewhere.

    Manual installation can create these sorts of issues, I suggest in the
    future you look at building an rpm, they are not that hard especially
    if you grab an existing src rpm and use the spec file from that.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 22:57, 2 users, load average: 2.06, 2.10, 2.09
    GPU GeForce 8600 GTS Silent - Driver Version: 190.18


  9. #9

    Default Re: Everything that relies on GTK is failing now!

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Have a look down in /usr/share/applications is a thundibird.desktop
    file there? In that file use cat to see is a line saying icon=<blah>
    and there should be one called that in /usr/share/icons directories?

    Unless you installed as your user, then they should be in your home
    directory somewhere.

    Manual installation can create these sorts of issues, I suggest in the
    future you look at building an rpm, they are not that hard especially
    if you grab an existing src rpm and use the spec file from that.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 22:57, 2 users, load average: 2.06, 2.10, 2.09
    GPU GeForce 8600 GTS Silent - Driver Version: 190.18
    There was no thunderbird.desktop file (probably because I installed it manually). I created one but it's still not working. Any idea how I can match the manually installed one with a ".desktop" file? And what do i put for Icon? The complete path? The path relative to the application? And where do I create this ".desktop" file?

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,249
    Blog Entries
    15

    Default Re: Everything that relies on GTK is failing now!

    Quote Originally Posted by 6tr6tr
    There was no thunderbird.desktop file (probably because I installed it
    manually). I created one but it's still not working. Any idea how I can
    match the manually installed one with a ".desktop" file? And what do i
    put for Icon? The complete path? The path relative to the application?
    And where do I create this ".desktop" file?
    Hi
    They are just text files It's called MozillaThunderbird.desktop and
    contains;
    Code:
    [Desktop Entry]
    Name=Thunderbird
    GenericName=Mail/News Client
    Comment=Mail/News Client
    Exec=thunderbird
    Icon=thunderbird
    Terminal=false
    Type=Application
    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
    up 5 days 1:28, 3 users, load average: 0.10, 0.14, 0.09
    GPU GeForce 8600 GTS Silent - Driver Version: 190.18


Page 1 of 3 123 LastLast

Posting Permissions

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