LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-14-2005, 01:05 AM   #1
Enjo
LQ Newbie
 
Registered: Nov 2005
Location: Poland, Bytom
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
Question "libpng missing" on xvidcap compilation ( Slack 10.2 )


Hi all

I'm using Slackware 10.2
I have problem with LIBPNG. Whenever I try to complile a program that needs it I get errors of libpng missing, e.g. ./configure result of XVIDCAP:

Code:
checking for zlibVersion in -lz... yes 
checking for png_set_filter in -lpng... yes
as you can see lpng here is a go, but "make" outputs the following error:

Code:
gcc  -g -O2 -L/usr/X11/lib  -o simple  simple.o libXw.a -lpng -lz  -lXext -lXmu -lXt -lX11 
/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../libpng.so: undefined reference to `pow' 
collect2: ld returned 1 exit status
also, I tried compiling xmoto recently and here's the ./configure result:

Code:
checking for jpeg_CreateCompress in -ljpeg... yes 
checking for png_read_image in -lpng... no 
libpng required!
...
I have libpng installed, symbolic links created (although maybe not all that are necessary).
I've read here that I should do the following:

1) modify ./configure of libpng - current version of libpng doesn't come with a valid config file
2) install libpng-devel - done that and didn't help

Thank you for eventual replies
 
Old 11-15-2005, 10:31 AM   #2
whysyn
Member
 
Registered: Jun 2003
Location: Cleveburg, OH
Distribution: mostly Fedora
Posts: 154

Rep: Reputation: 30
Only suggestion I have is did you run "ldconfig" as root after installing/updating libraries?

Otherwise it's beyond me...

Last edited by whysyn; 11-15-2005 at 10:41 AM.
 
Old 11-15-2005, 12:13 PM   #3
Enjo
LQ Newbie
 
Registered: Nov 2005
Location: Poland, Bytom
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
heh, frankly - nope I didn't. I wasn't aware of this feature - I'm still new to this Game. Thanks for letting me know about it but I've just reinstalled devel, ldconfig'ed (all as root) and it didn't help

Last edited by Enjo; 11-15-2005 at 12:14 PM.
 
  


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
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
Xlib: extension "XFree86-DRI" missing on display ":0.0". fostiator Linux - Hardware 15 02-20-2005 07:13 AM
suse ati driver "Xlib: extension "XiG-SUNDRY-NONSTANDARD" missing" madcow007 Linux - Hardware 0 03-06-2004 02:53 PM
bash-2.05b# Xlib: extension "XFree86-DRI" missing on display ":0.0". citrus Linux - General 8 02-22-2004 10:43 AM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:25 AM.

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