On Thursday 02 February 2006 12:13, Colin Guthrie wrote:
> Tony Brummett wrote:
> > I'm compiling myth for the first time on an AMD64 machine with the
> > x86_64 version of Fedora Core 4. ./configure was complaining about
> > not being able to find libmp3lame until I added /lib64 and /usr/lib64
> > to /etc/ld.so.conf
> >
> > I was just windering if this was normal? I figured that either those
> > directories would be put in ld.so.conf by the OS installer, or that
> > configure would know if the arch is x86_64, then you have to look in
> > the 64-bit lib directories for some libs.
>> I get that on my distro too, but as no-one else complained I didn't open
> a ticket.
>> The attached diffs fix things for me.
>> I can open a ticket if this is OK for commit,but not tested on any other
> distro than Mandrake 2006.0. Other systems may not use the /lib64
> prefix. It could be make more intelligent to check for the existance of
> those directories too I guess.
ATrpms.net MythTV builds work around the problem in a similar fashion,
replacing /lib with rpm's %{_lib} macro, which points appropriately to /lib
or /lib64, depending on the target arch.
--
Jarod Wilson
jarod at wilsonet.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20060202/e83ad841/attachment.pgp