Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61046 - samba-3.0.5-6 upgrade doesn't preserve /usr/lib/libsmbclient.so.0 symlink
Summary: samba-3.0.5-6 upgrade doesn't preserve /usr/lib/libsmbclient.so.0 symlink
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
: 61061 61126 61181 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-20 09:34 UTC by Jeff Kowalczyk
Modified: 2004-08-21 15:05 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Kowalczyk 2004-08-20 09:34:12 UTC
After emerging new version samba-3.0.6, many new packages developed revdep-rebuild broken listings:

Checking dynamic linking consistency...
  broken /usr/bin/smbc (requires libsmbclient.so.0)
  broken /usr/bin/mplayer (requires libsmbclient.so.0)
  broken /usr/bin/gnome-cups-add (requires libsmbclient.so.0)
  broken /usr/bin/mencoder (requires libsmbclient.so.0)

It turned out that the symlink /usr/lib/libsmbclient.so.0 was now missing.

All the revdep-rebuilds failed looking for this library:
emerge --oneshot --nodeps  =app-misc/smbc-0.8.0 =media-video/mplayer-1.0_pre5-r3 =net-print/gnome-cups-manager-0.23

It seems that unmerge of 3.0.5 (previous version) takes the 3.0.6 symlink away:

>>> /usr/lib/libsmbclient.so.0 -> ./libsmbclient.so     (3.0.6 emerge)
<<< sym /usr/lib/libsmbclient.so.0                      (3.0.5 unmerge)

Repairing the symlink manually allows the revdep-rebuild emerges to complete.

ls -l /usr/lib/libsmbclient.so*
lrwxrwxrwx  1 root root 30 Aug 20 11:26 /usr/lib/libsmbclient.so.0 -> /usr/lib/samba/libsmbclient.so



Reproducible: Always
Steps to Reproduce:
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-20 10:24:53 UTC
It also comes up with a emtpy /etc/samba/._cfg0000_smb.conf
Comment 2 spiralvoice 2004-08-20 12:39:10 UTC
confirmed...
Comment 3 Patrick Fourniols 2004-08-20 13:04:38 UTC
libsmbclient not missing but moved to /usr/lib/samba ;)

qpkg -l samba | grep smbclient
/usr/bin/smbclient
/usr/lib/samba/libsmbclient.so
/usr/lib/samba/libsmbclient.a
/usr/lib/libsmbclient.so.0 -> ./libsmbclient.so 1092999079
/usr/share/doc/samba-3.0.6/swat/help/smbclient.1.html
/usr/share/doc/samba-3.0.6/examples/libsmbclient
/usr/share/doc/samba-3.0.6/examples/libsmbclient/testbrowse.c
/usr/share/doc/samba-3.0.6/examples/libsmbclient/Makefile
/usr/share/doc/samba-3.0.6/examples/libsmbclient/README
/usr/share/doc/samba-3.0.6/examples/libsmbclient/testsmbc.c
/usr/share/doc/samba-3.0.6/examples/libsmbclient/tree.c
/usr/share/doc/samba-3.0.6/examples/libsmbclient/testacl.c
/usr/share/man/man1/smbclient.1.gz
/usr/include/libsmbclient.h
Comment 4 Patrick Fourniols 2004-08-20 13:14:37 UTC
sorry i was wrong too quickly done ;)
Comment 5 spiralvoice 2004-08-20 15:37:46 UTC
I know libsmbclient has been moved but Midnight Commander does not start because it does not find that lib in /usr/lib/samba
Comment 6 Patrick Dawson (RETIRED) gentoo-dev 2004-08-20 16:53:18 UTC
Confirming. media-video/mplayer won't merge because it can't find libsmbclient.
Comment 7 Michael Glauche (RETIRED) gentoo-dev 2004-08-21 04:05:38 UTC
Fixed in 3.0.6-r1 (should be in cvs now)
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-21 15:05:00 UTC
*** Bug 61126 has been marked as a duplicate of this bug. ***
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-21 15:05:08 UTC
*** Bug 61181 has been marked as a duplicate of this bug. ***
Comment 10 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-21 15:05:24 UTC
*** Bug 61061 has been marked as a duplicate of this bug. ***