Author Topic: Dependency Question  (Read 1199 times)

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6849
  • MLU
Dependency Question
« on: May 01, 2010, 08:31:56 AM »
I want to get my Skype Tel Box functional in KDE4 and need to install kb2kskype rpm.
There are unmet dependencies in KDE4 - see below.
I have found those files from an old build environment and hope they will fill the requirements.

I tried just dropping them into   /usr/lib      but no go. Still got the output below.

Is something more needed for the installer to pick them up, or am I on a losing nag here?

I have asked in Package Request for someone to look at this, but would like to try it on my test KDE4 install if possible.

Thanks for any suggestions.

regards.

Code: [Select]
[root@localhost ~]# rpm -ivh /home/user/Downloads/USB_Telbox/kb2kskype-0.3.8-1pclos2009.i586.rpm
warning: /home/user/Downloads/USB_Telbox/kb2kskype-0.3.8-1pclos2009.i586.rpm: Header V3 DSA signature: NOKEY, key ID 1da3dd08
error: Failed dependencies:
        libDCOP.so.4 is needed by kb2kskype-0.3.8-1pclos2009.i586
        libkdecore.so.4 is needed by kb2kskype-0.3.8-1pclos2009.i586
        libkdefx.so.4 is needed by kb2kskype-0.3.8-1pclos2009.i586
        libkdeui.so.4 is needed by kb2kskype-0.3.8-1pclos2009.i586
[root@localhost ~]#

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12661
Re: Dependency Question
« Reply #1 on: May 01, 2010, 08:44:17 AM »
It appears to be a KDE 3 application. Probably would work on an old 2009 KDE 3 install.

Thanks to everyone who donates. You keep the servers running.
Follow me on Twitter for the latest development info.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6849
  • MLU
Re: Dependency Question
« Reply #2 on: May 01, 2010, 09:48:22 AM »
It appears to be a KDE 3 application. Probably would work on an old 2009 KDE 3 install.

 :(  :(  does not sound at all hopeful  :(  :(

I thought it was DE agnostic .......

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6269
Re: Dependency Question
« Reply #3 on: May 01, 2010, 10:02:07 AM »

It is not. It depends on KDE libraries, it is a kde application.

It depends on kde3 libraries, it is a kde3 application.

You need kde3 libraries to run kde3 applications.

Current version of pclinuxos ships with kde4 libraries and kde3 libraries can not be added next to them because they both use the same library names and are stored on the same locations.

You can not run this application in any version of pclinuxos2010

solution1: make a package request for this application
solution2: build from source and pay attention not to step on system's toes. You will get burned if you do and all fault will be on your hands. :D
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6849
  • MLU
Re: Dependency Question
« Reply #4 on: May 01, 2010, 10:55:05 AM »

solution1: make a package request for this application
solution2: build from source and pay attention not to step on system's toes. You will get burned if you do and all fault will be on your hands. :D

1.    as mentioned already, done

2.   the missing libraries do not have any equivalent (exact name match) in my 2010 install ....  already checked.

Found the missing libraries but the installer does not find them where I put them.

Where should they be placed so that the installer will find them?

After the app is installed I can then test to see if it works or not.

So, what needs to be done?

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6269
Re: Dependency Question
« Reply #5 on: May 01, 2010, 11:08:27 AM »
where did you put them?
you can set "LD_LIBRARY_PATH" to where you put them and they should be picked up.

when an application needs a shared object without specifying where to look for it or if it does but its not there, whoever loads shared object will go look for it in locations specified by that environmental variable before going to look in system paths.

you can set the variable with

export LD_LIBRARY_PATH=/full_path_to_your_libraries:$LD_LIBRARY_PATH
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6849
  • MLU
Re: Dependency Question
« Reply #6 on: May 01, 2010, 11:49:11 AM »
Quote
where did you put them?

As I said above I put them in  /usr/lib.

That is where they were when this rpm installed on KDE3.

I am trying to figure out why they are not found when attempting to install the same rpm on KDE4.

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6269
Re: Dependency Question
« Reply #7 on: May 01, 2010, 12:17:50 PM »
create a new folder and place that rpm in that folder then press "F4" to open the terminal in this folder and run the following command "rpm2cpio *.rpm | cpio -idmv".

two folders will show up, go to bin folder and run this command "ldd ./kb2kskype" and you will be told what libraries are missing. Add those libraries to this folder and run the command and see they are picked up and if additional dependencies are required.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6849
  • MLU
Re: Dependency Question
« Reply #8 on: May 01, 2010, 01:09:08 PM »
The four I marked are the ones being reported as missing when trying to install - in the location I placed them   ..........   ???

Code: [Select]
[root@localhost bin]# ldd ./kb2kskype
        linux-gate.so.1 =>  (0xffffe000)
*        libkdeui.so.4 => /usr/lib/libkdeui.so.4 (0xb73ca000)
*        libkdecore.so.4 => /usr/lib/libkdecore.so.4 (0xb714d000)
*        libDCOP.so.4 => /usr/lib/libDCOP.so.4 (0xb7116000)
        libutil.so.1 => /lib/libutil.so.1 (0xb70ea000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0xb70cf000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0xb709e000)
*        libkdefx.so.4 => /usr/lib/libkdefx.so.4 (0xb7070000)
        liblcms.so.1 => /usr/lib/liblcms.so.1 (0xb7035000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7030000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb6ef1000)
        libldap-2.3.so.0 => /usr/lib/libldap-2.3.so.0 (0xb6eb7000)
        liblber-2.3.so.0 => /usr/lib/liblber-2.3.so.0 (0xb6eaa000)                                                     
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb6e92000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb6e47000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb6cd3000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb6cbc000)
        libqt-mt.so.3 => /usr/lib/libqt-mt.so.3 (0xb65da000)                                                           
        libmng.so.1 => /usr/lib/libmng.so.1 (0xb6572000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb6550000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb6508000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb64f5000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb64eb000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb64e3000)                                                         
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb64d9000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb64d6000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0xb64c2000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6443000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb640f000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb6407000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb63ee000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb63de000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0xb63c4000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb6293000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb6275000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb6272000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb626c000)
        libdl.so.2 => /lib/libdl.so.2 (0xb6267000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6179000)
        libm.so.6 => /lib/i686/libm.so.6 (0xb6151000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6133000)
        libc.so.6 => /lib/i686/libc.so.6 (0xb5fd2000)
        /lib/ld-linux.so.2 (0xb76e6000)
[root@localhost bin]#

I am considering a nodeps install to see if the installed package will pick them up ....

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6849
  • MLU
Re: Dependency Question
« Reply #9 on: May 01, 2010, 01:20:28 PM »
Went far enough to see that this app depends on  dcop   whereas  dcop  is not used in KDE4, it uses  dbus  instead.

Not that I know anything about each of those or what it might take to get this package working on KDE4.


Thanks for the help   .........  looks like I am lost on this one ...........