[bugs] [OpenIndiana Distribution - Bug #415] pkg:/service/network/samba at 3.5.4-0.147 broken

illumos bugs bugs at lists.illumos.org
Wed Jul 13 10:20:33 PDT 2011


Issue #415 has been updated by Gordon Ross.

File configure.in.diff added

Uh, actually,  that previous did not work.  Upon further investigation:

The real root cause of this problem is that Samba links smbclient
with the "-z ignore" option, so even though the link line for smbclient
included -lreadline -lcurses, the "-z ignore" flags caused it to discard
the dependency on -lcurses due to lack of references from smbclient.

A safer approach here is to not use the "-z ignore" flags.

There is actually an autoconf test to dissable "-z ignore" when a
test program linked with -lreadline -lcurses does not resolve all
its symbols, but that autoconf test does not work on illumos
because you have to try actually running the program (not just
linking it) to find out if all the symbols can be resolved.

Attached is an updated version of this SFW gate file:
  usr/src/cmd/samba/Patches/configure.in.diff

If you drop that into an SFW tree and rebuild, that will
fix this bug.

The fix can be verified by either running smbclient, or
"ldd smbclient" and make sure libcurses is listed.

----------------------------------------
Bug #415: pkg:/service/network/samba at 3.5.4-0.147 broken
https://www.illumos.org/issues/415

Author: Predrag Zečević
Status: In Progress
Priority: High
Assignee: OI SFW
Category: SFW (Solaris Freeware)
Target version: oi_151_stable
Difficulty: Medium
Tags: needs-triage


pfexec pkg refresh --full

pkg search -l /usr/lib/libreadline.so.5
INDEX      ACTION VALUE                    PACKAGE
path       file   usr/lib/libreadline.so.5 pkg:/library/readline at 5.2-0.147
pfexec pkg fix pkg:/library/readline

pkg search -l /usr/bin/smbclient
INDEX      ACTION VALUE             PACKAGE
path       file   usr/bin/smbclient pkg:/service/network/samba at 3.5.4-0.147

pfexec pkg fix pkg:/service/network/samba

smbclient --user predrag '\\backup\systems'
Enter predrag's password:
Domain=[**] OS=[Unix] Server=[Samba 3.2.15-0.36**]
ld.so.1: smbclient: fatal: relocation error: file /usr/lib/libreadline.so.5: symbol tgetent: referenced symbol not found
Killed


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the bugs mailing list