- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Compiling CUPS
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
тАО09-21-2005 02:45 AM
тАО09-21-2005 02:45 AM
Compiling CUPS
I am trying to install CUPS (www.easysw.com) on HP-UX 11.11
I have installed the libraries required, that are:
libpng-1.2.8
tiff-v3.4
zlib-1.1.3
jpeg-6b
and the version of CUPS to be compiled is 1.1.23.
The "configure" command seems to recognize all of the libraries, but when I try to "make" I obtain the error:
Making all in filter...
Linking libcupsimage.sl.2...
ld: Can't find library: "png"
*** Error exit code 1
Stop.
The lib files are in the same place as of the other libraries, i.e. /usr/local
I've tried to compile with "libpng" instead of "png" in the ld options, but with no effect.
Can anybody please help me ?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 03:39 AM
тАО09-21-2005 03:39 AM
Re: Compiling CUPS
just for an hint I would suggest you to try with CUPS version 1.0.2 indicated in the porting of HP-UX:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/cups-1.0.2/
Of course the download points to the same site where you obtained 1.1.23. Anyway it seems to be already compiled only for 11.00 and 10.20, just the source for 11.11.
However it just is a thought to try that version, I never tried it.
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 05:56 PM
тАО09-21-2005 05:56 PM
Re: Compiling CUPS
Or edit configure script to add path to libpng.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 06:50 PM
тАО09-21-2005 06:50 PM
Re: Compiling CUPS
Give the full path of libpng library in LDFLAGS or LIBS:
export LDFLAGS="/usr/loca/lib/libpng.sl"
or
export LIBS="/usr/loca/lib/libpng.sl"
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 08:22 PM
тАО09-21-2005 08:22 PM
Re: Compiling CUPS
Just a brief follow-up:
Having the env variables:
LDFLAGS=/usr/local/lib/libpng.sl
LD_LIBPATH=/usr/local/lib/
(one or both set, including the file name or not - and libpng.sl IS there)
I am continuing to obtain:
Linking libcupsimage.sl.2...
ld: Can't find library: "png"
Trying also to change the linker options in the libcupsimage.sl.2's makefile, adding the /usr/local/lib path, does not work.
I don't know what to try next ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 08:39 PM
тАО09-21-2005 08:39 PM
Re: Compiling CUPS
Eventhough it is for 11.00, it will work on 11.11 without any problem. Anyways, Try editing your Makefile and add -L/usr/local/lib/libpng.sl where you find "png". Just give a try and let us know.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2005 09:04 PM
тАО09-21-2005 09:04 PM
Re: Compiling CUPS
ld: Can't find library: "png"
>>
Where is the libcupsimage.sl.2 available? Just create a file there in that location and symbolically to the /usr/local/lib/ file.
what r u getting now?
There is a platform support of products from 11.0 to 11.11 too. Try to install it before doing the LD action.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2005 01:07 AM
тАО09-22-2005 01:07 AM
Re: Compiling CUPS
- copy all libpng* files to the directory where the sources are
- add the -L/usr/local/lib directive
But the error continues:
Linking libcupsimage.sl.2...
ld: Can't find library: "png"
libcupsimage.sl.2 should be created by the linker ld, it is not in the program's dir(s)
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2005 01:12 AM
тАО09-22-2005 01:12 AM
Re: Compiling CUPS
What are libpng files u copied?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2005 01:24 AM
тАО09-22-2005 01:24 AM
Re: Compiling CUPS
(from hpux.connect.org.uk)
The CUPS documentation reports that libpng should be 1.0.6 or greater