LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-18-2006, 06:41 PM   #1
mschrank99
LQ Newbie
 
Registered: Jun 2006
Posts: 20

Rep: Reputation: 0
Red face libpq.so.4 is there, but RPM thinks it isn't


Hi I'm new to Linux and I'm basically confused why RPM thinks that I don't have these libraries when they are really where they should be, mostly in the /usr/local/pgsql/lib directory. I need to know how to tell RPM where they are, so it stops claiming that they don't exist and I can install this program:

Quote:
[mschrank@192 Desktop]$ rpm -i pgadmin3-1.4.1-1hjh.i586.rpm
error: Failed dependencies:
libpq.so.4 is needed by pgadmin3-1.4.1-1hjh.i586
libwx_baseu-2.6.so.0 is needed by pgadmin3-1.4.1-1hjh.i586
libwx_baseu_net-2.6.so.0 is needed by pgadmin3-1.4.1-1hjh.i586
libwx_baseu_xml-2.6.so.0 is needed by pgadmin3-1.4.1-1hjh.i586
libwx_gtk2u_adv-2.6.so.0 is needed by pgadmin3-1.4.1-1hjh.i586
libwx_gtk2u_core-2.6.so.0 is needed by pgadmin3-1.4.1-1hjh.i586
libwx_gtk2u_html-2.6.so.0 is needed by pgadmin3-1.4.1-1hjh.i586
libwx_gtk2u_ogl-2.6.so.0 is needed by pgadmin3-1.4.1-1hjh.i586
libwx_gtk2u_qa-2.6.so.0 is needed by pgadmin3-1.4.1-1hjh.i586
libwx_gtk2u_stc-2.6.so.0 is needed by pgadmin3-1.4.1-1hjh.i586
libwx_gtk2u_xrc-2.6.so.0 is needed by pgadmin3-1.4.1-1hjh.i586
Thank you,

Matt

ps. I am running Mandriva Free 2006 x86_64

Last edited by mschrank99; 06-18-2006 at 06:42 PM.
 
Old 06-18-2006, 10:12 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
You should be running rpm as root, not your normal user. If that doesn't do it...

Did you install the libraries with RPM? RPM only "knows" about stuff in RPM packages that it installed (it doesn't scan your system looking for other libraries/software).

Usually in these cases when I'm sure I have the dependencies fulfilled, I just use the --nodeps flag to tell rpm not to stop on missing dependencies. If you don't actually have all the dependencies, though, then the installed software will not work.

edit to add:

This is why it's a good idea to install as much as possible via RPM. You might want to remove the software you installed by other means and re-install the appropriate RPM.

Last edited by btmiller; 06-18-2006 at 10:14 PM.
 
  


Reply



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
KDE 3.4 libpq.so.3 error on fedora core 3 volekvolek Fedora 2 03-26-2005 02:01 AM
Firefox thinks *.rpm means RealPlayer file! linuxceptic Linux - Software 1 11-18-2004 06:53 PM
using libpq and processes marri Programming 1 10-29-2004 01:07 PM
how they thinks ? amjad General 13 11-13-2003 03:03 AM
libpq.so.2 laasunde Linux - General 1 11-17-2002 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:32 AM.

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