[icecast] error compile Shout-2.0.1 on FreeBSD 4.9

Alexander Ivlev
Fri, 06 Aug 2004 14:23:46 -0000

Hello, All!

Sorry for my english, I'am from Ukraine.

I trying install Shout 2.0.1 module on my server:

# perl Makefile.PL

Checking if your kit is complete...
Looks good
Writing Makefile for Shout

# make
cp example2.pl blib/lib/example2.pl
cp example.pl blib/lib/example.pl
cp Shout.pm blib/lib/Shout.pm
AutoSplitting blib/lib/Shout.pm (blib/lib/auto/Shout)
/usr/bin/perl -I/usr/local/lib/perl5/5.6.1/mach -I/usr/local/lib/perl5/5.6.1/BSD
PAN /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.
6.1/ExtUtils/typemap -typemap typemap Shout.xs > Shout.xsc && mv
Shout.xsc Shout
.c
cc -c  -D_THREAD_SAFE -I/usr/local/include -O -pipe
-DVERSION=\"2.0.1\"  -DXS
_VERSION=\"2.0.1\" -DPIC -fPIC -I/usr/local/lib/perl5/5.6.1/mach/CORE
Shout.c
Running Mkbootstrap for Shout ()
chmod 644 Shout.bs
rm -f blib/arch/auto/Shout/Shout.so
LD_RUN_PATH="/usr/local/lib" cc  -shared  -L/usr/local/lib Shout.o  -o
blib/arch
/auto/Shout/Shout.so   -L/usr/local/lib -lshout -lvorbis
chmod 755 blib/arch/auto/Shout/Shout.so
cp Shout.bs blib/arch/auto/Shout/Shout.bs
chmod 644 blib/arch/auto/Shout/Shout.bs
Manifying blib/man3/Shout.3

# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.
6.1/mach -I/usr/local/lib/perl5/5.6.1/BSDPAN test.pl
1..3
Can't load 'blib/arch/auto/Shout/Shout.so' for module Shout:
/usr/local/lib/libs
hout.so.3: Undefined symbol "pthread_cond_signal" at
/usr/local/lib/perl5/5.6.1/
mach/DynaLoader.pm line 206.
 at test.pl line 8
Compilation failed in require at test.pl line 8.
BEGIN failed--compilation aborted at test.pl line 8.
*** Error code 255

Stop in /root/Shout-2.0.1.

# make install
Installing /usr/local/lib/perl5/site_perl/5.6.1/mach/auto/Shout/Shout.so
Installing /usr/local/lib/perl5/site_perl/5.6.1/mach/auto/Shout/Shout.bs
Files found in blib/arch: installing files in blib/lib into architecture depende
nt library tree
Installing /usr/local/lib/perl5/site_perl/5.6.1/mach/example2.pl
Installing /usr/local/lib/perl5/site_perl/5.6.1/mach/example.pl
Installing /usr/local/lib/perl5/site_perl/5.6.1/mach/Shout.pm
Installing /usr/local/lib/perl5/site_perl/5.6.1/mach/auto/Shout/autosplit.ix
Installing /usr/local/lib/perl5/5.6.1/man/man3/Shout.3
Writing /usr/local/lib/perl5/site_perl/5.6.1/mach/auto/Shout/.packlist
FreeBSD: Registering installation in the package database
Appending installation info to /usr/local/lib/perl5/5.6.1/mach/perllocal.pod

# ./example.pl
/usr/libexec/ld-elf.so.1: /usr/local/lib/libshout.so.3: Undefined symbol
"pthrea
d_mutex_init"

I'am upgrade perl to perl-5.6.1_15 from ports, install from ports
icecast2-2.0.0_2,1 and libshout2-2.0_3,1.

Please help, why is't don't want compile on my system?


--
With Best Regards,
 Alexander Ivlev

--- >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-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.