[GRASSLIST:5712] mpeg_encode: can't load dynamic linker

Hallo,
I wanted to produce some mpeg movie with NVIZ, but the mpeg_encode says:

    /mpeg_encode: can't load dynamic linker '/lib/ld.so'

I tryed to make the symlink (/lib/ld.so -> ld-2.3.2.so), but it didn't help.

I use Debian Sarge.

Any suggestions?

Thanks

Jáchym
--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://www.fle.czu.cz/~jachym/gnupg_public_key/

Jachym Cepicky wrote:

I wanted to produce some mpeg movie with NVIZ, but the mpeg_encode says:

    /mpeg_encode: can't load dynamic linker '/lib/ld.so'

That suggests that your mpeg_encode executable was built for a
relativly old Linux distribution (i.e. one which uses libc5, maybe
even libc4).

It might be possible to get it to run by installing some kind of
"compat" package.

Or it may not, depending on just how old the mpeg_encode binary is.

I tryed to make the symlink (/lib/ld.so -> ld-2.3.2.so), but it didn't help.

It won't. ld-2.3.2.so is the glibc-2 (aka. libc6) loader; it isn't
compatible with older versions of libc.

--
Glynn Clements <glynn@gclements.plus.com>

so,
there was an bug (I suppose so) in mpeg_encode source. Now it runs. I have
reported to author, but the source code is from 29.11.1995, so I don't know, if anyone
will read it.

For those of you, who want to compile mpeg_encode:

1) download the file mpeg_encode-1.5b-patched-src.tar.gz from
    ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/encode/

2) edit the file libpnmrw.c, comment the line no. 129 out
    /*extern char* sys_errlist;*/

3) run "make", it worked by me.

Jáchym

On Thu, Feb 10, 2005 at 07:07:31PM +0000, Glynn Clements wrote:

Jachym Cepicky wrote:

> I wanted to produce some mpeg movie with NVIZ, but the mpeg_encode says:
>
> /mpeg_encode: can't load dynamic linker '/lib/ld.so'

That suggests that your mpeg_encode executable was built for a
relativly old Linux distribution (i.e. one which uses libc5, maybe
even libc4).

It might be possible to get it to run by installing some kind of
"compat" package.

Or it may not, depending on just how old the mpeg_encode binary is.

> I tryed to make the symlink (/lib/ld.so -> ld-2.3.2.so), but it didn't help.

It won't. ld-2.3.2.so is the glibc-2 (aka. libc6) loader; it isn't
compatible with older versions of libc.

--
Glynn Clements <glynn@gclements.plus.com>

--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://www.fle.czu.cz/~jachym/gnupg_public_key/

I use the following mpeg program for all of my encoding:

mpeg2encode / mpeg2decode
                          =========================
              MPEG-2 Encoder / Decoder, Version 1.2, July 19, 1996

                             Copyright (c) 1996
                        MPEG Software Simulation Group

                     E-mail: mssg@mpeg.org (author contact)
                     Web: http://www.mpeg.org/MSSG/
                     FTP: ftp://ftp.mpeg.org/pub/mpeg/mssg/

--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341

On Thursday 10 February 2005 12:53 pm, Jachym Cepicky wrote:

so,
there was an bug (I suppose so) in mpeg_encode source. Now it runs. I have
reported to author, but the source code is from 29.11.1995, so I don't
know, if anyone will read it.

For those of you, who want to compile mpeg_encode:

1) download the file mpeg_encode-1.5b-patched-src.tar.gz from
    ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/encode/

2) edit the file libpnmrw.c, comment the line no. 129 out
    /*extern char* sys_errlist;*/

3) run "make", it worked by me.

Jáchym

On Thu, Feb 10, 2005 at 07:07:31PM +0000, Glynn Clements wrote:
> Jachym Cepicky wrote:
> > I wanted to produce some mpeg movie with NVIZ, but the mpeg_encode
> > says:
> >
> > /mpeg_encode: can't load dynamic linker '/lib/ld.so'
>
> That suggests that your mpeg_encode executable was built for a
> relativly old Linux distribution (i.e. one which uses libc5, maybe
> even libc4).
>
> It might be possible to get it to run by installing some kind of
> "compat" package.
>
> Or it may not, depending on just how old the mpeg_encode binary is.
>
> > I tryed to make the symlink (/lib/ld.so -> ld-2.3.2.so), but it didn't
> > help.
>
> It won't. ld-2.3.2.so is the glibc-2 (aka. libc6) loader; it isn't
> compatible with older versions of libc.
>
> --
> Glynn Clements <glynn@gclements.plus.com>

> > I wanted to produce some mpeg movie with NVIZ, but the mpeg_encode
> > says:
> >
> > /mpeg_encode: can't load dynamic linker '/lib/ld.so'

..

there was an bug (I suppose so) in mpeg_encode source. Now it runs. I
have reported to author, but the source code is from 29.11.1995, so I
don't know, if anyone will read it.

For those of you, who want to compile mpeg_encode:

1) download the file mpeg_encode-1.5b-patched-src.tar.gz from
    ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/encode/

2) edit the file libpnmrw.c, comment the line no. 129 out
    /*extern char* sys_errlist;*/

3) run "make", it worked by me.

for MPEG-1 you don't actually need mpeg_encode. Most Linux/Mac systems
come with the NetPBM tools which include the "ppmtompeg" program.

And "ppmtompeg" is just "mpeg_encode" with bug fixes. just make a
symlink. Debian's version works fine. See the r.out.mpeg module.

MPEG-1 is fairly crummy quality wise; as Dylan noted, mpeg2encode creates
nicer MPEG-2 movies. You can use mplayer's mencode to create even nicer
MPEG-4 movies. http://www.mplayerhq.hu

Note that anything newer than MPEG-1 probably has patent liability
issues to think about.

Hamish