build problem

Douglas E. Engert deengert at anl.gov
Wed Aug 29 15:23:48 EDT 2012



On 8/29/2012 12:59 PM, Nitin Thakur wrote:
>
> Hi All
>
> I am trying to make krb5-1.10.3 on sparc Solaris 10. I keep getting this error. Any clue what needs to be done here?
>
> Undefined                       first referenced
>   symbol                             in file
> libintl_bindtextdomain              ../../../lib/libkrb5.so
> libintl_dgettext                    ../../../lib/libgssapi_krb5.so
> ld: fatal: symbol referencing errors. No output written to client
> collect2: ld returned 1 exit status
> .
> .

I note that on Solaris 10, with 1.10.1 and 1.10.3 that in the shared
versions of libkrb5.so these are undefined. That has not stopped version
1.10.1 from running.

"man libintl"  says:
      This library is maintained to provide backward compatibility
      for  both  runtime  and compilation environments. The shared
      object is implemented as a filter on libc.so.1. New applica-
      tion development need not specify -lintl.

Are you building static? I have also always added -lrt and -enable-shared.

Adding -lintl, compiling and running ldd libkrb5.so now shows /lib/libintl.so

> .

> .
> .
> .
> The following command caused the error:
> case "`echo 'x'|sed -e 's/^x//' -e 's/ --.*$//'`" \
>          in *[ik]*) e="status=1" ;; *) e="exit 1";; esac; \
> do_subdirs="util include lib   plugins/kadm5_hook/test  plugins/kdb/db2   plugins/preauth/pkinit  kdc kadmin slave clients appl tests  config-files gen-manpages po"
> ; \
> status=0; \
> if test -n "$do_subdirs" && test -z ""; then \
> for i in $do_subdirs ; do \
>          if test -d $i && test -r $i/Makefile ; then \
>          case $i in .);; *) \
>                  target=`echo all-recurse|sed s/-recurse//`; \
>                  echo "making $target in $i..."; \
>                  if (cd $i ; make \
>                      CURRENT_DIR=$i/ $target) then :; \
>                  else eval $e; fi; \
>                  ;; \
>          esac; \
>          else \
>                  echo "Skipping missing directory $i" ; \
>          fi; \
> done; \
> else :; \
> fi;\
> exit $status
> make: Fatal error: Command failed for target `all-recurse'
>
>   		 	   		
> _______________________________________________
> krbdev mailing list             krbdev at mit.edu
> https://mailman.mit.edu/mailman/listinfo/krbdev
>
>

-- 

  Douglas E. Engert  <DEEngert at anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444




More information about the krbdev mailing list