Hambleton, Tom
2009-Jul-27 20:01 UTC
[Samba] 3.2.11 not compiling on solaris 9 (libtalloc.so.1 error)
I am consistently getting "libtalloc.so.1: No such file or directory"
when attempting to 'make' any version of samba.
I've tried all of the suggestions from the list archives on this subject.
Using Solaris 9 sparc.
Current versions are:
gcc 3.4.6 (sunfreeware pkg)
samba-3.2.11 (and any other version of samba I try)
Admittedly - compiling from source is not something I do very often.
My 'configure' options:
$ ./configure --prefix=/opt/sambatest CFLAGS=-I/opt/local/include
CPPFLAGS=-I/opt/local/inlcude LDFLAGS=-L/opt/local/lib
It completes successfully, except I get many similar messages to:
configure:3925: checking how to run the C preprocessor
configure:3965: gcc -E -I/opt/local/inlcude conftest.c
configure:3972: $? = 0
configure:4003: gcc -E -I/opt/local/inlcude conftest.c
conftest.c:9:28: ac_nonexistent.h: No such file or directory
configure:4010: $? = 1
configure: failed program was:
| /* confdefs.h. */
'make' fails with:
creating /temp/samba-3.2.11/source/exports/libtalloc.syms
Linking shared library bin/libtalloc.so.1
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/../../../../sparc-sun-solaris2.9/bin/ld:
cannot open linker script file /temp/samba-.2.11/source/exports/libtalloc.so.1:
No such file or directory
collect2: ld returned 1 exit status
make: *** [bin/libtalloc.so.1] Error 1
Thanks in advance for any guidance,
Tom
Jonathon Doran
2009-Jul-27 21:11 UTC
[Samba] 3.2.11 not compiling on solaris 9 (libtalloc.so.1 error)
Quoting "Hambleton, Tom" <tom.hambleton at lmco.com>:> I am consistently getting "libtalloc.so.1: No such file or > directory" when attempting to 'make' any version of samba. > > I've tried all of the suggestions from the list archives on this subject. > > > Using Solaris 9 sparc. > Current versions are: > gcc 3.4.6 (sunfreeware pkg) > samba-3.2.11 (and any other version of samba I try) > Admittedly - compiling from source is not something I do very often. > > My 'configure' options: > $ ./configure --prefix=/opt/sambatest CFLAGS=-I/opt/local/include > CPPFLAGS=-I/opt/local/inlcude LDFLAGS=-L/opt/local/lib > > It completes successfully, except I get many similar messages to: > > configure:3925: checking how to run the C preprocessor > configure:3965: gcc -E -I/opt/local/inlcude conftest.c > configure:3972: $? = 0 > configure:4003: gcc -E -I/opt/local/inlcude conftest.c > conftest.c:9:28: ac_nonexistent.h: No such file or directory > configure:4010: $? = 1 > configure: failed program was: > | /* confdefs.h. */You have 'include' spelled wrong. Since configure didn't get to do its job, the rest of the errors are probably expected.