LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-16-2004, 05:44 AM   #1
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Rep: Reputation: 30
rpm install help


I'm trying to install netatalk on Redhat 9 using the following package

ftp://contrib.redhat.com/pub/contrib...1-1rh7.src.rpm

I'm using the command line (no GUI available) to install it with the following command

rpm -Uvh netatalk-1.6.1-1rh7.src.rpm

It seems to 'install', a progress bar goes to 100%, but I don't know what to do now, there must be files for me to configure. Can anyone help?
 
Old 11-16-2004, 05:52 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
this is a source rpm (src) you do not want this. you want a precompiled one, normally having i386, i586 or i686 where the src is.
 
Old 11-16-2004, 08:00 AM   #3
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Original Poster
Rep: Reputation: 30
Thanks Chris, that's got me long way through the install. I've hit a problem of a dependency that I've installed failling. The rpm returns the following message:

error: Failed dependencies: libcrypto.so.0.9.6.1 is needed by netatalk-1.5.5-1

I've tried installing

openssl-0.9.6g-1.i686.rpm
openssl-0.9.6l-1.i686.rpm
openssl-0.9.7a-2.i686.rpm

All seem to install OK, but I still can't get netatalk to work. FYI I've also installed

lwp-1.10-2.i686.rpm

and am trying to get the following netatalk to work on RH9

netatalk-1.5.5-1.i686.rpm

I'm using a Celeron, is i686 the correct one to use. I've seen it appear on boot, so presumed it was the correct one?

Any ideas?
 
Old 11-16-2004, 08:10 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
celeron = 686 yes, that's fine

well.. that netatalk rpm requires that exactly library name. while officially you should download and install the rpm that provides that, it's a lot easier to first try creating a symlink to that library, as it's unliekly to cause a problem. find what versions of libcrypto you have, in /usr/lib or similar,. and creating a symlink from the base .so library (there are liekly to be a number of links already there, for slightly different names. So "ln -s /usr/lib/libcrypto.so /usr/lib/libcrypto.so.0.9.6.1" for example. if that works, then super...
 
Old 11-16-2004, 09:10 AM   #5
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Original Poster
Rep: Reputation: 30
No luck there. I tried the link as you wrote (it all seemed to fit with what I had), but no difference, even after a reboot. libcrypt.so seemed to be a link itself to ../../lib/libcrypt.co.1 so I tried making a link directly to that but no difference. Also tried placing the link into the same directory as the rpm, but nothing again.

Any more ideas, other than a hammer?
 
Old 11-16-2004, 11:11 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
you don't have to reboot your linux system after installing packages (very different from windows). Anyway check out this thread from the redhat forums .
 
Old 11-16-2004, 11:14 AM   #7
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Original Poster
Rep: Reputation: 30
Can I use i386 files on a i686 system, or does the rpmbuild --rebuild make them compatible?
 
Old 11-16-2004, 11:24 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
yes you can use i386 on i686. you can also use the "--target" flag when using rpmbuild to specify an architecture. An example would be "rpmbuild --rebuild --target i686 package.srpm". If I've made an error in my example read the rpmbuild manpage coz I'm not using an rpm based distro whilst sending this post so I have not verified whether it's absolutely correct.
 
Old 11-16-2004, 11:25 AM   #9
nutthick
Member
 
Registered: Jun 2004
Distribution: Slack
Posts: 214

Original Poster
Rep: Reputation: 30
Thanks for the advice. I've been on this 10 hours straight, so need a break, will try it tomorrow.
 
  


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
RPM error when trying to install an rpm Trance56k SUSE / openSUSE 3 11-10-2005 10:25 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 12:44 AM
Ok, dumb question. If I install a Mandrake kernel RPM, where does it install to? Kramer Linux - General 6 01-13-2004 09:39 PM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 12:44 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM

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

All times are GMT -5. The time now is 02:10 PM.

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