LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 01-04-2020, 05:00 AM   #1
Hussein2010
LQ Newbie
 
Registered: Jan 2020
Posts: 1

Rep: Reputation: Disabled
Post Install application on Centos 7


Hi, I'm trying to install an tar.bz2 on Centos 7, first I installed Development tools, then I extracted the application using tar -xjvf tarballname.tar.bz2, now I have two files one filename without extension and the other is filename.debug, I could not access both and ./configure is not possible. i tried ./filename it gives "error while loading shared libraries: libpng12.so.0:cannot open shared object file: No such file or directory" and I tried the second file ./filename.debug and it gave me "cannot execute binary file".

I could not also use ./configure because it is not found in the directory.

Please help guys and note that I'm a beginner.
 
Old 01-04-2020, 06:25 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Are you sure this tarball contains software to be built and installed? Where did you get it from, and what is is named?

filename is executable, but it requires a shared library you don't have on your system. You can try to install it:
Code:
# yum whatprovides libpng12.so.0
....
libpng12-1.2.50-10.el7.x86_64 : Old version of libpng, needed to run old binaries
Repo        : base
Matched from:
Filename    : /usr/lib64/libpng12.so.0
# yum install libpng12
then try again.

yum whatprovides finds the packages that provides a certain file. yum install installs it.
 
1 members found this post helpful.
Old 01-04-2020, 07:25 AM   #3
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
OP: have you tried to see if the software is in the CentOS repositories? That way you can just run
Code:
yum install <name of software>
. Linux isn't Windows where you have to go out and download everything you want to install manually.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Install application on Linux Centos rewards Linux - Newbie 10 03-31-2020 04:00 PM
LXer: How to Install Mailtrain Newsletter Application on CentOS 7 LXer Syndicated Linux News 0 10-11-2017 05:12 AM
Repackaging a centos install, it boots, but can't find centos to install. dydrum Linux - Newbie 1 04-12-2017 03:12 PM
[SOLVED] NFS on CentOS 6 can talk to Centos 5 but not Centos 6 clients deathsfriend99 Linux - Server 2 11-08-2013 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 05:29 PM.

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