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 09-09-2010, 02:49 PM   #1
RayAID
Member
 
Registered: Sep 2010
Posts: 30

Rep: Reputation: 0
RPM Problem?


System: Red Hat Enterprise 5 - x64

I am trying to install snort and have dependencies. When I try
to reconcile them, they look like they loaded fine, but when I
try to install snort, I get the same errors.

[root@sguil01.root snort]# rpm -Uvh MySQL-shared-compat-6.0.11-0.rhel5.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-shared-compat ########################################### [100%]
[root@sguil01.root snort]# rpm -Uvh snort-mysql-2.8.6.1-1.RH5.i386.rpm
error: Failed dependencies:
libmysqlclient.so.15 is needed by snort-mysql-2.8.6.1-1.i386
libmysqlclient.so.15(libmysqlclient_15) is needed by snort-mysql-2.8.6.1-1.i386
libpcap.so.0.9.4 is needed by snort-mysql-2.8.6.1-1.i386
libpcre.so.0 is needed by snort-mysql-2.8.6.1-1.i386
snort = 1:2.8.6.1-1 is needed by snort-mysql-2.8.6.1-1.i386


Ideas?

Thanks,

Ray
 
Old 09-09-2010, 03:22 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi, welcome to LQ!

And what does
Code:
rpm -qa | grep -E "libmysqlclient|libpcap|libpcre|snort"
tell you?


Cheers,
Tink
 
Old 09-09-2010, 03:33 PM   #3
RayAID
Member
 
Registered: Sep 2010
Posts: 30

Original Poster
Rep: Reputation: 0
The response I get is:

libpcap-0.9.4-14.e15

Ray
 
Old 09-10-2010, 01:41 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Why don't you use the yum tool instead? It automatically takes care of dependencies. I wouldn't use rpm directly unless I was desperate.
https://access.redhat.com/kb/docs/DOC-2531
 
Old 09-10-2010, 07:16 AM   #5
RayAID
Member
 
Registered: Sep 2010
Posts: 30

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chrism01 View Post
Why don't you use the yum tool instead? It automatically takes care of dependencies. I wouldn't use rpm directly unless I was desperate.
https://access.redhat.com/kb/docs/DOC-2531
I don't know of a repository that has the most current version of
both snort and sguil. Do you?

Thanks,

Ray
 
Old 09-10-2010, 09:12 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post #1 : MySQL-shared-compat-6.0.11-0.rhel5.x86_64.rpm :
Are you sure, you will use this version ? It's not a default el5 package.
And it will of course not fit with any 'snort' compiled for
mysql-5.0.77-4.el5_5.3. ( Which is the current el5 version. AFAIK.)

'snort-mysql-2.8.6.1-1.RH5.i386.rpm' + 'snort-2.8.6.1-1.RH5.i386.rpm'
are the wrong architecture, i.e. not x86_64 (No x86_64 versions available).

From "snort", the snort-2.8.6.1-1.src.rpm (source code SRC rpm)
is available, and easy to rebuild to ' x86_64 ' :
1) # yum install libpcap-devel.x86_64 pcre-devel.x86_64 mysql-devel.x86_64
2) cd /usr/local/
3) # ln -s /usr/lib64/mysql/ && exit
4) cd /home/<name>/rpms/SPECS/
5) rpmbuild -bb snort.spec --with mysql (See the file snort.spec for options)

Setting up the unprivileged rpm account in /home/<name>/ :
http://www.linuxquestions.org/questi...1-a-766486/#13
..

The sguil "0.7.0" repo :
http://synfulpacket.blogspot.com/200...epository.html
..
 
Old 09-10-2010, 09:18 AM   #7
RayAID
Member
 
Registered: Sep 2010
Posts: 30

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
Post #1 : MySQL-shared-compat-6.0.11-0.rhel5.x86_64.rpm :
Are you sure, you will use this version ? It's not a default el5 package.
And it will of course not fit with any 'snort' compiled for
mysql-5.0.77-4.el5_5.3. ( Which is the current el5 version. AFAIK.)

'snort-mysql-2.8.6.1-1.RH5.i386.rpm' + 'snort-2.8.6.1-1.RH5.i386.rpm'
are the wrong architecture, i.e. not x86_64 (No x86_64 versions available).

From "snort", the snort-2.8.6.1-1.src.rpm (source code SRC rpm)
is available, and easy to rebuild to ' x86_64 ' :
1) # yum install libpcap-devel.x86_64 pcre-devel.x86_64 mysql-devel.x86_64
2) cd /usr/local/
3) # ln -s /usr/lib64/mysql/ && exit
4) cd /home/<name>/rpms/SPECS/
5) rpmbuild -bb snort.spec --with mysql (See the file snort.spec for options)

Setting up the unprivileged rpm account in /home/<name>/ :
http://www.linuxquestions.org/questi...1-a-766486/#13
..

The sguil "0.7.0" repo :
http://synfulpacket.blogspot.com/200...epository.html
..
Are you saying I can't run 32 bit on a 64 bit OS?
 
Old 09-10-2010, 09:40 AM   #8
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
I believe he is saying rebuild it into a rpm package for your system.
 
Old 09-10-2010, 10:26 AM   #9
RayAID
Member
 
Registered: Sep 2010
Posts: 30

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jmc1987 View Post
I believe he is saying rebuild it into a rpm package for your system.

So my next dumb question is can I run 32bit apps on a 64 bit OS?
And if a 64 bit app has a dependency, can the dependency be 32 bit?

Thanks,

Ray
 
Old 09-10-2010, 02:44 PM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Yes, the most 32bit applications can be used :
If all the 32bit dependencies are available.
( I think, they might be available in this case.)

No, a 32bit application cannot use 64bit dependencies.
And a 64bit application cannot use 32bit dependencies.

I prefer systems as simple as possible. I.e. everything 64bit, if possible.
(( Or the whole OS being 32 Bits.))

About building snort-2.8.6.1-1 x86_64 : You don't have to.
I already did. Takes about 4 minutes. I can upload the two packages
to Rapidshare, if you want them : snort-mysql-2.8.6.1 + snort-2.8.6.1.
......

Last edited by knudfl; 09-10-2010 at 02:52 PM.
 
Old 09-13-2010, 07:56 AM   #11
RayAID
Member
 
Registered: Sep 2010
Posts: 30

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
Yes, the most 32bit applications can be used :
If all the 32bit dependencies are available.
( I think, they might be available in this case.)

No, a 32bit application cannot use 64bit dependencies.
And a 64bit application cannot use 32bit dependencies.

I prefer systems as simple as possible. I.e. everything 64bit, if possible.
(( Or the whole OS being 32 Bits.))

About building snort-2.8.6.1-1 x86_64 : You don't have to.
I already did. Takes about 4 minutes. I can upload the two packages
to Rapidshare, if you want them : snort-mysql-2.8.6.1 + snort-2.8.6.1.
......
I am on my work location and would rather not use Rapidshare.
 
Old 09-14-2010, 10:04 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
What's wrong with Rapidshare ? I'd like to know that, please.


Anyway, no problem, send me an email , and I will attach
the two packages to a return mail.
..
 
Old 09-14-2010, 11:16 AM   #13
RayAID
Member
 
Registered: Sep 2010
Posts: 30

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
What's wrong with Rapidshare ? I'd like to know that, please.


Anyway, no problem, send me an email , and I will attach
the two packages to a return mail.
..
I thought that I would be blocked from Rapidshare (due to it's nature of being a file share site), but that's not the case.

Anyway, thanks for offering the pkgs, however I must decline due to
the nature of the work I am doing. Our SA's are looking into rebuilding TCL without threading.

Thanks again. Your willingness to assist other users of linux is commendable.

Regards,

Ray
 
Old 09-14-2010, 02:55 PM   #14
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
??? wtf
"Our SA's are looking into rebuilding TCL without threading." ????
 
Old 09-14-2010, 03:23 PM   #15
RayAID
Member
 
Registered: Sep 2010
Posts: 30

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
??? wtf
"Our SA's are looking into rebuilding TCL without threading." ????

Yes...and so???
 
  


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 problem hlozo Fedora 6 06-06-2007 03:14 AM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
rpm problem katana *BSD 2 08-07-2002 06:17 AM
problem with rpm manthram Linux - Software 2 04-11-2002 10:03 PM
RPM Problem PeterC1 Linux - Newbie 0 09-13-2001 06:40 AM

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

All times are GMT -5. The time now is 11:58 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