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.
But every time I try to install the RPM file, the error
Failed dependencies libssl.so.6 is needed by elog comes up.
Any ideas on how i can fix this please, i am running suse enterprise 11 server
You don't say how you're trying to install it. Try running "zypper install /path/to/packagename", which will resolve your dependencies for you, install/update whatever packages it needs to, and install that package. If you're still having problems after that, contacting SuSE support would be a good idea, since you're using a pay-for version of Linux, which entitles you to that support.
I tried the first step from TB0ne, the software installed, but could not launch the daemon to start the service.
When i tried to run the daemon service, the following error occured:
elogd
elogd: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory
Trying the other solution from had the errors below:
SUSE:~ # rpm -Uvh elog-2.9.2-1.src.rpm
1:elog ########################################### [100%]
warning: user ritt does not exist - using root
warning: group lke does not exist - using root
SUSE:~ # rpmbuild -bb elog.spec
error: failed to stat /root/elog.spec: No such file or directory
SUSE:~ #
I tried the first step from TB0ne, the software installed, but could not launch the daemon to start the service.
When i tried to run the daemon service, the following error occured:
elogd
elogd: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory
Trying the other solution from had the errors below:
SUSE:~ # rpm -Uvh elog-2.9.2-1.src.rpm
1:elog ########################################### [100%]
warning: user ritt does not exist - using root
warning: group lke does not exist - using root
SUSE:~ # rpmbuild -bb elog.spec
error: failed to stat /root/elog.spec: No such file or directory
SUSE:~ #
Any advice is ,much appreciated.
Thanks.
if it helps, below is the command from the first solution i tried.
Problem: nothing provides libssl.so.6 needed by elog-2.9.2-1.i386
Solution 1: do not ask to install a solvable providing elog = 0:2.9.2-1
Solution 2: break elog by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c):
Problem: nothing provides libssl.so.6 needed by elog-2.9.2-1.i386
Solution 1: do not ask to install a solvable providing elog = 0:2.9.2-1
Solution 2: break elog by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c):
Right...so when you first ran zypper, you must have chosen solution 2, which installs the package and ignores the missing dependency. Like knudfl said, you're missing the openssl development libraries. As suggested before, did you call SuSE support, since you're using a pay for version of Linux??? That entitles you to support.
Go back and re-read the instructions that knudfl gave you, about how to get/install the openssl package, and follow them.
Right...so when you first ran zypper, you must have chosen solution 2, which installs the package and ignores the missing dependency. Like knudfl said, you're missing the openssl development libraries. As suggested before, did you call SuSE support, since you're using a pay for version of Linux??? That entitles you to support.
Go back and re-read the instructions that knudfl gave you, about how to get/install the openssl package, and follow them.
Thanks for your reply, yes i did, sorry. I am not a linux admin, so do not have much awareness of this.
I take it that libopenssl-devel is part of OpenSSL, and is specific to each vendor.
I will try to locate one for suse and follow the instructions again. The instructions you sent, installed the dependencies, as it downloaded 6mb worth of data before installing the package, not sure why that did not work. (maybe a silly question, I am trying to understand).
Thanks for your reply, yes i did, sorry. I am not a linux admin, so do not have much awareness of this.
I take it that libopenssl-devel is part of OpenSSL, and is specific to each vendor.
I will try to locate one for suse and follow the instructions again. The instructions you sent, installed the dependencies, as it downloaded 6mb worth of data before installing the package, not sure why that did not work. (maybe a silly question, I am trying to understand).
Thanks
With # zypper in libopenssl-devel
How do i put zypper in libopenssl-devel? before progressing with the steps mentioned?
commands from knudfl, is this because of the openssl not being installed?
SUSE:~ # rpm -Uvh elog-2.9.2-1.src.rpm
1:elog ########################################### [100%]
warning: user ritt does not exist - using root
warning: group lke does not exist - using root
rpmbuild -bb elog.spec
error: failed to stat /root/elog.spec: No such file or directory
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
#9.
? ? Why # rpm -Uvh elog-2.9.2-1.src.rpm
when post #3 says $ rpm -Uvh elog-2.9.2-1.src.rpm
I.e. you are supposed to unpack to /home/name/rpm**/ ;
.. and : $ cd /home/name/rpm**/SPEC/ && rpmbuild -bb elog.spec
EDIT : Doesn't seem to work on Suse.
No elog source rpm is unpacked to /home/*/rpm*
But : You actually don't need to build elog.
As is takes 50 seconds, I already did build packages :
64bits : elog-2.9.2-1.SLE11.x86_64.rpm
32bits : elog-2.9.2-1.SLE11.i586.rpm
.. And I will supply a download link, when your architecure is known.
This command will tell : $ uname -m <Enter>
How do i put zypper in libopenssl-devel? before progressing with the steps mentioned?
zypper IS THE suse package manager
it IS the program you ARE supposed to be using and NOT rpm ( except in some circumstances )
you type it into the terminal
the "in" command for zypper is the "INSTALL" command
? ? Why # rpm -Uvh elog-2.9.2-1.src.rpm
when post #3 says $ rpm -Uvh elog-2.9.2-1.src.rpm
I.e. you are supposed to unpack to /home/name/rpm**/ ;
.. and : $ cd /home/name/rpm**/SPEC/ && rpmbuild -bb elog.spec
But : You actually don't need to build elog.
As is takes 50 seconds, I already did build packages :
64bits : elog-2.9.2-1.SLE11.x86_64.rpm
32bits : elog-2.9.2-1.SLE11.i586.rpm
.. And I will supply a download link, when your architecure is known.
This command will tell : $ uname -m <Enter>
-
Hi,
The uname -m returned the following:
SUSE:~ # uname -m
i686
When I ran rpm -Uvh elog-2.9.2-1.src.rpm, the below output is displayed, from here I am not sure where to go in order to re-buold the rpm. Apologies, I am a total newbie to Linux.
rpm -Uvh elog-2.9.2-1.src.rpm
1:elog ########################################### [100%]
warning: user ritt does not exist - using root
warning: group lke does not exist - using root
I forgot to also mention, that this is contained in a VM.
zypper IS THE suse package manager
it IS the program you ARE supposed to be using and NOT rpm ( except in some circumstances )
you type it into the terminal
the "in" command for zypper is the "INSTALL" command
Hi John,
If zypper is the preferred method for install, then I have done the below:
Problem: nothing provides libssl.so.6 needed by elog-2.9.2-1.i386
Solution 1: do not ask to install a solvable providing elog = 0:2.9.2-1
Solution 2: break elog by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c): 1
Resolving dependencies...
Resolving package dependencies...
Nothing to do.
SUSE:~ # zypper in elog-2.9.2-1.i386.rpm
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: nothing provides libssl.so.6 needed by elog-2.9.2-1.i386
Solution 1: do not ask to install a solvable providing elog = 0:2.9.2-1
Solution 2: break elog by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c): 1
Resolving dependencies...
Resolving package dependencies...
Nothing to do.
Not sure what this is exactly done, but I choose option 1 for both.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
About "unpacking a source src" :
The $ 'rpm -Uvh elog-2.9.2-1.src.rpm' doesn't seem to work on Suse.
( Unless you set up the "rpm build environment in $HOME" :
#13 http://www.linuxquestions.org/questi...1-a-766486/#13 )
But : You did unpack the source package to /usr/src/packages/SPEC/, etc.
.. with # rpm -Uvh elog-2.9.2-1.src.rpm
suse dose not use the desktop ( some kde "activities" will not even let you)
It uses the ~/Downloads folder in the home folder
BUT " suse enterprise 11 server"
normally there will not be a normal user home folder on a server , there might ....
but gnome or kde are not likely to be installed
and without a gui there likely will not be a Downloads folder in the /root folder
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.