- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- how to tell libpng, that zlib is installed
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2007 07:50 PM
тАО04-18-2007 07:50 PM
# cd /usr/src
# tar jxvf zlib-1.2.3.tar.bz2
# cd /usr/src/zlib-1.2.3
# mkdir /usr/local/zlib
# make clean
# ./configure --prefix=/usr/local/zlib
# make
# make install
no prblm but when I tried to install libpng, libpng complains that zlib not found
# tar jxvf libpng-1.2.16.tar.bz2
# cd /usr/local/libpng-1.2.16
# ./configure --prefix=/usr/local/libpng
.
.
.
checking for pow in -lm... yes
checking for zlibVersion in -lz... no
configure: error: zlib not installed
./configure --prefix=/usr/local/libpng
Now help me .. how can I let libpng know, that zlib is installed
Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2007 07:58 PM
тАО04-18-2007 07:58 PM
Re: how to tell libpng, that zlib is installed
It might be that configure is falling over on the version of zlib that you're using rather than it not being installed...
What version of Linux are you using ?
Could you not grab binaries (RPMs) of the required libraries... they're fairly standard...
Hope this helps,
Regards,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2007 08:04 PM
тАО04-18-2007 08:04 PM
Re: how to tell libpng, that zlib is installed
>What version of Linux are you using ?
SUSE 10
>Could you not grab binaries (RPMs) of the required libraries... they're fairly
> standard...
I have zlib binary installed
# rpm -q zlib
zlib-1.2.3-15.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2007 08:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2007 08:10 PM
тАО04-18-2007 08:10 PM
Re: how to tell libpng, that zlib is installed
> # rpm -q zlib
> zlib-1.2.3-15.2
As you have the RPM installed you shouldn't have needed to reinstall it from source. That will probably get things confused.
Regards,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2007 09:54 PM
тАО04-18-2007 09:54 PM
Re: how to tell libpng, that zlib is installed
# ./configure
# make
# make install
i.e no arguments/parameters provide to "configure"
then successfully installed libpng ( http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1119589 )
Thanks Ivan Krastev for help.. yes it works too
./configure --prefix=/usr/local/libpng --libdir=/usr/local/zlib
Thanks Rob Leadbeater for help
>As you have the RPM installed you shouldn't have needed to reinstall it from >source. That will probably get things confused.
Yes on a different machine, that have zlib binary installed, without installing zlib from source... i tried to install libpng...a and success
Thanks All
Regards