Hi all, I need to build samba 3.6.1 on a RedHat redhat-release-5Server-5.6.0.3 linux machine but cannot install it to the default directories because the machine is centrally managed... I am using the following configure command: ./configure --prefix=/app/radius/samba/ --with-configdir=/app/radius/samba/conf --with-privatedir=/app/radius/samba/private --disable-cups and I am unable to run winbindd ? there are unfound libraries:>ldd winbinddlinux-vdso.so.1 => (0x00007fff529b3000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00002b01188e2000) libnsl.so.1 => /lib64/libnsl.so.1 (0x00002b0118af7000) libdl.so.2 => /lib64/libdl.so.2 (0x00002b0118d0f000) librt.so.1 => /lib64/librt.so.1 (0x00002b0118f14000) libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x00002b011911d000) libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002b0119325000) libtalloc.so.2 => not found libtdb.so.1 => not found libwbclient.so.0 => not found libz.so.1 => /usr/lib64/libz.so.1 (0x00002b011955f000) libc.so.6 => /lib64/libc.so.6 (0x00002b0119773000) /lib64/ld-linux-x86-64.so.2 (0x00002b01186c5000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b0119acb000) Can someone help me with the correct configure command to use? I can see that the missing libraries are in /app/radius/samba/lib? Thanks-
So you are able to build? you probably need to set your LD_LIBRARY_PATH to list "/app/radius/samba/lib" first. If you explicitly set LD_LIBRARY_PATH you will probably want to include "/usr/lib" directory as well. On 10/21/2011 10:56 AM, Joy Veronneau wrote:> Hi all, > > I need to build samba 3.6.1 on a RedHat redhat-release-5Server-5.6.0.3 linux machine but cannot install it to the default directories because the machine is centrally managed... > > I am using the following configure command: > ./configure --prefix=/app/radius/samba/ --with-configdir=/app/radius/samba/conf --with-privatedir=/app/radius/samba/private --disable-cups > > and I am unable to run winbindd ? there are unfound libraries: > >> ldd winbindd > linux-vdso.so.1 => (0x00007fff529b3000) > libresolv.so.2 => /lib64/libresolv.so.2 (0x00002b01188e2000) > libnsl.so.1 => /lib64/libnsl.so.1 (0x00002b0118af7000) > libdl.so.2 => /lib64/libdl.so.2 (0x00002b0118d0f000) > librt.so.1 => /lib64/librt.so.1 (0x00002b0118f14000) > libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x00002b011911d000) > libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002b0119325000) > libtalloc.so.2 => not found > libtdb.so.1 => not found > libwbclient.so.0 => not found > libz.so.1 => /usr/lib64/libz.so.1 (0x00002b011955f000) > libc.so.6 => /lib64/libc.so.6 (0x00002b0119773000) > /lib64/ld-linux-x86-64.so.2 (0x00002b01186c5000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b0119acb000) > > Can someone help me with the correct configure command to use? I can see that the missing libraries are in /app/radius/samba/lib? > > Thanks- > >
On Fri, 2011-10-21 at 14:56 +0000, Joy Veronneau wrote:> Hi all, > > I need to build samba 3.6.1 on a RedHat redhat-release-5Server-5.6.0.3 linux machine but cannot install it to the default directories because the machine is centrally managed... > > I am using the following configure command: > ./configure --prefix=/app/radius/samba/ --with-configdir=/app/radius/samba/conf --with-privatedir=/app/radius/samba/private --disable-cups > > and I am unable to run winbindd ? there are unfound libraries: > > >ldd winbindd > linux-vdso.so.1 => (0x00007fff529b3000) > libresolv.so.2 => /lib64/libresolv.so.2 (0x00002b01188e2000) > libnsl.so.1 => /lib64/libnsl.so.1 (0x00002b0118af7000) > libdl.so.2 => /lib64/libdl.so.2 (0x00002b0118d0f000) > librt.so.1 => /lib64/librt.so.1 (0x00002b0118f14000) > libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x00002b011911d000) > libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002b0119325000) > libtalloc.so.2 => not found > libtdb.so.1 => not found > libwbclient.so.0 => not found > libz.so.1 => /usr/lib64/libz.so.1 (0x00002b011955f000) > libc.so.6 => /lib64/libc.so.6 (0x00002b0119773000) > /lib64/ld-linux-x86-64.so.2 (0x00002b01186c5000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b0119acb000) > > Can someone help me with the correct configure command to use? I can see that the missing libraries are in /app/radius/samba/lib?The easiest way to solve your issue would be to install Samba4. Samba4 alphas now include all of Samba, including ntlm_auth (named ntlm_auth3 for now) and winbindd, but critcially, by using the ./configure and make in the top level (not under source3) you will build with our new build system. It handles things like -rpath automatically, so you don't need LD_LIBRARY_PATH tricks. (You will still need openldap-devel as recommended). Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org