trouble with libtool on IRIX

Elrond Elrond at Wunder-Nett.org
Fri Jan 21 17:25:21 GMT 2000


Hi,

On Sat, Jan 22, 2000 at 03:57:19AM +1100, Greg Dickie wrote:
> Hi,
> 
>   I looked at fixing this myself but it does not seem straightforward. IRIX
> likes to preallocate memory space for the .so and uses an so_locations file for
> that but with libtool I get this:

Ohhh weee... I don't have a nice irix machine to test that
myself. Could you please try/answer the following things?

a) Send me (that's not so relevant for the list) the output
   of /bin/sh ./libtool --config

b) Did samba build shared libs before I invented libtool?

c) Just for test:

   Could you run the command, you pasted here:

> /bin/sh ./libtool --quiet --mode=link /usr/freeware/bin/gcc -O -Iinclude
> -I./include -I./ubiqx -I./smbwrapper  -DLOGFILEBASE=\"/var/samba\"
> -DSMBLOGFILE=\"/var/samba/log.smb\" -DNMBLOGFILE=\"/var/samba/log.nmb\"
> -DCONFIGFILE=\"/usr/local/samba/lib/smb.conf\"
> -DLMHOSTSFILE=\"/usr/local/samba/lib/lmhosts\"  
> -DSWATDIR=\"/usr/local/samba/swat\" -DSBINDIR=\"/usr/local/samba/bin\"
> -DLOCKDIR=\"/var/samba/locks\" -DSMBRUN=\"/usr/local/samba/bin/smbrun\"
> -DCODEPAGEDIR=\"/usr/local/samba/lib/codepages\"
> -DDRIVERFILE=\"/usr/local/samba/lib/printers.def\"
> -DBINDIR=\"/usr/local/samba/bin\"
> -DFORMSFILE=\"/usr/local/samba/lib/ntforms.def\"
> -DNTDRIVERSDIR=\"/usr/local/samba/lib\" -DHAVE_INCLUDES_H
> -DPASSWD_PROGRAM=\"/bin/passwd\"
> -DSMB_PASSWD_PROGRAM=\"/usr/local/samba/bin/smbpasswd\"
> -DSMB_PASSWD_FILE=\"/usr/local/samba/private/smbpasswd\"
> -DSMB_PASSGRP_FILE=\"/usr/local/samba/private/smbpassgrp\"
> -DSMB_GROUP_FILE=\"/usr/local/samba/private/smbgroup\"
> -DSMB_ALIAS_FILE=\"/usr/local/samba/private/smbalias\"   -o bin/libsamba.la
> -rpath /usr/local/samba/lib -version-info 0:1:0 \
>   param/loadparm.lo param/params.lo  lib/charcnv.lo lib/charset.lo lib/debug.lo
> lib/fault.lo lib/getsmbpass.lo lib/interface.lo lib/kanji.lo lib/md4.lo
> lib/netmask.lo lib/pidfile.lo lib/replace.lo lib/signal.lo lib/slprintf.lo
> lib/system.lo lib/doscalls.lo lib/time.lo lib/ufc.lo lib/util.lo lib/genrand.lo
> lib/username.lo lib/vuser.lo lib/access.lo lib/smbrun.lo lib/bitmap.lo
> lib/util_sid.lo lib/snprintf.lo lib/util_str.lo lib/util_unistr.lo
> lib/util_file.lo lib/util_sock.lo lib/util_sec.lo lib/util_array.lo
> lib/vagent.lo lib/util_hnd.lo tdb/tdb.lo

  from a shell, but

  1) remove the --quiet and have a look at the real
     compiler-invocation.
  1) replace bin/libsamba.la with just libsamba.la. (It
     won't help to move libsamba.la into bin after that
     though, if it worked.)

d) last resort: ./configure --disable-shared


... ohh well...


    Elrond


More information about the samba-ntdom mailing list