Bug 118598

Summary: Samba looks in /usr/lib instead of /usr/lib64
Product: [Fedora] Fedora Reporter: Nicholas Miell <nmiell>
Component: sambaAssignee: Jay Fenlason <fenlason>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: 64bit_fedora, jfeeney, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: samba-3.0.3-2.pre2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-04-13 17:34:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 114961    

Description Nicholas Miell 2004-03-18 01:30:14 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Nicholas Miell 2004-03-18 01:31:16 UTC
damn it

hang on, a real report is coming

Comment 2 Nicholas Miell 2004-03-18 01:36:30 UTC
ok

The samba spec configures with --with-fhs. This overrides the --libdir
provided by the %configure macro, which means libdir is set to
%{prefix}/lib/samba.

This is wrong on x86-64 systems, and breaks various and sundry things
(an obvious symptom is "lib/util_unistr.c:load_case_tables(63) 
creating lame upcase table" showing up in the logs)

Comment 3 Nicholas Miell 2004-03-18 02:49:50 UTC
Removing --with-fhs from the %configure only makes things worse, but
removing the --with-fhs definition from configure.in altogether and
replacing --with-fhs with --with-configdir=%{_sysconfdir}/samba in the
%configure seems to work.

Comment 4 Nicholas Miell 2004-03-21 04:38:55 UTC
--libdir=%{_libdir}/samba needs to be tacked on to the %configure as well

Comment 5 Nicholas Miell 2004-03-26 02:39:49 UTC
as does --with-logfilebase=/var/log/samba

Comment 6 Jay Fenlason 2004-04-13 17:34:13 UTC
The samba-3.0.3.2pre2 rpms I just built into Rawhide should take care
of this.