On Thu, Apr 15, 2010 at 9:51 AM, Mike Rambo <mra...@lsd.k12.mi.us> wrote: > Werner Maes wrote: >> >> this is my output when I try to compile samba-3.5.2 using the spec file >> provided in the samba packages: >> >> Linking bin/smbclient >> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined >> reference to `PC' >> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined >> reference to `tgetflag' >> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined >> reference to `tgetent' >> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined >> reference to `UP' >> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined >> reference to `tputs' >> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined >> reference to `tgoto' >> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined >> reference to `tgetnum' >> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined >> reference to `BC' >> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libreadline.so: undefined >> reference to `tgetstr' >> collect2: ld returned 1 exit status >> make: *** [bin/smbclient] Error 1 >> error: Bad exit status from /var/tmp/rpm-tmp.14813 (%build) >> >> >> any ideas? >> >> werner > > In all likelihood you need to consult the following thread from over the > last few days. > > > RHEL 5 compilation of Samba 3.5.2, termcap library problem, use > --no-as-needed'
There's an SRPM published that needs a modest tweak. Check out this thread. http://www.mail-archive.com/samba@lists.samba.org/msg107299.html -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba