Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
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)
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)
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
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.
......
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.