Operating System - HP-UX
1753969 Members
7151 Online
108811 Solutions
New Discussion юеВ

where did libsparse.a go?

 
SOLVED
Go to solution

where did libsparse.a go?

I am trying to compile an application that links to libsparse.a which at one point was included with the MLIB. My current MLIB 8.5 does not have this (HP-UX B.11.11 pa2.0 ). Where can I find this?

Thanks,

Joe
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: where did libsparse.a go?

use find -name to see if its on your system.

If its there, make sure that directory is on the SHLIB_PATH and then try again.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: where did libsparse.a go?

I've used find to look over the system pretty carefully and it isn't there. MLIB B.06.01 had it. See e.g. patch PHSS_18937 file list

http://www1.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|patch.breadcrumb.patchDetail{PHSS_18938,hpux:800:10:20}|patch.breadcrumb.patchDetail{PHSS_18937,hpux:800:11:00}|&patchid=PHSS_18937&context=hpux:800:11:00

Can I install this patch and have both MLIB versions? Or is there a current version somewhere?

Thanks,

Joe
Geoff Wild
Honored Contributor

Re: where did libsparse.a go?

Maybe try compiling from scratch?

http://www.netlib.org/sparse/

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.

Re: where did libsparse.a go?

I may have to compile the netlib source, but it is rather messed up. The file name case does not match the make file, and after changing the file names to match those in the makefile some of the includes ref. all lower case. I was hoping that HP had a nice optimized library somewhere like they used too.

Joe
Zygmunt Krawczyk
Honored Contributor
Solution

Re: where did libsparse.a go?

Hi Joe,

current version of MLIB does not include libsparse.a. If you want to use libsparse.a you may download patch PHSS_18937 and do the following:

sh PHSS_18937
tar xf PHSS_18937.depot
cp PHSS_18937/MLIB/opt/mlib/pa2.0/libsparse.a dest_directory

Then you may link the library into your code.

Regards,
Zygmunt

Re: where did libsparse.a go?

Thanks Zygmunt,

At first I couldn't find the patch since I was searching for an 11.11 patch and this is an 11.00 patch. I assume it should work fine under 11.11

s700_800 11.00 MLIB B.06.01 Cumulative Patch (PHSS_18937)

I saved the whole library in my mlib path as follows:
mv PHSS_18937/MLIB/opt/mlib /opt/mlib/mlib11.00

Thanks again,

Joe


Sep 27, 2004 20:25:02 GMT 10 points for answer:
Hi Joe,

current version of MLIB does not include libsparse.a. If you want to use libsparse.a you may download patch PHSS_18937 and do the following:

sh PHSS_18937
tar xf PHSS_18937.depot
cp PHSS_18937/MLIB/opt/mlib/pa2.0/libsparse.a dest_directory

Then you may link the library into your code.

Regards,
Zygmunt