LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-26-2017, 10:44 AM   #1
abk4523
Member
 
Registered: Jun 2004
Distribution: RH8/Fedora Core 4
Posts: 139

Rep: Reputation: 15
unable to install libjpeg


Specs:

Fedora 25
kernel:4.12.8-200.fc25.x86_64
gcc: gcc version 6.4.1 20170727 (Red Hat 6.4.1-1) (GCC)
libjpeg version: 6b

I'm trying to install libjpeg but having problems, see attached. I understand the library is old, last revision is 1998, but the mailing list shows activity as recently as 2016. I tried apt-get install but no files were available. I could try libjpeg-turbo, but it is proprietary and don't want to run into license issues if I write something useful. Any ideas with what I have?
Attached Files
File Type: txt output.txt (23.5 KB, 25 views)
 
Old 08-26-2017, 11:02 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by abk4523 View Post
Specs:

Fedora 25
kernel:4.12.8-200.fc25.x86_64
gcc: gcc version 6.4.1 20170727 (Red Hat 6.4.1-1) (GCC)
libjpeg version: 6b

I'm trying to install libjpeg but having problems, see attached. I understand the library is old, last revision is 1998, but the mailing list shows activity as recently as 2016. I tried apt-get install but no files were available. I could try libjpeg-turbo, but it is proprietary and don't want to run into license issues if I write something useful. Any ideas with what I have?
I doubt you used "apt-get" on Fedora, because it doesn't exist for Fedora. Fedora uses "yum", so did you try typing in "yum provides libjpeg"??? Compiling something like that from source isn't something either easy or suggested...you have to install a good many dependency libraries BEFORE you can compile.
 
Old 10-11-2017, 04:26 PM   #3
X-LFS-2010
Member
 
Registered: Apr 2016
Posts: 510

Rep: Reputation: 58
> Compiling something like that from source isn't something either easy or suggested

freeBSD has been "compiled from scratch" easily by any user since the 1980's. however it has pitfalls (lacks in other departments)

Linux from scratch allows it - I'm not sure LFS is prime time yet (it's not like freeBSD where you can boot from flash, run bins, and easily get and build exactly any src you want without a hitch). LFS would require "allot of reading and nursing and cut and paste from examples" last time I looked. (warning: if you change any options in any build to "add or remove something": all following builds are likely to fail. LFS and BSD work only if you use options others have pre-chosen)

for Fedora, which has benefits over the other two, I'd agree, if your trying to compile that your going up the wrong alley.

however: you use yum or I think rpm as well. you can get (or git) all the dependancies in order and do it. and as I said above: dependancies aren't "real". the whole thing depends on what options you choose: choose a different compile option you can get a whole new tree no one else has experienced before (which is fine if you want to resolve all the issues manually)

next question: why would you want to do all that?

what application are you trying to run that wasn't made to run in Fedora are you trying to get running ? perhaps your question can be better answered by Fedora users if you say why you'd want to do such a thing.

Last edited by X-LFS-2010; 10-11-2017 at 04:28 PM.
 
Old 10-11-2017, 04:30 PM   #4
X-LFS-2010
Member
 
Registered: Apr 2016
Posts: 510

Rep: Reputation: 58
answer #2

libjpeg is already installed

if you clobbered it, try removing the package with rpm (or the package that installed libjpeg) and re-install the package (the suggested one - not just any one of your choice!). use the binary of rpm don't try the source for rpm.
 
  


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 libjpeg conflicts with libjpeg-turbo jspence Red Hat 2 11-07-2016 06:46 AM
How to install and use several versions of libjpeg? alexbrui Slackware 3 05-25-2011 11:18 AM
libjpeg.so.62 tesseract4d Linux - Newbie 1 09-13-2010 08:47 AM
unable to install php5 - configure: error: libjpeg.(a|so) not found. vikram_cvk Linux - Software 6 11-01-2009 08:00 AM

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

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