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 SolarFlare's Solarcapture software on a machine with solarflare's NIC, to which i have SSHed.
For that i was following steps from its documentation.
There at a particular step, i am stuck, it asks me to do these steps-
"""
Install a binary RPM:
1 Install a binary RPM (example).
# rpm -ivh solar_capture-core-<version>.x86_64.rpm
2 To view all installed components and files:
# rpm -qlp solar_capture-core-<version>.x86_64.rpm
Build and install a source RPM:
1 Build a binary from the source RPM (example).
# rpmbuild --rebuild solar_capture-python-<version>.src.rpm
This will produce some output including a "Wrote......" line.
2 Install the binary file:
# rpm -ivh <copy the location from the wrote line in the previous step>.rpm
"""
Now, when i do the step 1 of installing binary RPM,
i get error of linking dependencies,
root@TEST:~/SLO/Prithvi/installsc# rpm -ivh solar_capture-core-1.6.4.8-0.x86_64.rpm
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
warning: solar_capture-core-1.6.4.8-0.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 14acf4d8: NOKEY
error: Failed dependencies:
/sbin/ldconfig is needed by solar_capture-core-1.6.4.8-0.x86_64
/bin/sh is needed by solar_capture-core-1.6.4.8-0.x86_64
ld-linux-x86-64.so.2()(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
libaio.so.1()(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
libaio.so.1(LIBAIO_0.1)(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
libaio.so.1(LIBAIO_0.4)(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
libc.so.6()(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
libc.so.6(GLIBC_2.3.2)(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
libc.so.6(GLIBC_2.3.4)(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
libc.so.6(GLIBC_2.4)(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
libc.so.6(GLIBC_2.7)(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
libc.so.6(GLIBC_2.8)(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
libdl.so.2()(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
libdl.so.2(GLIBC_2.2.5)(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
libm.so.6()(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
libm.so.6(GLIBC_2.2.5)(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
librt.so.1()(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
librt.so.1(GLIBC_2.2.5)(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64
libz.so.1()(64bit) is needed by solar_capture-core-1.6.4.8-0.x86_64,
now i have all these installed already.
For eg.
root@TEST:~/SLO/Prithvi/installsc# dpkg -l |grep libc6
ii libc6:amd64 2.27-3ubuntu1 amd64 GNU C Library: Shared libraries
ii libc6-dbg:amd64 2.27-3ubuntu1 amd64 GNU C Library: detached debugging symbols
ii libc6-dev:amd64 2.27-3ubuntu1 amd64 GNU C Library: Development Libraries and Header Files
that means i already have libc6 of version 2.27, and still my rpm fails to link it on its own, similarly all other dependies are installed already including /sbin/ldconfig and /bin/sh.
Now, as an alternative, if I use sudo alien -i rpmpackage.rpm to install this rpm, i am able to extract this package, but i get stuck in the next step of rpmbuild,
root@TEST:~/SLO/Prithvi/installsc# rpmbuild --rebuild solar_capture-python-1.6.4.8-0.src.rpm
Installing solar_capture-python-1.6.4.8-0.src.rpm
error: Failed build dependencies:
gcc is needed by solar_capture-python-1.6.4.8-0.x86_64
make is needed by solar_capture-python-1.6.4.8-0.x86_64
python-devel is needed by solar_capture-python-1.6.4.8-0.x86_64
solar_capture-core = 1.6.4.8-0 is needed by solar_capture-python-1.6.4.8-0.x86_64
, obvioulsy i have gcc and make installed in this system, i cant understand why rpm is unable to link this, can anyone suggest any way to solve this or is there any alien or other command to build this src.rpm without using rpm?
Also, i didnt get any solar_capture application after installing the binary RPM, was i supposed to get it?
root@TEST:~/SLO/Prithvi/installsc# solar_capture
solar_capture: command not found
I did get solar_capture library and headerfiles, but isnt there supposed to be some application for output to this such that i can use the commands as mentioned in the documentation,
Please help me and suggest me as what i can do with this, i need Solar Capture to detect packets sent by EF_VI sender, which cant be sniffed by tcpdump because EF_VI APIs bypass kernel and tcpdump dumps it from kernel.
Edited:
My OS is ubuntu 18.04, is rpm not meant to be run Ubuntu?
Also, i think libc6 version 2.27 is latest and comes far later than the version 2.8 required by the rpm file.
Last edited by prithveemishra; 05-28-2019 at 07:18 AM.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
I don't see you mention which Linux distribution you're using?
It looks like based on rpm complaining about not being able to find libc.so.6, that it requires CentOS/RHEL 7.
I think it's because you haven't got the correct versions of the libraries it's complaining about installed. Your system wouldn't be working full stop if you didn't have libc installed full stop.
I don't see you mention which Linux distribution you're using?
It looks like based on rpm complaining about not being able to find libc.so.6, that it requires CentOS/RHEL 7.
I think it's because you haven't got the correct versions of the libraries it's complaining about installed. Your system wouldn't be working full stop if you didn't have libc installed full stop.
Hi, i have edited my post and wrote the ubuntu version, please check it again. Thanks.
No, Ubuntu uses Debian software packages (.deb), not rpm software packages.
Have you tried searching Ubuntu's software repositories for this program? As that's your best bet.
Okay, this package also had .deb files to be installed in an ubuntu system, i followed that steps.
4. Install solar-capture-core:
dpkg -i solar-capture-core_<scver>-1_amd64.deb
5. Build and install solar-capture-python:
dpkg-source -x solar-capture-python_<scver>-1.dsc
cd solar-capture-python-<scver>
debuild -us -uc
cd ..
dpkg -i solar-capture-python_<scver>-1_amd64.deb
These steps worked, but i still havent got any solar_capture software installed, at best i only have headers and libraries assosicated with solar_capture.
And the command solar_capture is still not working.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
prithveemishra, while you're new here, and I can understand that it can be difficult to relay technical problems; please understand that the only information we have to go on, is the information you post here, we cannot see your machine, we cannot see what's on your screen, we do not know without you posting it what the details of your system are, or aren't.
While you have provided some information, please review the "LinuxQuestions.org FAQ (Welcome to LQ)" link in my posting signature below. I don't say this to be rude, as it will give you some ideas about what information we need, to best try and help you with your problem.
Please also answer the question I asked you before, which was: "Have you tried searching Ubuntu's software repositories for this program?". Please also provide any links where you see these "steps" you're following, so we can see them in their original detail. The reason I say this is because, if there IS a package for this program in Ubuntu's online software repositories, then you should be able to simply install it, then run the program - in that case, there should not be any need to build your own package.
Please also describe clearly what exactly you're trying to do.
prithveemishra, while you're new here, and I can understand that it can be difficult to relay technical problems; please understand that the only information we have to go on, is the information you post here, we cannot see your machine, we cannot see what's on your screen, we do not know without you posting it what the details of your system are, or aren't.
While you have provided some information, please review the "LinuxQuestions.org FAQ (Welcome to LQ)" link in my posting signature below. I don't say this to be rude, as it will give you some ideas about what information we need, to best try and help you with your problem.
Please also answer the question I asked you before, which was: "Have you tried searching Ubuntu's software repositories for this program?". Please also provide any links where you see these "steps" you're following, so we can see them in their original detail. The reason I say this is because, if there IS a package for this program in Ubuntu's online software repositories, then you should be able to simply install it, then run the program - in that case, there should not be any need to build your own package.
Please also describe clearly what exactly you're trying to do.
Hi, and I apologize for not being able to provide you with enough information earlier.
This is one of the documents available only for the software i am trying to install https://usermanual.wiki/Pdf/SolarCap....648367222.pdf
In that, i have been trying to follow the installation section.
And the readme.txt file in the zip file of this package contains the guide about .deb files that i have followed later.
Its contents are as follows:
Installing SolarCapture deb packages
====================================
The following notes give guidance on installing SolarCapture on a Ubuntu
system.
In these notes:
<scver> refers to the version of SolarCapture being installed,
e.g. 1.3.1.9
<aoever> refers to the version of AOE SolarCapture being installed,
e.g. 1.3.1.1180
<oover> refers to the version of OpenOnload being installed,
e.g. 201502
Prerequisites
-------------
Create a working local directory and cd into it.
The following packages must be installed before installing SolarCapture:
3. Program the AOE application and start the solar_aoed service:
/sbin/onload_tool reload
sfaoeupdate -y -w /etc/aoe/solarcapture.lst
update-rc.d solar_aoed defaults
service solar_aoed start
---------------------------------------
Since the AOE and Pro verisons are paid, i have only installed the SDK.
As for your question of checking ubuntu's respositories, i am still googling how to check it. I will reply about whether i found it, as soon as i know how to check it.
Okay, this package also had .deb files to be installed in an ubuntu system, i followed that steps.
4. Install solar-capture-core:
dpkg -i solar-capture-core_<scver>-1_amd64.deb
5. Build and install solar-capture-python:
dpkg-source -x solar-capture-python_<scver>-1.dsc
cd solar-capture-python-<scver>
debuild -us -uc
cd ..
dpkg -i solar-capture-python_<scver>-1_amd64.deb
These steps worked, but i still havent got any solar_capture software installed, at best i only have headers and libraries assosicated with solar_capture. And the command solar_capture is still not working.
Ok...so did you go through the Solarwinds documentation, or contact their support? There is an entire PDF on their website dealing with a complete installation scenario: https://support.solarflare.com/index...at=raw&id=1945
And is this a virtual machine? If so...solar capture most probably won't work at all. Again, see documentation/support.
Yes this is a virtual box vm, and why won't it work on VM?
And i did go through their documentation about Solar Capture software, they have multiple documentations about different APIs.
Also, i have written tickets to their support before posting here but still havent gotten any reply.
Edit:
Sorry, i am using a VM but the machine which i am trying to install isnt a VM, i am simply taking ssh to that machine.
Last edited by prithveemishra; 05-29-2019 at 07:01 AM.
Yes this is a virtual box vm, and why won't it work on VM? And i did go through their documentation about Solar Capture software, they have multiple documentations about different APIs.
Sorry, but if you DID go through the documentation, you'd know why. It's even mentioned several times in PDF link you were handed.
Quote:
Also, i have written tickets to their support before posting here but still havent gotten any reply.
Then either follow up with them, or open another ticket.
Yes this is a virtual box vm, and why won't it work on VM?
And i did go through their documentation about Solar Capture software, they have multiple documentations about different APIs.
Also, i have written tickets to their support before posting here but still havent gotten any reply.
I'm sorry, its not a VM, i am accessing a server from my VM, and trying to install it on that server. Because that server has Solar Flare's NICs installed in it.
Sorry, but if you DID go through the documentation, you'd know why. It's even mentioned several times in PDF link you were handed.
Then either follow up with them, or open another ticket.
The document you have linked is basically for installing the network adapter which i already have installed.
Its not about the software that i am trying to install.
The document you have linked is basically for installing the network adapter which i already have installed. Its not about the software that i am trying to install.
Not much I can help you with then, sorry; AGAIN, that document references solar capture and tells you about why things won't work in a VM well, if at all. Either read it or don't...that's up to you.
Not much I can help you with then, sorry; AGAIN, that document references solar capture and tells you about why things won't work in a VM well, if at all. Either read it or don't...that's up to you.
Thanks for linking that document, but as i said, the machine i am trying to install solar_capture onto, isnt a vm.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.