Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 118598 - Samba looks in /usr/lib instead of /usr/lib64
Summary: Samba looks in /usr/lib instead of /usr/lib64
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: samba
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jay Fenlason
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks: FC2Blocker
TreeView+ depends on / blocked
 
Reported: 2004-03-18 01:30 UTC by Nicholas Miell
Modified: 2014-08-31 23:26 UTC (History)
3 users (show)

Fixed In Version: samba-3.0.3-2.pre2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-04-13 17:34:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.