-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am happily using Kontact now but have one disappointment. Kaddressbook works fine inside Kontact but Unfortunately it fails if I try to run it by itself. Korganizer and Kmail don't seem to have this problem (although you can't run Kmail if Kontact is already running, no surprise there.) Without running kontact I tried from the shell: # kaddressbook and recieved the error "kaddressbook: error while loading shared libraries: libkaddressbookpart.so: cannot open shared object file: No such file or directory" If I try from an icon I get "KDEInit could not launch '/opt/kde3/bin/kaddressbook'" Is this a tradeoff or is there a workaround? Thanks for your Ideas - -- dh Don't shop at GoogleGear.com! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+i1zcBwgxlylUsJARAiC/AJ9LzxwsO6/eziYBmrXIvri8bCiBPACfbKzZ U/0Arj+w9I/9I+KjgMGPAH8= =vDm5 -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On April 2, 2003 04:57 pm, David Herman wrote:
Kaddressbook works fine inside Kontact but Unfortunately it fails if I try to run it by itself.
I have no problem starting Kaddressbook by itself.
"kaddressbook: error while loading shared libraries: libkaddressbookpart.so: cannot open shared object file: No such file or directory"
libkaddressbookpart.so is installed in /opt/kde3/lib/kde3. Did you forget to run ldconfig? Charles - -- "Linux, because up-time matters gawk; talk; date; wine; grep; touch; unzip; touch; gasp; finger; gasp; mount;\ fsck; more; yes; gasp; umount; make clean; make mrproper; sleep." - --Drunken Bastard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+i18L3epPyyKbwPYRAosRAKCmHV9ArBJ0Nl+boDgQrQYUF3W0VwCghhvW 4ftZylW8BEvPyLi+PF3loGo= =2mhU -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 02 April 2003 02:07 pm, Charles Philip Chan wrote:
On April 2, 2003 04:57 pm, David Herman wrote:
Kaddressbook works fine inside Kontact but Unfortunately it fails if I try to run it by itself.
I have no problem starting Kaddressbook by itself.
"kaddressbook: error while loading shared libraries: libkaddressbookpart.so: cannot open shared object file: No such file or directory"
libkaddressbookpart.so is installed in /opt/kde3/lib/kde3. Did you forget to run ldconfig?
Nope, thats not it. ran ldconfig, also ran /sbin/SuSEconfig I did a locate libkaddressbookpart.so it's right where it belongs /opt/kde3/lib/kde3 (I verified w/ konqueror) I also checked the rpm and it shows /opt/kde3/lib/kde3/libkaddressbookpart.so I've also tried starting kaddressbook under another login but still no luck Any other ideas? - -- dh Don't shop at GoogleGear.com! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+i2uzBwgxlylUsJARAiGZAJ9eJjyUeqbKazfsyWyjJuGj4Id1LwCeK1Xb SazxYzRVSp8wjjxSQz2vo5M= =2co2 -----END PGP SIGNATURE-----
Am Donnerstag, 3. April 2003 01:01 schrieb David Herman:
Nope, thats not it. ran ldconfig, also ran /sbin/SuSEconfig
what does # ldd `which kaddressbook` |grep libkaddressbookpart.so print? does your /etc/ld.so.conf contain /opt/kde3/lib? what does # strace -f kaddressbook 2>&1 |grep libkaddressbookpart.so print? Greets, Daniel
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 02 April 2003 03:16 pm, Daniel Eckl wrote:
Am Donnerstag, 3. April 2003 01:01 schrieb David Herman:
Nope, thats not it. ran ldconfig, also ran /sbin/SuSEconfig
what does # ldd `which kaddressbook` |grep libkaddressbookpart.so print?
libkaddressbookpart.so => not found
does your /etc/ld.so.conf contain /opt/kde3/lib?
yes
what does # strace -f kaddressbook 2>&1 |grep libkaddressbookpart.so print? That was the money question, there was a fairly long output but the jist of it was;
open("/usr/local/kde/lib/kde3/libkaddressbookpart.so", O_RDONLY) = -1 ENOENT (No such file or directory) So it is looking for the file in /usr/local/kde/lib... As a stopgap I added /opt/kde3/lib/kde3 to my /etc/ld.so.conf and ran ldconfig kaddressbook runs w/out errors from the shell now but still shows an error if run from its icon (although it opens its window just fine once the error has been announced) Looks like I may need to try compiling again w/ the configure --with-KDEDIR... option after all (export KDEDIR=... may not have been enough) Thanks for your help - -- dh Don't shop at GoogleGear.com! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+i326BwgxlylUsJARAghjAJ42yu8W/hQeRzqXCA4fuKgCvMZIiwCfQZBY NGKskxXaec+g7YaImlOc/gE= =zE57 -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On April 2, 2003 07:17 pm, David Herman wrote:
Looks like I may need to try compiling again w/ the configure --with-KDEDIR... option after all (export KDEDIR=... may not have been enough)
Assuming your KDE3 is in /opt/kde3, you should configure it with: ./configure --prefix=/opt/kde3 --sysconfdir=/etc/opt/kde3 Charles - -- "Linux, because up-time matters gawk; talk; date; wine; grep; touch; unzip; touch; gasp; finger; gasp; mount;\ fsck; more; yes; gasp; umount; make clean; make mrproper; sleep." - --Drunken Bastard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+i4J93epPyyKbwPYRAtPzAKCQZ/tbfWLug34DBg2xmr2vGwyhFACghrY/ Q2h/Xkn4LGlcyQlWF1nCvcc= =hqJ3 -----END PGP SIGNATURE-----
Am Donnerstag, 3. April 2003 02:38 schrieb Charles Philip Chan:
./configure --prefix=/opt/kde3 --sysconfdir=/etc/opt/kde3
The --prefix will be sufficient, since kde apps do very seldom use sysconfdir, because KDE provides the wonderful share/apps/ tree in $KDEDIR and $KDEHOME. Greets, Daniel
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On April 2, 2003 07:51 pm, Daniel Eckl wrote:
The --prefix will be sufficient, since kde apps do very seldom use sysconfdir, because KDE provides the wonderful share/apps/ tree in $KDEDIR and $KDEHOME.
Thanks for the tip, the --sysconfdir is a hold over from my Gnome days :-). Charles - -- "Linux, because up-time matters gawk; talk; date; wine; grep; touch; unzip; touch; gasp; finger; gasp; mount;\ fsck; more; yes; gasp; umount; make clean; make mrproper; sleep." - --Drunken Bastard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+i4c43epPyyKbwPYRAkZhAJ9OIXltu/s330MtB+NbScSrCRXocACgzaLz PLpSh+Ep0KqzjAPN7NuwCcY= =3Ir4 -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 02 April 2003 04:58 pm, Charles Philip Chan wrote:
On April 2, 2003 07:51 pm, Daniel Eckl wrote:
The --prefix will be sufficient, since kde apps do very seldom use sysconfdir, because KDE provides the wonderful share/apps/ tree in $KDEDIR and $KDEHOME.
Thanks for the tip, the --sysconfdir is a hold over from my Gnome days :-).
OK, I'm back, takes awhile to recompile and re-install these 2 packages I just tried it both ways. ./configure --prefix=/opt/kde3 and ./configure --prefix=/opt/kde3 --sysconfdir=/etc/opt/kde3 (hadn't got this message before I started) Although Kontact and Korganizer both seem to work without problems Kaddressbook is still pretending to have problems. When I run Kaddressbook from its Icon I still recieve a requester saying "KDEInit could not launch '/opt/kde3/bin/kaddressbook'" then it starts up as if nothing is wrong. I've run ldconfig and /sbin/SuSEconfig after my installs. I'm starting to wonder if maybe its a problem w/ checkinstall. Another possibility is that I've built and installed both the kdenetwork-kontact and kdepim-kontact packages, has everyone installed both of these packages or are you only using kdepim-kontact? Heres the current output of # ldd `which kaddressbook` |grep libkaddressbookpart.so libkaddressbookpart.so => /opt/kde3/lib/kde3/libkaddressbookpart.so (0x40015000) # strace -f kaddressbook 2>&1 |grep libkaddressbookpart.so open("/opt/kde3/lib/kde3/i686/libkaddressbookpart.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/opt/kde3/lib/kde3/libkaddressbookpart.so", O_RDONLY) = 3 Regarding Patrick's suggestion I've always exited Kontact before trying to run any of the component programs so thats not it either. Thanks for your help. - -- dh Don't shop at GoogleGear.com! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+jE+QBwgxlylUsJARAiURAJ0QVUBToWOg+t5L1BV40jttADn8ogCfeyAE 736iaVqic15sVtmm0Or5NFo= =ruz8 -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On April 3, 2003 10:13 am, David Herman wrote:
I just tried it both ways. ./configure --prefix=/opt/kde3 and ./configure --prefix=/opt/kde3 --sysconfdir=/etc/opt/kde3 (hadn't got this message before I started)
The --sysconfdir=/etc/opt/kde3 doesn't hurt thing, it is just redundant.
Although Kontact and Korganizer both seem to work without problems Kaddressbook is still pretending to have problems.
This is really strange since that is how I built mine.
I'm starting to wonder if maybe its a problem w/ checkinstall.
I used checkinstall too, so that couldn't be the problem.
Another possibility is that I've built and installed both the kdenetwork-kontact and kdepim-kontact packages, has everyone installed both of these packages or are you only using kdepim-kontact?
Just kdepim-contact. Have you tried to rebuild the ksycoca datebase? That might be your problem. Log out of KDE and delete all the KDE related directories in /tmp and relogin. Charles - -- "Linux, because up-time matters gawk; talk; date; wine; grep; touch; unzip; touch; gasp; finger; gasp; mount;\ fsck; more; yes; gasp; umount; make clean; make mrproper; sleep." - --Drunken Bastard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+jF2T3epPyyKbwPYRAkEuAJkBYvhnFXH0bPCI9wGsD7d5KnfuwwCdFBmp MTXZzpz5QYqjZ10rfhCX41s= =uaNq -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 03 April 2003 08:13 am, Charles Philip Chan wrote: > On April 3, 2003 10:13 am, David Herman wrote: - ---------snip--------- > > I'm starting to wonder if maybe its a problem w/ checkinstall. > > I used checkinstall too, so that couldn't be the problem. > > > Another possibility is that I've built and installed both the > > kdenetwork-kontact and kdepim-kontact packages, has everyone > > installed both of these packages or are you only using > > kdepim-kontact? > > Just kdepim-contact. We have a winner! Although kdenetwork-kontact, doesn't actually break kaddressbook it does appear to confuse it a bit. Solved my problem w/ # rpm -e kdenetwork-kontact-3.1-1 Now I can run things in he container or separately, whichever I desire. > Have you tried to rebuild the ksycoca datebase? That might be your > problem. Log out of KDE and delete all the KDE related directories in > /tmp and relogin. Thanks everyone for your help. - -- dh Don't shop at GoogleGear.com! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+jGHkBwgxlylUsJARAlLfAJ4tznW8RtzBWK39sq03uxpAD/dgBACcCK8g /MAUSDB3OIfuF0XEnQLA1IY= =vQeU -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On April 2, 2003 06:01 pm, David Herman wrote:
I did a locate libkaddressbookpart.so it's right where it belongs /opt/kde3/lib/kde3 (I verified w/ konqueror) I also checked the rpm and it shows /opt/kde3/lib/kde3/libkaddressbookpart.so
This is really strange, I don't know why kaddressbook can't find the "part" library. Are you sure you don't have an older kaddressbook installed somewhere else? What does: whereis kaddressbook show? What is the output of: ldd /opt/kde3/bin/kaddressbook Charles - -- "Linux, because up-time matters gawk; talk; date; wine; grep; touch; unzip; touch; gasp; finger; gasp; mount;\ fsck; more; yes; gasp; umount; make clean; make mrproper; sleep." - --Drunken Bastard -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+i2+f3epPyyKbwPYRApyOAKCrc3pPHXO7HS9D8pq6ytXQCmVUpACg1COh YuCxXEtz85NtPq8kwZ/sjts= =ntGc -----END PGP SIGNATURE-----
On Wednesday 02 April 2003 05:07 pm, Charles Philip Chan wrote:
On April 2, 2003 04:57 pm, David Herman wrote:
Kaddressbook works fine inside Kontact but Unfortunately it fails if I try to run it by itself.
I have no problem starting Kaddressbook by itself.
"kaddressbook: error while loading shared libraries: libkaddressbookpart.so: cannot open shared object file: No such file or directory"
libkaddressbookpart.so is installed in /opt/kde3/lib/kde3. Did you forget to run ldconfig?
Charles
********************** I too have no trouble running any of the programs under Kontact by themselves. If Kontact is running or has been started, Kaddressbook will not start though. Check to see if Kontact is running with either top or Ctrl-Esc to see your system processes. If it shows up there, then kill kontact and try starting kaddressbook. Also, kontact didn't want to behave just after I installed, but a restart of KDE cleared things up and all is working great now, except for printing from kmail. Patrick -- --- KMail v1.5.9.1i --- SuSE Linux Pro v8.1 --- Registered Linux User #225206 On any other day, that might seem strange...
participants (4)
-
Charles Philip Chan
-
Daniel Eckl
-
David Herman
-
O'Smith