LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rpm install help (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-install-help-255479/)

nutthick 11-16-2004 05:44 AM

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?

acid_kewpie 11-16-2004 05:52 AM

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.

nutthick 11-16-2004 08:00 AM

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?

acid_kewpie 11-16-2004 08:10 AM

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...

nutthick 11-16-2004 09:10 AM

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? ;)

reddazz 11-16-2004 11:11 AM

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 .

nutthick 11-16-2004 11:14 AM

Can I use i386 files on a i686 system, or does the rpmbuild --rebuild make them compatible?

reddazz 11-16-2004 11:24 AM

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.

nutthick 11-16-2004 11:25 AM

Thanks for the advice. I've been on this 10 hours straight, so need a break, will try it tomorrow.


All times are GMT -5. The time now is 11:42 AM.