#239 compile does not link against libogg

closed-fixed
libFLAC (59)
5
2006-12-14
2006-12-08
Anonymous
No

During compile -logg is not included in the gcc command to make libFLAC.so.8.0.0.
This causes:

/usr/lib/libFLAC.so.8: undefined symbol: ogg_stream_pagein

Not sure why, it detects ogg just fine. Manually adding, recompiling, reinstalling works fine.

working:

gcc -shared .libs/bitbuffer.o .libs/bitmath.o .libs/cpu.o .libs/crc.o .libs/fixed.o .libs/float.o .libs/format.o .libs/lpc.o .libs/md5.o .libs/memory.o .libs/metadata_iterators.o .libs/metadata_object.o .libs/stream_decoder.o .libs/stream_encoder.o .libs/stream_encoder_framing.o .libs/window.o .libs/ogg_decoder_aspect.o .libs/ogg_encoder_aspect.o .libs/ogg_helper.o .libs/ogg_mapping.o -Wl,--whole-archive ia32/.libs/libFLAC-asm.a -Wl,--no-whole-archive -lm -logg -Wl,-soname -Wl,libFLAC.so.8 -o .libs/libFLAC.so.8.0.0

Mike
mystica@gmail.com

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Sorry, forgot to mention, this was flac-1.1.3 downloaded tonite from sourceforge.

     
  • Josh Coalson

    Josh Coalson - 2006-12-09
    • assigned_to: nobody --> jcoalson
    • status: open --> open-accepted
     
  • Josh Coalson

    Josh Coalson - 2006-12-14
    • status: open-accepted --> closed-fixed
     
  • Josh Coalson

    Josh Coalson - 2006-12-14

    Logged In: YES
    user_id=78173
    Originator: NO

    fixed in CVS, thanks.

     

Log in to post a comment.