Thanks Jason,

I actually have attempted to use the SRPMs first for these packages but 
ran into the aforementioned issues which led me to trying the RPMs. For 
instance when I attempt to build authd I get the following:

> $ rpmbuild -ba /usr/src/redhat/SPECS/authd.spec
> <snip>
> creating config/authd
> creating config.h
> + make 'RPM_OPT_FLAGS=-O2 -g'
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I.    -O2 -Wall -D_REENTRANT -g -c auth.c
> auth.c:31:23: error: e/e_error.h: No such file or directory
> auth.c:32:19: error: e/net.h: No such file or directory
> auth.c: In function ‘auth_get_signature’:
> auth.c:49: error: ‘UNIX_PATH_MAX’ undeclared (first use in this function)
> auth.c:49: error: (Each undeclared identifier is reported only once
> auth.c:49: error: for each function it appears in.)
> auth.c:52: warning: implicit declaration of function 
> ‘net_cli_unixsock_create’
> auth.c:53: error: ‘E_OK’ undeclared (first use in this function)
> auth.c:55: warning: implicit declaration of function ‘net_send_bytes’
> auth.c:59: warning: implicit declaration of function ‘net_recv_bytes’
> auth.c:49: warning: unused variable ‘auth_sock_path’
> make: *** [auth.o] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.53286 (%build)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.53286 (%build)

Again, thanks for the help and any guidance on this.

-Joe



Jason A. Smith wrote:
> Hi Joe,
>
> I am not exactly sure what started you on these dependency problems, but
> whenever you have problems like this from binary rpms that someone else
> built on an unknown OS, it is probably best to find the source rpm and
> rebuild it on your local system.  Then, if you have all of the build
> dependencies and it compiles okay, you should have no problems
> installing the binary rpm that you built.
>
> The RHEL4 server I checked has two versions of openssl installed,
> probably the current one at the time RHEL4 was released, and an older
> version for backwards compatibility with older applications:
>
> # ls -l /lib/libcrypto.so.*
> -rwxr-xr-x  1 root root 824272 Sep 28  2006 /lib/libcrypto.so.0.9.6b
> -rwxr-xr-x  1 root root 945120 Oct 22  2007 /lib/libcrypto.so.0.9.7a
> lrwxrwxrwx  1 root root     19 Oct 23  2007 /lib/libcrypto.so.2 -> 
> libcrypto.so.0.9.6b
> lrwxrwxrwx  1 root root     19 Oct 23  2007 /lib/libcrypto.so.4 -> 
> libcrypto.so.0.9.7a
>
> # rpm -qf /lib/libcrypto.so.0.9.7a /lib/libcrypto.so.0.9.6b
> openssl-0.9.7a-43.17.el4_6.1.i686
> openssl096b-0.9.6b-22.46.i386
>
>
> ~Jason
>
>
> On Wed, 2008-05-28 at 17:05 -0500, Joe Williams wrote:
>   
>> Thanks Jason, I am certainly seeing the same thing on a centos5 machine. 
>> I attempted to symlink the current libraries into libcrypto.so.2 and 
>> libssl.so.2 but that didn't seem to work. For that matter I checked a 
>> centos4 machine and it seems to use libcrypto.so.4 and I do not get the 
>> same result as your first example. Is there a solution that most ganglia 
>> and RHEL5 users use to ameliorate this issue?
>>
>> thanks.
>> -Joe
>>
>>
>> Jason A. Smith wrote:
>>     
>>> If you have the rpmdb-redhat package installed, then you can query rpm
>>> to see what package RedHat distributes which provides the requested
>>> capability, even if the package is not installed.  For example, on a
>>> RHEL4 server, I get:
>>>
>>> $ rpm --redhatprovides libcrypto.so.2 libssl.so.2
>>> openssl096b-0.9.6b-22.46.i386
>>> openssl096b-0.9.6b-22.46.i386
>>>
>>> You can do the same rpm command on RHEL5:
>>>
>>> $ rpm --redhatprovides libcrypto.so.2 libssl.so.2
>>> no package provides libcrypto.so.2
>>> no package provides libssl.so.2
>>>
>>> Or you can use yum:
>>>
>>> $ yum whatprovides libcrypto.so.2 libssl.so.2 
>>> No Matches found
>>>
>>> But it doesn't look like RHEL5 provides that old version of openssl.
>>>
>>> ~Jason
>>>
>>>
>>> On Wed, 2008-05-28 at 14:52 -0500, Joe Williams wrote:
>>>   
>>>       
>>>> I am seeing the following issue with authd:
>>>>
>>>>     
>>>>         
>>>>> [EMAIL PROTECTED] ganglia]# rpm -qa | grep openssl
>>>>> openssl-devel-0.9.8b-8.3.el5_0.2
>>>>> openssl-0.9.8b-8.3.el5_0.2
>>>>> openssl-devel-0.9.8b-8.3.el5_0.2
>>>>> openssl-0.9.8b-8.3.el5_0.2
>>>>> [EMAIL PROTECTED] ganglia]# rpm -ivh authd-0.2.1-1.i386.rpm
>>>>> error: Failed dependencies:
>>>>>     libcrypto.so.2 is needed by authd-0.2.1-1.i386
>>>>>     libssl.so.2 is needed by authd-0.2.1-1.i386
>>>>>       
>>>>>           
>>>> What libraries need to be installed for this installation?
>>>>
>>>> thanks.
>>>> -Joe
>>>>
>>>>
>>>>
>>>>     
>>>>         

-- 
Name: Joseph A. Williams
Email: [EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to