[Icecast] Trying to build ices-0.4 on ubuntu and "libshout not usable"

Ray Lutz raylutz at cognisys.com
Fri Apr 29 23:03:20 UTC 2016


Hello:
I hope someone can take a look at this and give me a little push to get 
me past this logjam.

I've been running icecast + ices-0.4 + a perl application developed 
internally which runs an mp3 stream for a number of years.
I am migrating my server from CentOS to ubuntu so I can upgrade to Perl 
5.18 (so as to get clean unicode processing for another application.) I 
have installed everything else but ices is not cooperating.

On CentOS, I had no problem building ices-0.4. Now, configure says it 
can't find a usable version of libshout.
but I built libshout and it exists at /usr/local/lib:

root at vps4:/var/www/vhosts/airprogressive.org/private/othercode/ices-0.4# 
ls /usr/local/lib/libshout* -al
-rw-r--r-- 1 root root 543020 Apr 29 18:20 /usr/local/lib/libshout.a
-rwxr-xr-x 1 root root   1031 Apr 29 18:20 /usr/local/lib/libshout.la
lrwxrwxrwx 1 root root     17 Apr 29 18:20 /usr/local/lib/libshout.so -> 
libshout.so.3.2.0
lrwxrwxrwx 1 root root     17 Apr 29 18:20 /usr/local/lib/libshout.so.3 
-> libshout.so.3.2.0
-rwxr-xr-x 1 root root 326803 Apr 29 18:20 /usr/local/lib/libshout.so.3.2.0

Strangely, even though I built and installed libshout-2.4.1 it winds up 
installing as libshout.so.3.2.0.

Here is a list of things that may be useful from a browser-activated 
perl script that gives me the basics.
-----------------------------------------
OS    ‪Ubuntu 14.04.4 LTS

Environment Variables:
CONTEXT_DOCUMENT_ROOT = /var/www/vhosts/cognisys.com/httpdocs
CONTEXT_PREFIX =
DOCUMENT_ROOT = /var/www/vhosts/cognisys.com/httpdocs
GATEWAY_INTERFACE = CGI/1.1
HTTP_ACCEPT = 
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_ACCEPT_ENCODING = gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE = en-US,en;q=0.8
HTTP_CACHE_CONTROL = max-age=0
HTTP_CONNECTION = keep-alive
HTTP_HOST = 69.73.179.57
HTTP_UPGRADE_INSECURE_REQUESTS = 1
HTTP_USER_AGENT = Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 
(KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36
MOD_PERL = mod_perl/2.0.8
MOD_PERL_API_VERSION = 2
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
QUERY_STRING =
REMOTE_ADDR = 72.220.142.223
REMOTE_PORT = 17565
REQUEST_METHOD = GET
REQUEST_SCHEME = http
REQUEST_URI = /w203/bin/simple
SCRIPT_FILENAME = /var/www/vhosts/cognisys.com/httpdocs/w203/bin/simple
SCRIPT_NAME = /w203/bin/simple
SCRIPT_URI = http://69.73.179.57/w203/bin/simple
SCRIPT_URL = /w203/bin/simple
SERVER_ADDR = 69.73.179.57
SERVER_ADMIN = raylutz at cognisys.com
SERVER_NAME = 69.73.179.57
SERVER_PORT = 80
SERVER_PROTOCOL = HTTP/1.1
SERVER_SIGNATURE =

Apache Server at 69.73.179.57 Port 80

SERVER_SOFTWARE = Apache
uid=33(www-data) gid=33(www-data) 
groups=33(www-data),1002(psaserv),1008(psasb)
Other Information:
Perl Version: 5.018002

-----------------------------
And here is what happens when I try to configure.
-----------------------------

# ./configure --with-perl --with-lame
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for sys/wait.h that is POSIX.1 compatible... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for vsnprintf... yes
checking for setsid... yes
checking for setlinebuf... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports 
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports 
shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports 
shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for pkg-config... no
checking for shout-config... no
configure: error: Could not find a usable libshout

IDEAS???

Thank you in advance!
--Ray Lutz





More information about the Icecast mailing list