[Samba] Compile on BSDi

Sergio Jimenez Romero sjimenez at censa-cat.net
Wed Apr 16 09:56:40 GMT 2003


On Tue, 15 Apr 2003 10:18:04 -0500 (CDT)
"Gerald (Jerry) Carter" <jerry at samba.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Tue, 15 Apr 2003, Matthew Hattersley wrote:
> 
> > Hi,
> > 
> > Im trying to compile samba-2.2.8a on BSDi... Here is the output from uname:
> > 
> > 4.1 BSDI BSD/OS 4.1 Kernel #0
> > 
> > Upon compilation using both make and gmake I get the following:
> > 
> > Using LIBS = -ldl
> > Linking bin/smbd
> > lib/snprintf.o: In function `vasprintf':
> > lib/snprintf.o(.text+0x14): undefined reference to `VA_COPY'
> > lib/snprintf.o(.text+0x45): undefined reference to `VA_COPY'
> > *** Error code 1
> 
> looks like a missing library.  I don't have a BSDi box
> to search for which one though.  If someone will let me know,
> I'll update the autoconf scripts.
> 
> 
> 
> cheers, jerry
>  ----------------------------------------------------------------------
>  Hewlett-Packard            ------------------------- http://www.hp.com
>  SAMBA Team                 ---------------------- http://www.samba.org
>  GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
>  "You can never go home again, Oatman, but I guess you can shop there."  
>                             --John Cusack - "Grosse Point Blank" (1997)
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.0 (GNU/Linux)
> Comment: For info see http://quantumlab.net/pine_privacy_guard/
> 
> iD8DBQE+nCKsIR7qMdg1EfYRAgM9AKCIfIAtdgLv+cy2ootlEKJPo21bngCg41RS
> 3VdVYxyDNh8bF5Zoe9HEvb8=
> =fVm8
> -----END PGP SIGNATURE-----
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

I'm not sure, but it's possible that samba will has dependencies on BSDi like OpenBSD or NetBSD etc, if this helps you, here you are a ldd of smbd and nmbd:

OpenBSD:

/usr/local/libexec/smbd:
        -lssl.7 => /usr/lib/libssl.so.7.0 (0x4017c000)
        -lcrypto.9 => /usr/lib/libcrypto.so.9.0 (0x401ad000)
        -lc.29 => /usr/lib/libc.so.29.0 (0x4028d000)

/usr/local/libexec/nmbd:
        -lssl.7 => /usr/lib/libssl.so.7.0 (0x400a0000)
        -lcrypto.9 => /usr/lib/libcrypto.so.9.0 (0x400d1000)
        -lc.29 => /usr/lib/libc.so.29.0 (0x401b1000)

NetBSD:

/usr/pkg/sbin/smbd:
         -lssl.2 => /usr/lib/libssl.so.2
         -lcrypto.1 => /usr/lib/libcrypto.so.1
         -lcrypt.0 => /usr/lib/libcrypt.so.0
         -lc.12 => /usr/lib/libc.so.12

/usr/pkg/sbin/nmbd:
         -lssl.2 => /usr/lib/libssl.so.2
         -lcrypto.1 => /usr/lib/libcrypto.so.1
         -lcrypt.0 => /usr/lib/libcrypt.so.0
         -lc.12 => /usr/lib/libc.so.12

If you need something else don't doubt to say me please.

Best Regards.


More information about the samba mailing list