| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Tue Dec 19, 2006 12:45 am Post subject: Error with libshout and shout-python |
|
|
I've gotten this working with no problems on other machines, but for some reason I'm having an issue now. This is a fresh Fedora 5 install. I installed libshout and icecast using yum, then installed the shout-python library (though I get the identical error using alternate bindings, shoutpy for example).
In python, typing "import shout" returns this:
ImportError: /usr/lib/libshout.so.3: undefined symbol: speex_packet_to_header
Speex and speex-devel both seem to exist, so I'm not sure what's up.
I just can't figure out where to go with this one. Any advice? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Dec 19, 2006 12:56 am Post subject: |
|
|
firstly make sure you have the latest libshout, then make sure that libspeex to being loaded by libshout (ldd /usr/lib/libshout.so.3).
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Tue Dec 19, 2006 8:43 pm Post subject: |
|
|
Here's the output of ldd /usr/lib/libshout.so.3:
linux-gate.so.1 => (0x00f8f000)
libtheora.so.0 => /usr/lib/libtheora.so.0 (0x0037a000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00ad6000)
libm.so.6 => /lib/libm.so.6 (0x007c5000)
libogg.so.0 => /usr/lib/libogg.so.0 (0x003ac000)
libpthread.so.0 => /lib/libpthread.so.0 (0x0020b000)
libc.so.6 => /lib/libc.so.6 (0x0021f000)
/lib/ld-linux.so.2 (0x46fcb000)
OK, it seems Libspeex is not there. Any thoughts on how to link it in? I naively tried:
ldconfig -l libspeex.so.1.3.0 libshout.so.3.2.0
and switching the library order, that didn't cut it.
I installed libshout using yum, so maybe I should build from source? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Dec 19, 2006 10:20 pm Post subject: |
|
|
you'll have to recreate the lib, your libshout is referring to libspeex symbols but is relying on whatever is linking it (python in this case) to include libspeex. I'd try rebuilding from source and make sure you have a recent libspeex installed.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Dec 20, 2006 12:11 am Post subject: |
|
|
Ok, rebuilding it worked smoothly. It put everything in /usr/local/lib instead of /usr/lib, but a couple symbolic links worked just fine.
This is the first time I've tried installing libshout via yum, and it didn't seem to work right. I'm half wondering if anybody else is having the same problem using the yum version? |
|
| Back to top |
|
 |
jcr Modérateur français

Joined: 14 Apr 2006 Posts: 544 Location: France, Auvergne
|
Posted: Wed Dec 20, 2006 5:43 pm Post subject: |
|
|
In FC 5 builds, it seems a require missed somewhere in libshout builds. This has been corrected in FC6 _________________ Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting |
|
| Back to top |
|
 |
|