Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error with libshout and shout-python

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Tue Dec 19, 2006 12:45 am    Post subject: Error with libshout and shout-python Reply with quote

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
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Dec 19, 2006 12:56 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Tue Dec 19, 2006 8:43 pm    Post subject: Reply with quote

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
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Dec 19, 2006 10:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Wed Dec 20, 2006 12:11 am    Post subject: Reply with quote

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
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Wed Dec 20, 2006 5:43 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber