Alias: None
Product: Samba 3.2
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.2.5
Hardware: x86 Solaris
: P3 normal
Target Milestone: ---
Assignee: Björn Jacke
QA Contact: Samba QA Contact
Depends on:
Reported: 2008-12-01 15:38 UTC by Liz Frank
Modified: 2009-05-14 14:44 UTC (History)
0 users

See Also:

gzip'd config.log as requested (137.91 KB, text/plain)
2009-05-14 13:33 UTC, Liz Frank
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Liz Frank 2008-12-01 15:38:00 UTC
Trying to build samba3.2.5 as follows:

./configure --with-acl-support --with-ads=yes --with-ldap=yes --with-pam --enable-socket-wrapper --with-krb5=/opt/kerberos

make produces the following error:

libsmb/clikrb5.c:1605:2: #error UNKNOWN_KRB5_ENCTYPE_TO_STRING_FUNCTION
The following command failed:
gcc -I. -I/opt/samba/samba-3.2.5/source  -I/opt/kerberos/include -O -D_SAMBA_BUILD_=3  -I/opt/samba/samba-3.2.5/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -I/opt/kerberos/include -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -DLDAP_DEPRECATED -DSUNOS5   -I/include -I/opt/samba/samba-3.2.5/source/lib -D_SAMBA_BUILD_=3 -fPIC -c libsmb/clikrb5.c -o libsmb/clikrb5.o
Comment 1 Björn Jacke 2009-05-14 13:21:06 UTC
can you please attach your config.log which is created by configure ?
Comment 2 Liz Frank 2009-05-14 13:33:41 UTC
Created attachment 4158 [details]
gzip'd config.log as requested
Comment 3 Björn Jacke 2009-05-14 14:29:24 UTC
okay, you are using gcc but libgcc_s.so.1 doesn't seem to be in your library search path:

configure:62881: checking for krb5_error_code krb5_enctype_to_string(krb5_enctype enctype, char *str, size_t len)
configure:62925: gcc -o conftest -Werror -I/opt/kerberos/include  -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -DLDAP_DEPRECATED -L/opt/kerberos/lib -R/opt/kerberos/lib   -lthread -L./bin conftest.c -L/opt/kerberos/lib -R/opt/kerberos/lib  -L/opt/kerberos/lib -R/opt/kerberos/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lsocket -lnsl -lresolv   -lnsl -lsocket  >&5
configure:62928: $? = 0
configure:62934: ./conftest
ld.so.1: conftest: fatal: libgcc_s.so.1: open failed: No such file or directory
./configure: line 62935: 23707 Killed                  ./conftest$ac_exeext

Can you search for that library and set LD_LIBRARY_PATH="/path/to/where/libgcc_s.so.1/is/in"  and then run configure again?
Comment 4 Liz Frank 2009-05-14 14:44:31 UTC
The compile works libgcc_s.so.1 in LD_LIBRARY_PATH.  Thanks.