Bug 160877 - Missing rlm_ldap.so in FC4 RPM?
Missing rlm_ldap.so in FC4 RPM?
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: freeradius (Show other bugs)
4
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Thomas Woerner
:
: 163072 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-17 18:27 EDT by Jeffrey Haas
Modified: 2007-11-30 17:11 EST (History)
4 users (show)

See Also:
Fixed In Version: 1.0.4-1.FC4.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-07-31 09:38:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jeffrey Haas 2005-06-17 18:27:52 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
/usr/lib/rlm_ldap.so seems to be missing in the freeradius RPM included with Fedora core 4.  

Please pardon the bother if it has been moved to another package.  I searched but couldn't find it.

Version-Release number of selected component (if applicable):
freeradius 1.0.2-2

How reproducible:
Always

Steps to Reproduce:
1. rpm -qa freeradius | grep -i ldap
2. ls -l /usr/lib/rlm_ldap*
3.
  

Additional info:
Comment 1 Thibault LE MEUR 2005-06-29 12:43:00 EDT
I confirm that the rlm_ldap.so file is not present and nowhere to be found in 
the new FC4 packages. It seems that freeradius wasn't compiled with the ldap 
librairies.

As a workaround, you can copy an rlm_ldap.so file from a FC3 distribution 
to /usr/lib/rlm_ldap.so.

I'm waiting for an updated freeradius package or a new freeradius-ldap package.
Comment 2 Victoriano Giralt 2005-06-30 06:03:21 EDT
To add insult to injury, the .src.rpm package does not compile. The rpmbuild
process crashes big time with:
-----------------------------------
Making static dynamic in rlm_eap...
gmake[6]: Entering directory
`/usr/src/redhat/BUILD/freeradius-1.0.2/src/modules/rlm_eap'
gcc  -O2 -g -march=i386 -mcpu=i686 -fpic -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DOPENSSL_NO_KRB5   -Wall -D_GNU_SOURCE -DNDEBUG  -I../../include  -I./libeap -c
rlm_eap.c -o rlm_eap.o
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from rlm_eap.c:26:
rlm_eap.h:26:18: error: ltdl.h: No such file or directory
In file included from rlm_eap.c:26:
rlm_eap.h:36: error: syntax error before ‘lt_dlhandle’
rlm_eap.h:36: warning: no semicolon at end of struct or union
rlm_eap.h:39: error: syntax error before ‘}’ token
rlm_eap.h:39: warning: type defaults to ‘int’ in declaration of ‘EAP_TYPES’
rlm_eap.h:39: warning: data definition has no type or storage class
rlm_eap.h:51: error: syntax error before ‘EAP_TYPES’
rlm_eap.h:51: warning: no semicolon at end of struct or union
rlm_eap.h:66: error: syntax error before ‘}’ token
rlm_eap.h:66: warning: type defaults to ‘int’ in declaration of ‘rlm_eap_t’
rlm_eap.h:66: warning: data definition has no type or storage class
rlm_eap.h:70: error: syntax error before ‘*’ token
rlm_eap.h:71: error: syntax error before ‘*’ token
rlm_eap.h:72: error: syntax error before ‘*’ token
rlm_eap.h:75: error: syntax error before ‘*’ token
rlm_eap.h:79: error: syntax error before ‘*’ token
rlm_eap.h:89: error: syntax error before ‘*’ token
rlm_eap.h:90: error: syntax error before ‘*’ token
rlm_eap.h:91: error: syntax error before ‘*’ token
rlm_eap.c:33: error: syntax error before ‘rlm_eap_t’
rlm_eap.c:35: error: syntax error before ‘rlm_eap_t’
rlm_eap.c:37: error: syntax error before ‘rlm_eap_t’
rlm_eap.c:39: error: syntax error before ‘rlm_eap_t’
rlm_eap.c: In function ‘eap_detach’:
rlm_eap.c:55: error: ‘inst’ undeclared (first use in this function)
rlm_eap.c:55: error: (Each undeclared identifier is reported only once
rlm_eap.c:55: error: for each function it appears in.)
rlm_eap.c:55: error: invalid operands to binary *
rlm_eap.c:55: warning: statement with no effect
rlm_eap.c:58: error: syntax error before ‘)’ token
rlm_eap.c:63: error: ‘struct CONF_PARSER’ has no member named ‘types’
rlm_eap.c:63: error: used struct type value where scalar is required
rlm_eap.c:63: error: ‘struct CONF_PARSER’ has no member named ‘types’
rlm_eap.c:64: error: ‘struct CONF_PARSER’ has no member named ‘types’
rlm_eap.c:64: error: assignment of read-only location
rlm_eap.c:64: error: incompatible types in assignment
rlm_eap.c:64: warning: statement with no effect
rlm_eap.c:68: error: ‘struct CONF_PARSER’ has no member named ‘session_mutex’
rlm_eap.c:68: warning: passing argument 1 of ‘pthread_mutex_destroy’ from
incompatible pointer type
rlm_eap.c:69: error: ‘struct CONF_PARSER’ has no member named ‘module_mutex’
rlm_eap.c:69: warning: passing argument 1 of ‘pthread_mutex_destroy’ from
incompatible pointer type
rlm_eap.c:72: error: ‘struct CONF_PARSER’ has no member named
‘default_eap_type_name’
rlm_eap.c:72: error: ‘struct CONF_PARSER’ has no member named
‘default_eap_type_name’
rlm_eap.c:72: warning: passing argument 1 of ‘free’ discards qualifiers from
pointer target type
rlm_eap.c:73: warning: passing argument 1 of ‘free’ discards qualifiers from
pointer target type
rlm_eap.c: In function ‘eap_instantiate’:
rlm_eap.c:87: error: ‘inst’ undeclared (first use in this function)
rlm_eap.c:87: error: invalid operands to binary *
rlm_eap.c:87: warning: statement with no effect
rlm_eap.c:89: error: syntax error before ‘)’ token
rlm_eap.c:93: warning: passing argument 1 of ‘memset’ discards qualifiers from
pointer target type
rlm_eap.c:94: warning: passing argument 2 of ‘cf_section_parse’ discards
qualifiers from pointer target type
rlm_eap.c:95: warning: passing argument 1 of ‘eap_detach’ discards qualifiers
from pointer target type
rlm_eap.c:115: warning: passing argument 1 of ‘eap_detach’ discards qualifiers
from pointer target type
rlm_eap.c:125: error: ‘struct CONF_PARSER’ has no member named ‘types’
rlm_eap.c:125: error: invalid operands to binary ==
rlm_eap.c:134: error: ‘struct CONF_PARSER’ has no member named ‘types’
rlm_eap.c:135: warning: passing argument 1 of ‘eap_detach’ discards qualifiers
from pointer target type
rlm_eap.c:144: warning: passing argument 1 of ‘eap_detach’ discards qualifiers
from pointer target type
rlm_eap.c:151: error: ‘struct CONF_PARSER’ has no member named
‘default_eap_type_name’
rlm_eap.c:151: warning: passing argument 1 of ‘eaptype_name2type’ from
incompatible pointer type
rlm_eap.c:154: error: ‘struct CONF_PARSER’ has no member named
‘default_eap_type_name’
rlm_eap.c:154: warning: format ‘%s’ expects type ‘char *’, but argument 3 has
type ‘const struct CONF_PARSER *’
rlm_eap.c:155: warning: passing argument 1 of ‘eap_detach’ discards qualifiers
from pointer target type
rlm_eap.c:159: error: ‘struct CONF_PARSER’ has no member named ‘types’
rlm_eap.c:159: error: invalid operands to binary ==
rlm_eap.c:161: error: ‘struct CONF_PARSER’ has no member named
‘default_eap_type_name’
rlm_eap.c:161: warning: format ‘%s’ expects type ‘char *’, but argument 3 has
type ‘const struct CONF_PARSER *’
rlm_eap.c:162: warning: passing argument 1 of ‘eap_detach’ discards qualifiers
from pointer target type
rlm_eap.c:165: error: ‘struct CONF_PARSER’ has no member named ‘default_eap_type’
rlm_eap.c:165: warning: statement with no effect
rlm_eap.c:176: error: ‘struct CONF_PARSER’ has no member named ‘session_mutex’
rlm_eap.c:176: warning: passing argument 1 of ‘pthread_mutex_init’ from
incompatible pointer type
rlm_eap.c:177: error: ‘struct CONF_PARSER’ has no member named ‘module_mutex’
rlm_eap.c:177: warning: passing argument 1 of ‘pthread_mutex_init’ from
incompatible pointer type
rlm_eap.c:180: warning: statement with no effect
rlm_eap.c: In function ‘eap_authenticate’:
rlm_eap.c:199: error: ‘inst’ undeclared (first use in this function)
rlm_eap.c:199: error: invalid operands to binary *
rlm_eap.c:199: warning: statement with no effect
rlm_eap.c:207: error: syntax error before ‘)’ token
rlm_eap.c:262: error: ‘struct CONF_PARSER’ has no member named ‘module_mutex’
rlm_eap.c:262: warning: passing argument 1 of ‘pthread_mutex_lock’ from
incompatible pointer type
rlm_eap.c:274: error: ‘struct CONF_PARSER’ has no member named ‘module_mutex’
rlm_eap.c:274: warning: passing argument 1 of ‘pthread_mutex_unlock’ from
incompatible pointer type
rlm_eap.c:299: warning: passing argument 2 of ‘request_data_add’ discards
qualifiers from pointer target type
rlm_eap.c:322: warning: passing argument 2 of ‘request_data_add’ discards
qualifiers from pointer target type
rlm_eap.c:402: warning: pointer targets in passing argument 2 of ‘pairmake’
differ in signedness
rlm_eap.c:411: error: ‘struct CONF_PARSER’ has no member named
‘cisco_accounting_username_bug’rlm_eap.c: In function ‘eap_authorize’:
rlm_eap.c:428: error: ‘inst’ undeclared (first use in this function)
rlm_eap.c:428: error: invalid operands to binary *
rlm_eap.c:428: warning: statement with no effect
rlm_eap.c:432: error: syntax error before ‘)’ token
rlm_eap.c: In function ‘eap_post_proxy’:
rlm_eap.c:560: warning: pointer targets in passing argument 2 of ‘pairmake’
differ in signedness
rlm_eap.c:593: warning: pointer targets in passing argument 1 of ‘strncasecmp’
differ in signedness
rlm_eap.c:618: warning: pointer targets in passing argument 4 of
‘rad_tunnel_pwdecode’ differ in signedness
rlm_eap.c:629: warning: pointer targets in passing argument 1 of
‘rad_tunnel_pwencode’ differ in signedness
rlm_eap.c:629: warning: pointer targets in passing argument 4 of
‘rad_tunnel_pwencode’ differ in signedness
gmake[6]: *** [rlm_eap.o] Error 1
gmake[6]: Leaving directory
`/usr/src/redhat/BUILD/freeradius-1.0.2/src/modules/rlm_eap'
gmake[5]: *** [common] Error 1
gmake[5]: Leaving directory `/usr/src/redhat/BUILD/freeradius-1.0.2/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/usr/src/redhat/BUILD/freeradius-1.0.2/src/modules'
gmake[3]: *** [common] Error 1
gmake[3]: Leaving directory `/usr/src/redhat/BUILD/freeradius-1.0.2/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/src/redhat/BUILD/freeradius-1.0.2/src'
gmake[1]: *** [common] Error 1
gmake[1]: Leaving directory `/usr/src/redhat/BUILD/freeradius-1.0.2'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.78631 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.78631 (%build)
----------------------------------

This also happens when we try to compile from sources and trying to compile a
.src.rpm known to compile perfectly on FC3. Even, the .src.rpm from the Fedora
Core 4 SRPMS tree compiles nicelly on an FC3. This makes me think that the
.src.rpm does not correspond to the .i386.rpm on the sources tree.
Comment 3 Thomas Woerner 2005-07-19 09:00:33 EDT
*** Bug 163072 has been marked as a duplicate of this bug. ***
Comment 4 Gerwin Krist 2005-07-31 09:36:13 EDT
It's included in the 1.0.4 version.

Note You need to log in before you can comment on or make changes to this bug.