[icecast] building icecast2 on OpenBSD

jeff at unsealed.net jeff at unsealed.net
Tue Mar 25 05:41:55 UTC 2003



Is there anyone who has built icecast2 successfully for OpenBSD? I built it 
from source with no problem on Linux, but on my OBSD system the configure bombs 
while checking for a function in libxslt...

# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... 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 build system type... i386-unknown-openbsd3.2
checking host system type... i386-unknown-openbsd3.2
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
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 dependant libraries... file_magic OpenBSD.* shared 
library
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
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... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... openbsd3.2 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for library containing inet_pton... no
checking for library containing getipnodebyname... no
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for unistd.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for socklen_t... yes
checking for nanosleep... no
checking for poll... no
checking for sethostent... no
checking for endhostent... no
checking for getnameinfo... no
checking for getaddrinfo... no
checking for inet_pton... no
checking for xslt-config... xslt-config
checking for xsltParseStylesheetFile... no
configure: error: There was a problem linking with libxslt

the library is in the ld path:

# ldconfig -r | grep xslt
        65:-lexslt.7.18 => /usr/local/lib/libexslt.so.7.18
        66:-lxslt.1.27 => /usr/local/lib/libxslt.so.1.27
        67:-lxsltbreakpoint.1.8 => /usr/local/lib/libxsltbreakpoint.so.1.8

and the symbol is in there:

# nm /usr/local/lib/libxslt.so.1.27 | grep ParseStylesheet
 
000151a4 T _xsltParseStylesheetAttributeSet
0000c51c T _xsltParseStylesheetCallerParam
00003cc0 T _xsltParseStylesheetDoc
00003dcc T _xsltParseStylesheetFile
00014714 T _xsltParseStylesheetImport
00003c58 T _xsltParseStylesheetImportedDoc
00014978 T _xsltParseStylesheetInclude
00000fb8 T _xsltParseStylesheetOutput
0000c8c0 T _xsltParseStylesheetParam
00003a78 T _xsltParseStylesheetProcess
0000c828 T _xsltParseStylesheetVariable

I'm assuming this is an OBSD linking problem, but I dont know my way out of it. 
I've set the LD_LIBRARY_PATH environment variable and still get the same 
problem.

the machine:

OpenBSD 3.2-stable (x86)
autoconf-2.52 from package
automake-1.4p6 from package
libogg-1.0 from package
libtool-1.3.5p3 from package
libvorbis-1.0 from package
libxml2-2.5.4 from source
libxslt-1.0.27 from source

the icecast tarball is a snapshot from yesterday. 

icecast1 works fine on the same machine.

thanks in advance for any help.

jeff
--- >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 at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast mailing list