At 13:44 31-10-2002, Michael Smith declared:>At 01:18 PM 31/10/2002 +0100, you wrote:
> >And more importantly (for me) - Can I ask question about Shout.pm?
>Yes. And yes, you can ask questions, but you should just do so - not
>waste time asking if you can do so. This doesn't (either way) guarantee
>anyone will be able to give you useful answers, but you should try
>anyway.
<Sorry about the delay, work interviened...>
History:
Using Linux Redhat 7.3 on my server, patched up to date using apt-get.
Installed:
shout-0.8.0-2
icecast-1.3.12
lame-3.91-1
libshout-1.0.7-1
libshout-1.0.7-1.src
ibshout-devel-1.0.7-1
MP3-Info-1.01
streamcast-0.8
Action - Trying to install Shout-1.0 (Shout.pm/so - rigth?), so I can use
streamcast-0.8
Problem:
Cant compile - Odd error:
--
[root@b5fie Shout-1.0]# ls
blib example.pl Makefile.PL Shout.bs Shout.pm typemap
Changes Makefile MANIFEST Shout.c Shout.xs
example2.pl Makefile.old pm_to_blib Shout.o test.pl
[root@b5fie Shout-1.0]# perl Makefile.PL
Writing Makefile for Shout
[root@b5fie Shout-1.0]# make
gcc -c -fno-strict-aliasing -I/usr/local/include -O2 -march=i386
-mcpu=i686 -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC
-I/usr/lib/perl5/5.6.1/i386-linux/CORE Shout.c
Running Mkbootstrap for Shout ()
chmod 644 Shout.bs
rm -f blib/arch/auto/Shout/Shout.so
LD_RUN_PATH="/usr/lib" gcc -shared -L/usr/local/lib Shout.o -o
blib/arch/auto/Shout/Shout.so -lshout
/usr/bin/ld: cannot find -lshout
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Shout/Shout.so] Error 1
[root@b5fie Shout-1.0]#
--
If I remove -lshout (Since it says Shout *migth need* other libraries) from
following section Makefile:
--
# Shout might depend on some other libraries:
# See ExtUtils::Liblist for details
#
EXTRALIBS = -lshout
LDLOADLIBS = -lshout
BSLOADLIBS LD_RUN_PATH = /usr/lib
--
It compiles and installs.
But it does work - fails when used / tested with :
--
[root@b5fie Shout-1.0]# perl test.pl
1..3
ok 1
perl: relocation error:
/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Shout/Shout.so: undefined
symbol: shout_init_connection
--
Now I am a programmer, but never been strong in C ;)
So can anyone give me a helping hand / point me in the rigth direction?
<p>Anders Jensen
System devel.
Cybercity.dk, OSS projektet
----
<erno> hm. I've lost a machine.. literally _lost_. it responds to
ping, it
works completely, I just can't figure out where in my apartment it is.
Sig. provided by www.bash.org
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to
'icecast-dev-request@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.