Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2 mpg321-0.2.10 & libid3tag compile error

closed
Joe Drew
5
2002-07-14
2002-04-01
No

Recently downloaded mad-0.14.2b and compiled it with
--enable-shared. Then tried configuring mpg-321-0.2.10
(and 0.2.9) with (and without) --with-default-audio=esd.
But in all four cases, it gives me the error:

checking for id3_tag_new in -lid3tag... no
configure: error: "libid3tag is required to compile
mpg321. Find it in the MAD distribution at
http://www.mars.org/home/rob/proj/mpeg/ - version
0.14.1 or better."

even though libid3tag is there:

/sbin/ldconfig -p|grep id3tag
libid3tag.so.0 (libc6) => /usr/local/lib/libid3tag.so.0
libid3tag.so (libc6) => /usr/local/lib/libid3tag.so

It does find mad though:
checking for mad_decoder_run in -lmad... yes

I tried installing the mad-libs rpm in your sf ftp directory,
but with that it didn't even find mad.

Broken ./configure script maybe? Or testing for
something (id3_tag_new) that doesn't exist in mad ?

[BTW, I have tried compiling and installing mad-0.14.1b
as well, with same results.]

Discussion

  • Joe Drew
    Joe Drew
    2002-04-01

    Logged In: YES
    user_id=330927

    Please attach your config.log, or at least the last ~100
    lines of it or so. This will tell me what the problems are
    that you're experiencing.

     
  • config.log for mpg321-0.2.10; mad-0.14.2b installed

     
    Attachments
  • Logged In: YES
    user_id=83825

    Attaching the config.log

     
  • Joe Drew
    Joe Drew
    2002-04-01

    • labels: 367537 -->
    • assigned_to: hoserhead --> nobody
     
  • Joe Drew
    Joe Drew
    2002-04-01

    Logged In: YES
    user_id=330927

    The problem occurs because you haven't installed the zlib
    (libz) development libraries. On Debian systems this package
    is called zlib1g-dev; I'm not sure what it would be called
    on other systems. It's necessary, though, to use it to
    compile and install mpg321.

     
  • Joe Drew
    Joe Drew
    2002-04-01

    • labels: --> Installation
     
  • Joe Drew
    Joe Drew
    2002-04-01

    • assigned_to: nobody --> hoserhead
     
  • Logged In: YES
    user_id=83825

    Upon your suggestion, I checked for zlib install. The library
    *was* installed:

    /sbin/ldconfig -p|grep libz
    libz.so.1 (libc6) => /usr/lib/libz.so.1

    But when I re-read your comment, I realized that I had to
    install zlib-devel package (for RedHat - I assume it's the
    same for Mandrake, Turbolinux, etc) in order to compile
    mpg321. Now it's compiling. Thanks for your help.

    Now that I re-examined the (old) config.log, I realized that I
    should've tried this before.

    If you don't mind me suggesting this, shouldn't configure
    check for libz (and sources) seperately than libid3tag, so
    that others can avoid the confusion?

     
  • Joe Drew
    Joe Drew
    2002-07-14

    Logged In: YES
    user_id=330927

    You're right. A check for zlib has been added to the
    configure script, and will be included in 0.3.0.

     
  • Joe Drew
    Joe Drew
    2002-07-14

    • status: open --> closed