LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Proper version dilema (https://www.linuxquestions.org/questions/slackware-14/proper-version-dilema-846336/)

gtk-problem 11-24-2010 01:52 PM

Proper version dilema
 
Hello,

I installed glib 2.4.8 the usualy way. ./configure make make install. This was required by a program bitlbee messenger. But the bitlbee install script still picks up the old glib versio when I do,
root@box:/#pkg-config glib-2.0 --modversion
output=2.2.3
and prompts me to upgrade.

My Question. How can I change global wide recognition of my NEW isntalled glib2.4.8 and stop scripts etc picking up the old libraries+version. Slackware version 9

lumak 11-24-2010 04:14 PM

Chances are, the glib you installed went to /usr/local. You can try using LD_LIBRARY_PATH=/usr/local/lib (or lib64) and PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"

H O W E V E R !

Be warned. glib is one of those things you should think long and hard before 'upgrading' or trying to replace or install along side your current glib. This is an important package tightly dependent upon the rest of your tool chain to make sure everything runs smoothly.

The recommended solution to you is use a newer Slackware, or use an older version of bitlbee.

NoStressHQ 11-24-2010 06:21 PM

I add my voice to lumak : you shouldn't change ONLY glib... And if you don't know what to change else, there are GREAT chances that you shouldn't do it... unless you spend a LOT of time BEFORE, learning how to program... Say... Go back in several years :)...

Well I'm kidding, but if you ask this kind of question, I guess that you have few or no clues in programming...

I won't answer to your specific question because it implies that you'll ask tons of other questions about "tons" of dependencies and interaction between components... So if I put the finger in the gear... well you might have seen Chaplin's modern times :).

What I mean, is there's hardly a simpler answer than the lumak's one. If it's not enough it'll become a never-ending story.

On another hand, if you wanna learn, go on, but I wouldn't expect too much help on a long run on this, as it's quite dense.


All times are GMT -5. The time now is 01:48 AM.