Solved

kdevelop installing problems

Posted on 2000-03-20
6
413 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
  • 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Run DOS2UNIX and then execute the command 21 70
winscp 000webhost.com 6 52
Run Secure WMI query from CentOS 5 33
linux 13 50
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

773 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