Solved

kdevelop installing problems

Posted on 2000-03-20
6
415 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

680 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