LameWrapper cannot open library

Help
kahomh2000
2006-08-22
2013-04-25
  • kahomh2000
    kahomh2000
    2006-08-22

    hi :
    i got fuppes-0.5.1 and i compiled it very smooth
    it show
      Transcoding enabled
        lame  : yes
        vorbis: yes
        mpc   : yes
        flac  : no

    and when i run fuppes it show some error

    [WARNING :: LameWrapper] cannot open library
    Segmentation fault

    i don't know why? can somebody help

     
    • Ulrich Völkel
      Ulrich Völkel
      2006-09-03

      Hello!

      Can you please give me some more information about your system. Wich OS, lame version and the name of your lame library.

      I will fix the segmentation fault in the next version.

      Thanks for reporting!

       
    • kahomh2000
      kahomh2000
      2006-09-04

      Hello :
      my OS is Ubuntu 6.06
      dpkg -l |grep lame
      ii  lame                                   3.97-8                                  open source MP3 encoder
      ii  libmp3lame0                            3.97-8                                  shared libraries for MP3 encoding
      ii  libmp3lame0-dev                        3.97-8                                  development files for lame
      ii  toolame                                02l-2                                   MPEG-1 layer 2 audio encoder

      isit enought ??

      thanks again for your help

       
    • Ulrich Völkel
      Ulrich Völkel
      2006-09-04

      yes it is enough! thanks

      So the lame sharedobject-file is named "libmp3lame0.so" correct?!

      fuppes tries to load it with the name "libmp3lame.so" and seems to crash when it's not found. The crash is definitely a bug and will be fixed in the next version.

      But I still don't know how to fix the problem with the divergent lib-name. lame does not ship with any config scripts or anything like that. So I'm not sure how to check for the correct name.
      But I will find out.

      If you still like to use the current version linking libmp3lame0.so to libm3lame.so (ln -s) should fix it. But it's more an ugly hack than a fix.

      Thanks!

       
    • kahomh2000
      kahomh2000
      2006-09-08

      very thanks for your help,that libmp3lame0.so doesn't exist 

      i found my libmp3lame.so.0 link to libmp3lame.so.0.0.0,but you say fuppes will load libmp3lame.so to use

      so i add a soft link libmp3lame.so to libmp3lame.so.0.0.0
      and that problem is gone ...

      so fuppes is work very fine ...thanks again ^^

       
    • Ulrich Völkel
      Ulrich Völkel
      2006-09-10

      The problem is fixed in 0.5.2.
      fuppes now looks for libmp3lame.so and libmp3lame.so.0. So you may remove the symlink.
      The seg fault is fixed too.

      Thanks again for reporting this one!