[Samba] Samba 2.2.6 Install Issue With Solaris 9

Frank Everitt feveritt at cisco.com
Fri Oct 25 16:37:01 GMT 2002


All:
         Tried to upgrade from Samba 2.0.7 to 2.2.6 on a Solaris 9 
platform. Without setting the LD_LIBRARY_PATH, configure would fail around 
line 14160 I believe this is related the the fact that it couldn't find the 
library "libpopt.so.0". (See below excerpt from logs)

Output from configure:

checking whether to enable winbind auth challenge/response code... no
checking whether to enable winbind ldap hack... no
checking whether or not getgroups returns EGID too many times... no
checking whether struct passwd has pw_comment... yes
checking whether struct passwd has pw_age... yes
checking for poptGetContext in -lpopt... yes
checking whether to use included popt... no
checking configure summary... configure: error: summary failure. Aborting 
config
root at ss-hawkeye#

Config.log:

configure:14007: checking whether struct passwd has pw_comment
configure:14020: gcc -c -O   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
conftest.c 1>&5
configure:14045: checking whether struct passwd has pw_age
configure:14058: gcc -c -O   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
conftest.c 1>&5
configure:14097: checking for poptGetContext in -lpopt
configure:14116: gcc -o conftest -O   -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64  conftest.c -lpopt  -lsec -lgen -lsocket -lnsl  -ldl 
1>&5
configure:14140: checking whether to use included popt
configure:14155: checking configure summary
configure:14164: gcc -o conftest -O   -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64  conftest.c -lsec -lgen -lsocket
-lnsl  -ldl -lpopt 1>&5
configure: failed program was:
#line 14160 "configure"
#include "confdefs.h"
#include "./tests/summary.c"


Setting LD_LIBRARY_PATH:

root at ss-hawkeye# LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
root at ss-hawkeye# export LD_LIBRARY_PATH
root at ss-hawkeye# echo $LD_LIBRARY_PATH
/usr/lib:/usr/local/lib


After setting LD_LIBRARY_PATH:

checking whether struct passwd has pw_comment... yes
checking whether struct passwd has pw_age... yes
checking for poptGetContext in -lpopt... yes
checking whether to use included popt... no
checking configure summary... yes
updating cache ./config.cache
creating ./config.status
creating include/stamp-h
creating Makefile
creating script/findsmb
creating include/config.h

Now testing installation:

root at ss-hawkeye# ./smbclient -L //ss-hawkeye
added interface ip=172.18.98.107 bcast=172.18.98.255 nmask=255.255.255.0
session request to SS-HAWKEYE failed (Call returned zero bytes (EOF)
)
session request to *SMBSERVER failed (Call returned zero bytes (EOF)
)



Don't think I'm doing anything wrong here since I did the exact same 
procedure (minus the LD_LIBRARY_PATH setting) on a Solaris 8 platform 
yesterday. Any and all help would be greatly appreciated...


Thanks....



Frank






Thanks....

-------------------------------------------------
        |         |       Frank Everitt
       :|:       :|:      System Administrator
      :|||:     :|||:     7025 Kit Creek Rd.
     :|||||:...:|||||:    RTP, NC 27709
   .:|||||||:.:|||||||:.  Ph. 919.392.8885
       CISCO SYSTEMS      FAX. 603.288.3074
-------------------------------------------------
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list