On 05/17/12 18:18, Gaiseric Vandal wrote: > On 05/17/12 11:15, prabu.muru...@emc.com wrote: >> >> Hi, >> >> As a security concern we are upgrading samba to 3.4.17. >> >> I tried all possible option to compile samba 3.4.17 on Solaris >> 10_U10. But it is not going through. >> >> >> >> User requirement is to compile samba 3.4.17 to support their >> application. 3.4.17 is working on Solaris 9 and Solaris 10_U5. But >> not on Solaris 10_U10. >> >> ./configure and make gives error related to talloc. I have set the >> PKG_CONFIG_PATH. Still the error is same. >> >> >> >> I tried the solution provided by you on URL >> http://lists.samba.org/archive/samba/2010-June/156711.html >> >> Can you help me with this issue. >> >> >> >> bash-3.2# pwd >> >> /usr/local/samba-3.4.17/source3 >> >> bash-3.2# more config.err >> >> Package talloc was not found in the pkg-config search path. >> >> Perhaps you should add the directory containing `talloc.pc' >> >> to the PKG_CONFIG_PATH environment variable >> >> No package 'talloc' found >> >> >> >> bash-3.2# echo $LD_LIBRARY_PATH >> >> /usr/local/samba-extras/lib/ >> >> bash-3.2# echo $PKG_CONFIG_PATH >> >> /usr/local/samba-extras/lib/pkgconfig/ >> >> >> >> bash-3.2# ls -l /usr/local/samba-extras/lib/pkgconfig/ >> >> total 6 >> >> -rw-r--r-- 1 root root 334 May 16 19:13 pytalloc-util.pc >> >> -rw-r--r-- 1 root root 324 May 16 19:13 talloc.pc >> >> -rw-r--r-- 1 root root 277 May 16 19:17 tdb.pc >> >> >> >> bash-3.2# ls -l /usr/local/samba-extras/lib/ >> >> total 188 >> >> lrwxrwxrwx 1 root root 25 May 16 19:14 >> libpytalloc-util.so -> libpytalloc-util.so.2.0.7 >> >> lrwxrwxrwx 1 root root 25 May 16 19:14 >> libpytalloc-util.so.2 -> libpytalloc-util.so.2.0.7 >> >> -rw-r--r-- 1 root root 9412 May 16 19:14 >> libpytalloc-util.so.2.0.7 >> >> lrwxrwxrwx 1 root root 18 May 16 19:14 libtalloc.so -> >> libtalloc.so.2.0.7 >> >> lrwxrwxrwx 1 root root 18 May 16 19:14 libtalloc.so.2 >> -> libtalloc.so.2.0.7 >> >> -rw-r--r-- 1 root root 79556 May 16 19:14 libtalloc.so.2.0.7 >> >> drwxr-xr-x 2 root root 512 May 16 19:19 pkgconfig >> >> drwxr-xr-x 3 root root 512 May 16 19:14 python2.6 >> >> >> >> Thanks, >> >> Prabu >> > > I see on http://www.samba.org/ftp/talloc/ that there is both talloc > 1.3.x and talloc 2.0.x. I am looking through some of my old builds > and my old build notes. With samba I seem to have compiled talloc > 2.0.x separately (I have the pkgconfig files.) I think samba 3.4.x > I have just compiled with out talloc. > > > Can you cat talloc.pc- make sure the config file shows the correct path. > > > I wonder what the significant difference is between your two solaris > 10 machines. Which gcc are you using. Do either of them have the > sunfreeware versions of samba? Or the sun bundled versions of > samba. Maybe one machine already has libtalloc installed. What > does "pkginfo | grep -i samba" show? I think samba 3.0x. binaries > from Sun/Oracle may have been in /usr/sfw/bin not /usr/bin. > > What is the current version of samba you are running. Did you compile > that or is if from a package? Is the current version in the > PKG_CONFIG_PATH or LD_LIBRARY_PATH when compiling the new one? > > > >
PS The samba 3.4.17 source code includes talloc. But it might be 1.0.x Maybe try downloading and compiling 1.0.x instead. And I would try building it into the same directory that you are building the rest of samba. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba