Re: Which RH80. Package Contains libbz2?



On Sat May 3 2003 10:39, John J. Boyer wrote:
>Chas,
>
>On Sat, 3 May 2003, Chas Owens wrote:
>> Most likely you have libbz2 installed (it is required for
>> bzip2), but most
>
>distributions seperate the library (needed for applications to
> work) and the header files (need to compile programs).  The
> naming convention seems to be
>
>I have libbz2.so but not libbz2.h. When I follow your instructions
> below I can find out which rpm contains libbz2, but I can't gert
> the rpm command to put in libbz2.h, nor can I find the rpm on the
> install disks, although maybe I'm not searching for the right
> thing there.

Its probably on disk 2, where the *-devel stuffs are.  Yup, disk 2, 
as bzip2-devel-1.0.2-5.i386.rpm

>Thnaks,
>John
>
> > library:
>
><library>-<version>-<packagevers>.rpm
>
>> includes: <library>-devel-<version>-<packagevers>.rpm
>>
>> You can also find what rpm a particuler file belongs to using
>> the rpm command
>>
>>
>> [cowens Ophidia]$ slocate libbz2
>> /usr/lib/libbz2.so.1
>> /usr/lib/libbz2.so.1.0.0
>> [cowens Ophidia]$ rpm -q --whatprovides /usr/lib/libbz2.so.1
>> libbzip2_1-1.0.2-13mdk
>>
>> So the rpm for the include files would be
>>
>> libbzip2_1-devel-1.0.2-13mdk.rpm
>>
>> Of course this is for a Mandrake 9.1 box not a RedHat 8.0, but
>> you can repeat the steps above to find out which rpm provides
>> the library for you.
>
>--
>Computers to Help People, Inc.
>http://www.chpi.org
>825 East Johnson; Madison, WI 53703

-- 
Cheers, Gene
AMD K6-III 500mhz 320M
Athlon1600XP 1400mhz  512M
99.26% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]