Hi again!
   I'll stop making so much noise shortly, but I've got to get this proved by 
say, tomorrow, or take a different direction on my project.

I got Samba 4 to compile on AIX using the following:

# export CFLAGS="-I/opt/openldap-2.4.32/include -qlanglvl=extc99"
# CFLAGS="$CFLAGS" ./configure --prefix=/opt/samba-4.0.0 
--sysconfdir=/etc/samba-4.0.0 --localstatedir=/var/samba-4.0.0 
--with-gettext=/opt/freeware
...
# make
...
# make install
...
#

Now unfortunately, while the compile completes, something's not right.  If I 
try to run /opt/samba-4.0.0/sbin/smbd -b, I get the following error:

bash-3.2# ./smbd -v
exec(): 0509-036 Cannot load program ./smbd because of the following errors:
rtld: 0712-001 Symbol aixacl_to_smbacl was referenced
      from module default/source3/libsmbd_base.so(), but a runtime definition
      of the symbol was not found.
rtld: 0712-001 Symbol aixacl_smb_to_aixacl was referenced
      from module default/source3/libsmbd_base.so(), but a runtime definition
      of the symbol was not found.
bash-3.2# CFLAGS="$CFLAGS" ./configure --prefix=/opt/samba-4.0.0 
--sysconfdir=/etc/samba-4.0.0 --localstatedir=/var/samba-4.0.0 
--with-gettext=/opt/freeware
bash-3.2# echo $CFLAGS
-I/opt/openldap-2.4.32/include -qlanglvl=extc99
bash-3.2#

What's this aixacl_smb_to_aixacl thing?  The last time I built this earlier 
today, I'd had -qlanglvl=extended set, and was instead tripping up because it 
couldn't find the symbol va_copy.  The following article suggested rebuilding 
with -qlanglvl=extc99:

http://lists.samba.org/archive/samba-technical/2006-October/049777.html

After doing so, that's where I get the missing aixacl_to_smbacl problem.

Whatever shall I do?  There's got to be a way to get the shared libraries 
installed, and find all the right stuff.  On the previous attempt, I just 
copied all the .so's in place one-at-a-time until it hit the va_copy thing.

Many thanks!!

-Ben


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to