LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-09-2006, 12:25 PM   #1
slacksteep
LQ Newbie
 
Registered: Nov 2005
Posts: 22

Rep: Reputation: 15
Shared Libraries Problem.....GTK/xfce/Nicotine!!


Good Day all....!!

I ran into a muddy phase trying to get some packages updated manually so I 'd appreciate some quick insight help.

I am on a 10.2 (2.4 kernel) installation.
I wanted to install newer versions of the gtk package so I got into all this mess with the prerequisites .... and finally managed
to install all in the proper order ( or so....I thought).

So I installed everything (atk, cairo, glib, pango and gtk) from source which I tarred in the /opt/src directory...then used ./configure with no prefix specified... all seemed fine!

Last step was to install the newer version of the pygtk package, which was a prerequisite for installing the slsk-client Nicotine.
Up to now I had the pygtk installed on my user /home/ directory and all dependent packages( for instance bittorrent) also installed on the same directory worked fine. But I thought I 'd install the newer version of pygtk logged as root with no prefix specified...cause I figured it is a generic-use package, so it's better to have it somewhere 'central'...and use it if logged as another user too!

1. As a result, now when I try to run the Nicotine-slsk client, logged as user I get the following message:

Code:
Traceback (most recent call last):
  File "./nicotine", line 142, in ?
    result = checkenv()
  File "./nicotine", line 68, in checkenv
    import gtk
ImportError: No module named gtk
2. Additionally after all this updating...when I am in xfce the xffm-filemanager doesn't respond and I get the message on my console:

Code:
xffm: symbol lookup error: /usr/local/lib/libgtk-x11-2.0.so.0: undefined symbol: g_object_compat_control

3. Last,

When I tried to install a xfce-plugin( the xfce4-xkb-plugin-0.4.1) for handling keybord-language-switching...after doing
./configure
I get:


Code:
checking for libxfce4panel-1.0 >= 4.3.20... not found
*** The required package libxfce4panel-1.0 was not found on your system.
*** Please install libxfce4panel-1.0 (atleast version 4.3.20) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.
I presume something is wrong with my shared libraries but don't quite know how to fix it...I did run ldconfig every after installation-update.
Any ideas.....?

Thnx
 
Old 10-10-2006, 05:23 AM   #2
LiNuCe
Member
 
Registered: Apr 2004
Location: France
Distribution: Slackware Linux 10.2
Posts: 119

Rep: Reputation: 15
The ./configure script uses pkg-config to find softwares. So add to the PKG_CONFIG_PATH environment variable all pkgconfig/ directories you can find in the different installation prefixes you used to install softwares. For example :
Code:
# export PKG_CONFIG_PATH=/home/plop/lib/pkgconfig:/usr/local/lib/pkgconfig
# ./configure ...
 
Old 10-10-2006, 01:47 PM   #3
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
To fix the last error, you must install XFCE 4.4 beta (it's beta yet). Or, get an XFCE 4.2 version of that plugin.
 
Old 10-10-2006, 01:57 PM   #4
slacksteep
LQ Newbie
 
Registered: Nov 2005
Posts: 22

Original Poster
Rep: Reputation: 15
thnx people...I am working on poth of your replies!
it takes me awhile...
I ll get back to you with the outcome
take care
 
Old 11-05-2006, 06:06 PM   #5
kotnik
Member
 
Registered: Nov 2004
Location: Novi Sad, Serbia
Distribution: Debian, Slackware, Gentoo, openSuSE
Posts: 254

Rep: Reputation: 31
Hey, I had the same issue with libxfce4panel in Slackware 11. I needed the wireless monitor. Problem solved by upgrading XFCE package with the one provided from linuxpackages.net. Not only does plugins compile as they should, XFCE 4.3 looks and behaves much better than 4.2.

But, note, I had to do some symlinking in /usr/lib, since package creator missed to do that (just a couple of libraries, nothing much).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem placing shared libraries iali Linux - General 1 02-01-2006 10:18 PM
[B]Shared libraries problem, help please[/B] turalo Linux - Software 3 12-25-2005 12:22 PM
Problem with shared libraries(gtk) k0ljat Linux - Software 1 04-12-2004 01:25 PM
Idraw shared libraries problem sicone Linux - Software 2 03-16-2004 08:49 PM
problem with shared libraries when printing blinux1 Linux - Newbie 4 03-25-2003 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration