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
Solved

kdevelop installing problems

Posted on 2000-03-20
6
414 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Fine Tune your automatic Updates for Ubuntu / Debian
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…
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.

828 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