LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-21-2004, 12:36 PM   #1
Baryonic Being
Member
 
Registered: Mar 2004
Distribution: Arch
Posts: 139

Rep: Reputation: 15
KDevelop Crashes


After upgrading to KDE 3.3.0 on Gentoo Linux, I tried to use KDevelop 3.1.0. It goes through a few of the start-up procedures in the splash screen and then crashes with this output:

Connecting kdevelop-12450/KDevCore/projectClosed()
PyDCOP connect kdevelop-12450/KDevCore/projectClosed()/f1() has result true
Connecting kdevelop-12450/KDevCore/projectOpened()
PyDCOP connect kdevelop-12450/KDevCore/projectOpened()/f2() has result true
QLayout "unnamed" added to IndexView "unnamed", which already has a layout
kdevelop: error while loading shared libraries: /usr/lib/kde3/libkdevdoctreeview.so: undefined symbol: _ZN17ConfigWidgetProxy22createGlobalConfigPageERK7QStringj


I have tried remerging it but it makes no difference.
 
Old 11-22-2004, 06:59 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
This is a library dependency problem. The first thing to try is running
Code:
su -c '/sbin/ldconfig'
and see if that clears the problem.

If not, a quick google search shows that the ConfigWidgetProxy symbol is a method, and a part of KDevelop (rather than KDE), which implies that your KDevelop update hasn't worked. Check which file /usr/lib/kde3/libkdevdoctreeview.so points to, and check the version number. Make sure that there isn't a more recent file that it should link to instead.

Otherwise, you have probably found a bug with this emerge download, as you don't have a complete update of KDevelop; you are mixing libraries of different versions. Unless someone else can suggest something, you should contact the emerge maintainers if this is a bug. (While you are waiting for a fix, you might try compiling kdevelop from source).
 
Old 11-27-2004, 12:59 PM   #3
Baryonic Being
Member
 
Registered: Mar 2004
Distribution: Arch
Posts: 139

Original Poster
Rep: Reputation: 15
Initially that didn't make any difference, but now I get this error message:

Unable to find plugins, KDevelop will not work properly!
Please make sure that KDevelop is installed in your KDE directory, otherwise you have to add KDevelop's installation path to the environment variable KDEDIRS and run kbuildsycoca. Restart KDevelop afterwards.
Example for BASH users:
export KDEDIRS=/path/to/kdevelop:$KDEDIRS && kbuildsycoca

KDevelop launches but nothing really works. The New File/Project actions aren't even there, and when Open Project is launched, it says:

'Could not find mime type
application/octet-stream'

and 'No mime types installed'.

The entire Edit, Debug and Tools menus are empty, as is the main document window.

I don't know whether /usr/lib/kde3/libkdevdoctreeview.so points to anything. I'm not sure what you mean by that.

Thanks for the reply.
 
Old 11-27-2004, 08:02 PM   #4
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
For the last bit, run this:
Code:
ls -l /usr/lib/kde3/libkdevdoctreeview.so
Normally, libraries are installed with version numbers, like libfoo.so-1.4.8. A symbolic link is created to the .so file (without the version number) to indicate the correct version to use. A symbolic link is a special file that holds the location of another file.

What I am expecting to see is that you have the wrong version of libkdevdoctreeview installed, hence the error messages that you are getting; we can tell this by looking at the file that libkdevdoctreeview.so (which should be a symbolic link) points to.

This does look like your install of kdevelop hasn't worked properly.

As it says, you might like to check your KDEDIRS environment variable:
Code:
echo $KDEDIRS
does the output look like the location where kdevelop is installed?
 
Old 11-28-2004, 05:59 AM   #5
Baryonic Being
Member
 
Registered: Mar 2004
Distribution: Arch
Posts: 139

Original Poster
Rep: Reputation: 15
That first command tells me:

-rwxr-xr-x 1 root root 608184 May 12 2004 /usr/lib/kde3/libkdevdoctreeview.so

and the content of $KDEDIRS is just '/usr'!

At the moment I can't find where kdevelop is installed, although some of its files are in /usr/include/kdevelop and /usr/share/apps/kdevelop.
 
Old 12-03-2004, 02:23 PM   #6
Baryonic Being
Member
 
Registered: Mar 2004
Distribution: Arch
Posts: 139

Original Poster
Rep: Reputation: 15
It still doesn't work.
 
Old 12-04-2004, 03:18 PM   #7
Baryonic Being
Member
 
Registered: Mar 2004
Distribution: Arch
Posts: 139

Original Poster
Rep: Reputation: 15
OK, I think I've got it to work now. I found that I had KDevelop 3.0.2 installed as well, so I removed it.
 
Old 12-07-2004, 12:11 PM   #8
blooz
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
I got the same problem with gentoo

I unmerge kdevelop 3.1.0 and untar/make/makeinstall kdevelop 3.1.1
all goes well
See U
Blooz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Kdevelop splash screen finishes loading then program crashes BluePyre Linux - Software 1 08-25-2004 02:51 PM
KDevelop crashes eqxro Linux - Software 0 06-24-2004 09:16 AM
Konqueror crashes, SuseWatcher crashes!!! bruno buys Linux - Newbie 9 10-07-2003 11:44 AM
KDevelop tcaptain Programming 1 05-24-2003 10:46 AM
KDevelop 2.0 solar_neutrino Linux - Software 1 11-12-2002 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:58 PM.

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