[Samba] problem compiling samba-3.5.2 on RHEL 5.5

Mike Rambo mrambo at lsd.k12.mi.us
Thu Apr 15 07:51:46 MDT 2010


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'


-- 
Mike Rambo


NOTE: In order to control energy costs the light at the end
of the tunnel has been shut off until further notice...


More information about the samba mailing list