Solved

kdevelop installing problems

Posted on 2000-03-20
6
416 Views
Last Modified: 2013-11-13
I'm trying to install kdevelop using the rpms with the following command :

rpm -Uvh kdevelop-1.1-1.i386.rpm

but I get the following errors :

error : failed dependencies:
          libjscript.so.2 is needed by kdevelop-1.1-1
          libkdecore.so.2 is needed ...

7 libraries are needed. I located the lib's in the /usr/lib directory so they are installed.
0
Comment
Question by:940961sl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 

Expert Comment

by:torab
ID: 2636156
If the libraries are already installed there is an option for the rpm command to ignore dependencies. It's either
--nodep or
--nodeps

the command should then be (assuming --nodeps is it):
rpm -Uvh --nodeps kdevelop-1.1-1.i386.rpm

If the libraries are correctly installed (usr/lib is presumably in your PATH and LD_LIBRARY_PATH environment variables) so that the app finds them runtime, it shouldn't be a problem.

I hope this solves your problem!

Regards,
Tor Arne
0
 
LVL 1

Author Comment

by:940961sl
ID: 2636387
well, I solved my problem by reinstalling the kdelib rpm and now it works. But I don't have the LD_LIBRARY_PATH environment variable. How do I create it??
0
 

Accepted Solution

by:
torab earned 50 total points
ID: 2636431
Come to think of it, it's quite possible I was talking bullshit there. The LD_LIBRARY_PATH variable is (AFAIK) only used when compiling / linking programs, and not when running them. If you're primarily installing from binary RPMs you won't need to set it.

If you do want to set it you could do so in your .bashrc file (assuming you are using bash-shell) using the command:

export LD_LIBRARY_PATH=/usr/lib;...

The same command can be run "manually" in a shell, but then you'll have to do it every time you need the variable.

Regards,
Tor Arne
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Expert Comment

by:torab
ID: 2636514
It's obvious my answer didn't solve your problem, so I'm withdrawing it...
0
 
LVL 1

Author Comment

by:940961sl
ID: 2639228
Well, it's not the answer to my question, but I didn't know how to set an environment variable. So after all, I learned something new.

For those after me reading this question : I had to use the option --force to install the rpm again.
0
 

Expert Comment

by:torab
ID: 2639236
Glad to have been of some help :)
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question