LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-19-2005, 11:16 PM   #1
Lokathor
Member
 
Registered: Oct 2005
Location: Boise, ID
Distribution: Debian testing
Posts: 99

Rep: Reputation: 15
error: "cannot find libjpeg support"


http://hpinkjet.sourceforge.net/install.php#debian_env
Going over this setup for installing all the proper requirements to get HP printing working (because i can't seem to get cups to work on it's own), and I got to the step of installing HPLIP itself. This is what i got:

aopen25:/home/daniel/hpijs-2.1.4# ./configure --prefix=/usr
<several lines of things that are successfully detected>
checking for jpeg_set_defaults in -ljpeg... no
configure: error: "cannot find libjpeg support"

I installed libjpeg:

/usr/bin/install -c cjpeg /usr/local/bin/cjpeg
/usr/bin/install -c djpeg /usr/local/bin/djpeg
/usr/bin/install -c jpegtran /usr/local/bin/jpegtran
/usr/bin/install -c rdjpgcom /usr/local/bin/rdjpgcom
/usr/bin/install -c wrjpgcom /usr/local/bin/wrjpgcom
/usr/bin/install -c -m 644 ./cjpeg.1 /usr/local/man/man1/cjpeg.1
/usr/bin/install -c -m 644 ./djpeg.1 /usr/local/man/man1/djpeg.1
/usr/bin/install -c -m 644 ./jpegtran.1 /usr/local/man/man1/jpegtran.1
/usr/bin/install -c -m 644 ./rdjpgcom.1 /usr/local/man/man1/rdjpgcom.1
/usr/bin/install -c -m 644 ./wrjpgcom.1 /usr/local/man/man1/wrjpgcom.1

Tried it again and got the same message. Do I have to add some special arguments to the ./configure command or something?
 
Old 10-20-2005, 07:57 AM   #2
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
By default, debian does not look in /usr/local/lib for libraries. You have to add that. Here is how:

Edit /etc/ld.so.conf and add the following line to the bottom:

/usr/local/lib

Then, run the following command:

$ ldconfig

Whenever you add new libraries to /usr/local/lib, you will need to run this command.
 
Old 10-21-2005, 09:22 PM   #3
Lokathor
Member
 
Registered: Oct 2005
Location: Boise, ID
Distribution: Debian testing
Posts: 99

Original Poster
Rep: Reputation: 15
i read that, but apprently it looks for a variable ($ac_cv_lib_jpeg_jpeg_set_defaults) to test if the libs are there or not. It's not there, so the config script spits at me.

Any other solutions?
 
Old 11-04-2005, 06:12 PM   #4
philth
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian Sarge 2.6.8
Posts: 1

Rep: Reputation: 0
apt-get install libjpeg-devel
 
  


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
Shell Script: Find "Word" Run "Command" granatica Linux - Software 5 07-25-2007 07:42 AM
E17 compile error edje cannot find "brushed.png" inkysplat Linux - Software 1 01-06-2006 12:48 AM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM
UT demo error: "Can't find file for package 'SDLGLDrv'" r_jensen11 Linux - Software 2 04-13-2004 09:49 PM
Divx Ripping: "MP3 Support" in MPlayer error from AcidRip The_fuzzy_cow Linux - Software 6 12-16-2003 02:10 PM

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

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