On Tue Jul 04, 2006 at 09:59:03PM +0000, Iain MacGranthin wrote:

> I have downloaded the patch comfigure.in file, and run configure successfully,
> but am now getting an error duing cokmpile which says:
> 
> /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld:
> skipping incompatible /usr/lib/libdl.so when searching for -ldl
<--snip similar errors-->
> collect2: ld returned 1 exit status
> make[2]: *** [export_mjpeg.la] Error 1
> make[2]: Leaving directory `/root/Desktop/transcode-1.0.2/export'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/Desktop/transcode-1.0.2'
> make: *** [all] Error 2
> 
> 
> I THINK this is a more general error related to compiling, as I have seen it
> with opther compiles, but have been able to function enough using Yast2
> installed versions, but as I am rying to build transcode and want to stipulate
> static libraries to squeeze more speed out, can anyopne advise me on what the
> solution may be, I am running SuSe 10.1 on an AMD X86 64 bit processor.
> 
> I am using the most recent version of transcode.
> 
It looks as though it's trying to use the 32-bit libraries in /usr/lib
instead of the 64-bit libraries in /usr/lib64.  You could try doing:
        LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH make

but it may be that the path is hardcoded into the config/make files
somewhere.  Make sure (of course) that you also have the -devel packages
installed for any libraries you're trying to link against.

I'm not sure a static compile will help with speed anway - you're better
off making sure that transcode (and all the relevant encoding libraries)
are compiled with optimal settings for your processor.  As someone else
has pointed out, XviD in particular needs to be a recent version (1.1.0
was the first to include AM64 optimisations IIRC) and compiled using
yasm to get the best performance on an AMD64.

HTH,
        Robin
-- 
     ___        
    ( ' }     |       Robin Hill        <[EMAIL PROTECTED]> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

Attachment: pgpjnywkBUxpw.pgp
Description: PGP signature

Reply via email to