From: Linux Addict on
https://bugzilla.samba.org/show_bug.cgi?id=7209
<https://bugzilla.samba.org/show_bug.cgi?id=7209>

On Thu, Apr 15, 2010 at 9:19 AM, Werner Maes
<Werner.Maes(a)icts.kuleuven.be>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
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Mike Rambo on
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...
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Nico Kadel-Garcia on
On Thu, Apr 15, 2010 at 9:51 AM, Mike Rambo <mrambo(a)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(a)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