Menu

#74 IDJC 0.8.16/GIT: failed to open /usr/lib/idjc/idjc.so

v1.0 (example)
closed
nobody
None
5
2023-09-24
2015-11-22
Moonbase
No

I installed IDJC 0.8.16_development from GIT on a new Linux Mint 17.2 "Rafaela" + Cinnamon system on Nov 9, 2015—worked without a glitch.

So today (Nov 22, 2015) I decided to update (git pull) my IDJC 0.8.15 on my main machine (Ubuntu Studio 14.04.3+XFCE, Kernel 3.19.0-33-lowlatency) to the same version, which fails:

Upon starting the newly built version, I get a desktop notification »IDJC Failed to open /usr/lib/idjc/idjc.so—Cannot continue«. Starting IDJC from a terminal gives the following:

$ idjc
Traceback (most recent call last):
  File "/usr/lib/idjc/site-packages/idjc/irc.py", line 37, in <module>
    from irc import client
ImportError: No module named irc
No IRC support
jack client ID: idjc_default
something bad happened
$

Further investigation using ldd shows:

$ ldd -r /usr/lib/idjc/idjc.so 
    linux-vdso.so.1 =>  (0x00007ffff35d6000)
    libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f639398f000)
    libavcodec.so.54 => /usr/lib/x86_64-linux-gnu/libavcodec.so.54 (0x00007f6392c39000)
    libavformat.so.54 => /usr/lib/x86_64-linux-gnu/libavformat.so.54 (0x00007f6392917000)
    libavutil.so.52 => /usr/lib/x86_64-linux-gnu/libavutil.so.52 (0x00007f63926f2000)
    libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f63924c1000)
    libjack.so.0 => /usr/lib/x86_64-linux-gnu/libjack.so.0 (0x00007f6392268000)
    libmpg123.so.0 => /usr/lib/x86_64-linux-gnu/libmpg123.so.0 (0x00007f6392011000)
    libmp3lame.so.0 => /usr/lib/x86_64-linux-gnu/libmp3lame.so.0 (0x00007f6391d84000)
    libsamplerate.so.0 => /usr/lib/x86_64-linux-gnu/libsamplerate.so.0 (0x00007f6391a18000)
    libshout-idjc.so.3 => /usr/lib/x86_64-linux-gnu/libshout-idjc.so.3 (0x00007f6391807000)
    libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f639159f000)
    libspeex.so.1 => /usr/lib/x86_64-linux-gnu/libspeex.so.1 (0x00007f6391386000)
    libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f6390eb7000)
    libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f6390c8a000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6390984000)
    libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f639077b000)
    libtwolame.so.0 => /usr/lib/libtwolame.so.0 (0x00007f6390558000)
    libopus.so.0 => /usr/lib/x86_64-linux-gnu/libopus.so.0 (0x00007f6390310000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f63900f2000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f638fd2d000)
    libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f638faef000)
    libxvidcore.so.4 => /usr/lib/x86_64-linux-gnu/libxvidcore.so.4 (0x00007f638f7b1000)
    libx264.so.142 => /usr/lib/x86_64-linux-gnu/libx264.so.142 (0x00007f638f41b000)
    libvpx.so.1 => /usr/lib/x86_64-linux-gnu/libvpx.so.1 (0x00007f638f03c000)
    libvo-amrwbenc.so.0 => /usr/lib/x86_64-linux-gnu/libvo-amrwbenc.so.0 (0x00007f638ee22000)
    libvo-aacenc.so.0 => /usr/lib/x86_64-linux-gnu/libvo-aacenc.so.0 (0x00007f638ec05000)
    libtheoraenc.so.1 => /usr/lib/x86_64-linux-gnu/libtheoraenc.so.1 (0x00007f638e9c5000)
    libtheoradec.so.1 => /usr/lib/x86_64-linux-gnu/libtheoradec.so.1 (0x00007f638e7ac000)
    libschroedinger-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libschroedinger-1.0.so.0 (0x00007f638e4e8000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f638e2cf000)
    libopenjpeg.so.2 => /usr/lib/x86_64-linux-gnu/libopenjpeg.so.2 (0x00007f638e0ad000)
    libopencore-amrwb.so.0 => /usr/lib/x86_64-linux-gnu/libopencore-amrwb.so.0 (0x00007f638de99000)
    libopencore-amrnb.so.0 => /usr/lib/x86_64-linux-gnu/libopencore-amrnb.so.0 (0x00007f638dc6f000)
    libgsm.so.1 => /usr/lib/x86_64-linux-gnu/libgsm.so.1 (0x00007f638da61000)
    libva.so.1 => /usr/lib/x86_64-linux-gnu/libva.so.1 (0x00007f638d84b000)
    librtmp.so.0 => /usr/lib/x86_64-linux-gnu/librtmp.so.0 (0x00007f638d631000)
    libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26 (0x00007f638d373000)
    libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f638d163000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f638cf5b000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f638cd57000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f638ca53000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f638c83d000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f6393ed6000)
    liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007f638c5bb000)
    libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11 (0x00007f638c33b000)
    libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f638c127000)
    libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f638bee5000)
    libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f638bce0000)
    libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f638bad8000)
undefined symbol: av_frame_unref    (/usr/lib/idjc/idjc.so)
undefined symbol: av_frame_alloc    (/usr/lib/idjc/idjc.so)
$ 

This is the machine where I built and installed all previous versions of IDJC on. The only change since the April 12, 2015 version if IDJC was installed is that I had to upgrade to a newer kernel, in order to facilitate USB3+UAS.

Any idea on how to further diagnose and/or what might be the problem? Your help is much appreciated since I normally use IDJC from this system.

1 Attachments

Discussion

  • Moonbase

    Moonbase - 2015-11-22

    If it helps, here’s the ldd output from the Linux Mint 17.2 + Cinnamon machine which worked:

    $ ldd -r /usr/lib/idjc/idjc.so
        linux-vdso.so.1 =>  (0x00007ffe275e0000)
        libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fd07af68000)
        libavcodec.so.54 => /usr/lib/x86_64-linux-gnu/libavcodec.so.54 (0x00007fd07a212000)
        libavformat.so.54 => /usr/lib/x86_64-linux-gnu/libavformat.so.54 (0x00007fd079eef000)
        libavutil.so.52 => /usr/lib/x86_64-linux-gnu/libavutil.so.52 (0x00007fd079cca000)
        libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007fd079a99000)
        libjack.so.0 => /usr/lib/x86_64-linux-gnu/libjack.so.0 (0x00007fd07983f000)
        libmpg123.so.0 => /usr/lib/x86_64-linux-gnu/libmpg123.so.0 (0x00007fd0795e8000)
        libmp3lame.so.0 => /usr/lib/x86_64-linux-gnu/libmp3lame.so.0 (0x00007fd07935b000)
        libsamplerate.so.0 => /usr/lib/x86_64-linux-gnu/libsamplerate.so.0 (0x00007fd078fee000)
        libshout-idjc.so.3 => /usr/lib/libshout-idjc.so.3 (0x00007fd078ddc000)
        libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007fd078b74000)
        libspeex.so.1 => /usr/lib/x86_64-linux-gnu/libspeex.so.1 (0x00007fd07895a000)
        libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007fd07848b000)
        libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007fd07825e000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd077f57000)
        libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007fd077d4e000)
        libtwolame.so.0 => /usr/lib/libtwolame.so.0 (0x00007fd077b2b000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd07790c000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd077547000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fd077309000)
        libxvidcore.so.4 => /usr/lib/x86_64-linux-gnu/libxvidcore.so.4 (0x00007fd076fca000)
        libx264.so.142 => /usr/lib/x86_64-linux-gnu/libx264.so.142 (0x00007fd076c34000)
        libvpx.so.1 => /usr/lib/x86_64-linux-gnu/libvpx.so.1 (0x00007fd076855000)
        libvo-amrwbenc.so.0 => /usr/lib/x86_64-linux-gnu/libvo-amrwbenc.so.0 (0x00007fd07663a000)
        libvo-aacenc.so.0 => /usr/lib/x86_64-linux-gnu/libvo-aacenc.so.0 (0x00007fd07641d000)
        libtheoraenc.so.1 => /usr/lib/x86_64-linux-gnu/libtheoraenc.so.1 (0x00007fd0761dd000)
        libtheoradec.so.1 => /usr/lib/x86_64-linux-gnu/libtheoradec.so.1 (0x00007fd075fc3000)
        libschroedinger-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libschroedinger-1.0.so.0 (0x00007fd075cff000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fd075ae6000)
        libopus.so.0 => /usr/lib/x86_64-linux-gnu/libopus.so.0 (0x00007fd07589d000)
        libopenjpeg.so.2 => /usr/lib/x86_64-linux-gnu/libopenjpeg.so.2 (0x00007fd07567b000)
        libopencore-amrwb.so.0 => /usr/lib/x86_64-linux-gnu/libopencore-amrwb.so.0 (0x00007fd075467000)
        libopencore-amrnb.so.0 => /usr/lib/x86_64-linux-gnu/libopencore-amrnb.so.0 (0x00007fd07523c000)
        libgsm.so.1 => /usr/lib/x86_64-linux-gnu/libgsm.so.1 (0x00007fd07502e000)
        libva.so.1 => /usr/lib/x86_64-linux-gnu/libva.so.1 (0x00007fd074e18000)
        librtmp.so.0 => /usr/lib/x86_64-linux-gnu/librtmp.so.0 (0x00007fd074bfd000)
        libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26 (0x00007fd07493f000)
        libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007fd07472e000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fd074526000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fd074322000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fd07401d000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd073e07000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fd07b4d3000)
        liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007fd073b84000)
        libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11 (0x00007fd073904000)
        libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007fd0736ef000)
        libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007fd0734ad000)
        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007fd0732a7000)
        libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007fd07309f000)
    $ 
    
     
  • Moonbase

    Moonbase - 2015-11-22

    Further info:

    On the very same machine (my main Ubuntu Studio one), if I do a

    git checkout ff8c983e7c502b614b8edd94584a05a1c4984e8b
    

    to revert to the April 12, 2015 version, it builds and runs correctly.

     

    Last edit: Moonbase 2015-11-22
  • Stephen Fairchild

    Two functions were renamed and moved to libavutil and the old function calls marked as deprecated. I have pushed a fix that will use the original function calls as necessary. Please test it for me.

     
  • Brian Millham

    Brian Millham - 2015-11-23

    I hadn't reported it yet, but I also saw this problem on Friday. I just pulled the new version, and that fixes the problem for me on Mint 17.2. Odd that the OP did not have the problem on 17.2, but I did.

     
  • Moonbase

    Moonbase - 2015-11-23

    Brian: Maybe that’s because I tested on a system (newly-built playout station for a radio announcer) that has LM 17.2/Cinnamon as a base + (almost) all Ubuntu Studio Packages + complete JACK support. I reckon the Ubuntu Studio stuff introduced something that helped it work …

    Stephen: Thanks, will test it today on my Ubuntu Studio 14.04.3+XFCE system today and come back with results.

     

    Last edit: Moonbase 2015-11-23
  • Moonbase

    Moonbase - 2015-11-23

    Great work, commit 6b3907d got me up and running again! Thanks!

    For some reason, it didn’t keep all my settings: I had to rewire a few connections using Patchage, but no problem of course. (I’m not that perfect using GIT, so maybe my command to revert back to HEAD using git pull origin master was wrong?)

    Is it possible that something changed regarding microphone required headroom? My setting before needed 20dB headroom but with this version it sounds like the music gets much lower in volume than before whenever I open the mic.

    Maybe its just me (I didn’t yet really check measurements against an older version)?

     

    Last edit: Moonbase 2015-11-23
    • zoschel

      zoschel - 2016-03-02

      Hi,

      I have the same Problem under Arch Linux Pur and Manjaro 15.12.
      What can Ido ? i installed it with yaourt -S idjc libshout-idjc

      failed to open /usr/lib/idjc/idjc.so

      ldd -r /usr/lib/idjc/idjc.so
          linux-vdso.so.1 (0x00007ffc686c8000)
          libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f6a4c73e000)
          libavcodec.so.57 => /usr/lib/libavcodec.so.57 (0x00007f6a4b066000)
          libavformat.so.57 => /usr/lib/libavformat.so.57 (0x00007f6a4ac4e000)
          libavutil.so.55 => /usr/lib/libavutil.so.55 (0x00007f6a4a9ce000)
          libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0x00007f6a4a756000)
          libjack.so.0 => /usr/lib/libjack.so.0 (0x00007f6a4a50e000)
          libmpg123.so.0 => /usr/lib/libmpg123.so.0 (0x00007f6a4a2ae000)
          libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x00007f6a4a036000)
          libm.so.6 => /usr/lib/libm.so.6 (0x00007f6a49d2e000)
          libsamplerate.so.0 => /usr/lib/libsamplerate.so.0 (0x00007f6a499be000)
          libshout-idjc.so.3 => /usr/lib/libshout-idjc.so.3 (0x00007f6a497a6000)
          libogg.so.0 => /usr/lib/libogg.so.0 (0x00007f6a4959e000)
          libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0x00007f6a49326000)
          libspeex.so.1 => /usr/lib/libspeex.so.1 (0x00007f6a49106000)
          libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007f6a48e4e000)
          libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007f6a48c1e000)
          libtwolame.so.0 => /usr/lib/libtwolame.so.0 (0x00007f6a489f6000)
          libswresample.so.2 => /usr/lib/libswresample.so.2 (0x00007f6a487d6000)
          libopus.so.0 => /usr/lib/libopus.so.0 (0x00007f6a4857e000)
          libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f6a4835e000)
          libc.so.6 => /usr/lib/libc.so.6 (0x00007f6a47fb6000)
          libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f6a47d46000)
          libva.so.1 => /usr/lib/libva.so.1 (0x00007f6a47b26000)
          libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x00007f6a4780e000)
          libx265.so.79 => /usr/lib/libx265.so.79 (0x00007f6a467e6000)
          libx264.so.148 => /usr/lib/libx264.so.148 (0x00007f6a4646e000)
          libwebpmux.so.2 => /usr/lib/libwebpmux.so.2 (0x00007f6a4625e000)
          libwebp.so.6 => /usr/lib/libwebp.so.6 (0x00007f6a45ffe000)
          libvpx.so.3 => /usr/lib/libvpx.so.3 (0x00007f6a45a96000)
          libtheoraenc.so.1 => /usr/lib/libtheoraenc.so.1 (0x00007f6a4584e000)
          libtheoradec.so.1 => /usr/lib/libtheoradec.so.1 (0x00007f6a4562e000)
          libschroedinger-1.0.so.0 => /usr/lib/libschroedinger-1.0.so.0 (0x00007f6a4534e000)
          libopenjpeg.so.1 => /usr/lib/libopenjpeg.so.1 (0x00007f6a4511e000)
          libopencore-amrwb.so.0 => /usr/lib/libopencore-amrwb.so.0 (0x00007f6a44f06000)
          libopencore-amrnb.so.0 => /usr/lib/libopencore-amrnb.so.0 (0x00007f6a44cd6000)
          libgsm.so.1 => /usr/lib/libgsm.so.1 (0x00007f6a44ac6000)
          libdcadec.so.0 => /usr/lib/libdcadec.so.0 (0x00007f6a4488e000)
          liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f6a44666000)
          libz.so.1 => /usr/lib/libz.so.1 (0x00007f6a4444e000)
          libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f6a44246000)
          libssh.so.4 => /usr/lib/libssh.so.4 (0x00007f6a43fc6000)
          libmodplug.so.1 => /usr/lib/libmodplug.so.1 (0x00007f6a43c36000)
          libbluray.so.1 => /usr/lib/libbluray.so.1 (0x00007f6a439ee000)
          libgnutls.so.30 => /usr/lib/libgnutls.so.30 (0x00007f6a436b6000)
          libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f6a434a6000)
          librt.so.1 => /usr/lib/librt.so.1 (0x00007f6a4329e000)
          libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f6a43046000)
          libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f6a42cbe000)
          libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f6a42aa6000)
          /usr/lib64/ld-linux-x86-64.so.2 (0x000055c9cc874000)
          libsoxr.so.0 => /usr/lib/libsoxr.so.0 (0x00007f6a4282e000)
          liborc-0.4.so.0 => /usr/lib/liborc-0.4.so.0 (0x00007f6a425ae000)
          libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x00007f6a42136000)
          libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f6a41dc6000)
          libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f6a41b86000)
          libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f6a418c6000)
          libp11-kit.so.0 => /usr/lib/libp11-kit.so.0 (0x00007f6a4165e000)
          libtasn1.so.6 => /usr/lib/libtasn1.so.6 (0x00007f6a41446000)
          libnettle.so.6 => /usr/lib/libnettle.so.6 (0x00007f6a4120e000)
          libhogweed.so.4 => /usr/lib/libhogweed.so.4 (0x00007f6a40fd6000)
          libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007f6a40d5e000)
          libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007f6a40cd6000)
          libgomp.so.1 => /usr/lib/libgomp.so.1 (0x00007f6a40aae000)
          libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f6a4087e000)
          libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f6a40646000)
          libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f6a403de000)
          libffi.so.6 => /usr/lib/libffi.so.6 (0x00007f6a401ce000)
          libcap.so.2 => /usr/lib/libcap.so.2 (0x00007f6a3ffc6000)
          libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f6a3fdae000)
          liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007f6a3fb96000)
          libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007f6a3f8ae000)
          libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f6a3f696000)
          libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f6a3f466000)
      undefined symbol: avcodec_alloc_frame   (/usr/lib/idjc/idjc.so)
      undefined symbol: avcodec_get_frame_defaults    (/usr/lib/idjc/idjc.so)
      

      Thanx``

       

      Last edit: zoschel 2016-03-02
  • Stephen Fairchild

    Zoschel, the version of idjc packaged is not compatible with their version of ffmpeg. The only fix is to build idjc from source.

     
    • zoschel

      zoschel - 2016-03-02

      Thanx Stephen,
      i build it under Arch from source, libshout is installed by yaourt -S libshout-idjc, ok, so

      i clone it from git,
      ,/bootstrap
      ./configure CFLAGS="-O2" --prefix=/usr

      checking for shout_set_meta in -lshout-idjc... no
      configure: error: required function not detected
      

      end, aported.

      How can i make under arch to build it from source? same as under Ubuntu?

      Thanx

      git version under arch by yaourt is defekt

      https://aur.archlinux.org/packages/libshout-idjc-git/

       

      Last edit: zoschel 2016-03-02
  • zoschel

    zoschel - 2016-03-02

    Ok,

    git clone git://git.code.sf.net/p/idjc/code idjc-code
    cd idjc-code
    cd libshout-idjc
    ./configure CFLAGS="-O2" --prefix=/usr
    make
    make install
    ldconfig

    no error, great

    cd ..
    ./bootstrap
    ./configure CFLAGS="-O2" --prefix=/usr
    make
    sudo make install
    exit

    no error, great

    $idjc

    File "/usr/bin/idjc", line 30
    print "failed to import the idjc package"
    ^
    SyntaxError: Missing parentheses in call to 'print'

    idjc is not startet :(

     

    Last edit: zoschel 2016-03-02
  • zoschel

    zoschel - 2016-03-02

    Sytanx Error is not the problem ---> print ("failed to import the idjc package") and its done,

    sys.path.insert(0, """/usr/lib/idjc/site-packages""") ?

     
  • Stephen Fairchild

    That error indicates Python 3 is running. Try this:

    $ PYTHON=$(which python2) ./configure
    

    Then do the rest of the IDJC build.

     
  • zoschel

    zoschel - 2016-03-02

    Great, it works, Thanx Stephen!!!!!!!

     
  • Peter Vágner

    Peter Vágner - 2016-03-10

    I'm trying to prepare updates to libshout-idjc and idjc aur packages.
    I need to come up with a way that when installing libshout-idjc there are some conflicting files with original libshout e.g. /usr/share/aclocal/shout.m4 . Can I just move these files somewhere else?

     
  • Moonbase

    Moonbase - 2016-09-10

    After a long time, I today had some spare time to try compiling IDJC on my Ubuntu Studio machine again (Ubuntu 14.04.5 LTS, kernel 4.4.0-36-lowlatency). It compiles fine, but upon starting I still get the "IDJC Failed to open /usr/lib/idjc/idjc.so" message.

    ldd -r /usr/lib/idjc/idjc.so doesn’t complain about the undefined symbols "avcodec_alloc_frame" and "avcodec_get_frame_defaults" anymore. but there is a new one:

    $ ldd -r /usr/lib/idjc/idjc.so
    
    … (some output)
    
    undefined symbol: shout_set_meta    (/usr/lib/idjc/idjc.so)
    

    I’m on "origin/master" at commit 7e4ff89963b91d387c84311d4f18c9596df563df.

    As always, thanks for checking! Also, I promise to look here more often the next weeks ;-)

     
    • Stephen Fairchild

      Your libshout-idjc is out of date. Build from this git version and make sure the old version is gone.
      git clone git://git.code.sf.net/p/idjc/libshoutidjc/code idjc-libshoutidjc-code. You will most likely need to run "autoreconf -ifs" before doing the usual build sequence.

      Or get the lastest release.
      https://sourceforge.net/projects/idjc/files/libshout-idjc/libshout-idjc-2.4.1.tar.gz/download

       
  • Moonbase

    Moonbase - 2016-09-24

    Hm. I tried

    git clone git://git.code.sf.net/p/idjc/libshoutidjc/code idjc-libshoutidjc-code
    cd idjc-libshoutidjc-code/
    autoreconf -ifs
    

    Here’s the output:

    libtoolize: putting auxiliary files in `.'.
    libtoolize: linking file `./ltmain.sh'
    libtoolize: putting macros in `m4'.
    libtoolize: linking file `m4/libtool.m4'
    libtoolize: linking file `m4/ltoptions.m4'
    libtoolize: linking file `m4/ltsugar.m4'
    libtoolize: linking file `m4/ltversion.m4'
    libtoolize: linking file `m4/lt~obsolete.m4'
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
    configure.ac:133: error: possibly undefined macro: AC_MSG_WARN
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
    configure.ac:195: error: possibly undefined macro: AC_MSG_NOTICE
    autoreconf: /usr/bin/autoconf failed with exit status: 1
    

    No go. So, just for fun, I went to my current IDJC folder and did

    git pull origin master
    

    which brought me from ff8c983 to 7e4ff89 again.

    So I tried

    ./bootstrap
    cd libshout-idjc
    ./configure CFLAGS="-O2" --prefix=/usr
    make
    sudo make install
    sudo ldconfig
    cd ..
    ./configure CFLAGS="-O2" --prefix=/usr
    make
    sudo make install
    idjc
    

    For whatever odd reason, it seems to run. Build info shows

    Commit hash: 7e4ff89963b91d387c84311d4f18c9596df563df
    Commit date: Sun, 19 Jun 2016 19:16:20 +0100
    Repo status: dirty
    Remote URL: git://git.code.sf.net/p/idjc/code
    Build date: Sat, 24 Sep 2016 13:42:15 +0200
    

    Hint: It’d be great to also show the libshout-idjc version here!

    My 4 stream server’s connection data was gone but on re-entering I could see the new fields for the newer shoutcast servers. So it seems to work.

    Nevertheless, I wonder how to easily find the version of libshout-idjc installed.
    When checking in /usr/lib, I get

    ls -l /usr/lib/libsh*
    -rw-r--r-- 1 root root 144234 Sep 24 13:39 libshout-idjc.a
    -rwxr-xr-x 1 root root   1048 Sep 24 13:39 libshout-idjc.la
    lrwxrwxrwx 1 root root     22 Sep 24 13:39 libshout-idjc.so -> libshout-idjc.so.3.2.0
    lrwxrwxrwx 1 root root     22 Sep 24 13:39 libshout-idjc.so.3 -> libshout-idjc.so.3.2.0
    -rwxr-xr-x 1 root root 109908 Sep 24 13:39 libshout-idjc.so.3.2.0
    

    Does that look about correct? Just wondering about the "3.2.0" …

     
  • Moonbase

    Moonbase - 2016-09-24

    I found some problem with the new libshout, but I’ll open another ticket for that …

     

    Last edit: Moonbase 2016-09-24
  • Stephen Fairchild

    • status: open --> closed
     

Log in to post a comment.