[Samba] Need help with redhat build to --prefix

Joy Veronneau jv11 at cornell.edu
Fri Oct 21 12:23:41 MDT 2011


Hi,

Thanks, I think that setting LD_LIBRARY_PATH would fix the problem on the
command line, but here's a little more information about what I want to
do. 

I am installing winbindd on a radius server running Radiator. I will start
/app/radius/samba/bin/winbindd whenever the server reboots. Then radiator
will be using /app/radius/samba/sbin/ntlm_auth when people need to
authenticate. So I have to set it up so every time ntlm_auth runs, it can
find the libraries... I was hoping there would be a way to build it so
that would work but I am pretty rusty on my C programming/building
skills...

Or maybe there is a way to specify the library location in the samba
config file?

TIA

-- Joy






On 10/21/11 11:34 AM, "Gaiseric Vandal" <gaiseric.vandal at gmail.com> wrote:

>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-
>>
>>
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list