I get problems in SunOS 5.9 with library aprutil-0 - is it some
obvious problem? Wrong Apache version? Wrong Apache config (at
build time; there are complaints that cc was used). See attached
output.
Peter Svanberg
-- Carlo Contavalli <ccontavalli@xxxxxxxxxxx> skrev, den 12
november 2004 kl 21.36 +0100:
> Anyone on the list have experience with installing and
> using it on SunOS?
Personally, I haven't tested it, but it should work as long as
GNU Make and gcc is used. It may also work without gcc, if you
don't enable debugging. If you have troubles, I'd be happy to
provide as much support as I can. I really need to have
feedbacks about modxslt on other architectures.
* Apache has been compiled with a different compiler than the
specified (or detected) one!
* I will use the same compiler as used by apache: 'cc'
* I'm also assuming 'cc' is ISO C and POSIX compliant.
checking for apr_send in -lapr-0... yes
checking for apr_brigade_create in -laprutil-0... no
configure: error: apache2: 'aprutil-0' library found is not valid.
In config.log
configure:22902: checking for apr_brigade_create in -laprutil-0
configure:22932: gcc -o conftest -g -O2
-I/pkg/libxml/2.6.16/include/libxml2 -I/afs/.nada.k\
th.se/pkg/libxslt/1.1.12/include
-I/pkg/libxml/2.6.16/include/libxml2 -I/afs/.nada.kth.se/pk\
g/libpcre/5.0/include conftest.c -laprutil-0
-L/pkg/apache/2.0.48/os/lib -laprutil-0 -lex\
pat -L/pkg/apache/2.0.48/os/lib -lapr-0
-L/afs/.nada.kth.se/pkg/libxslt/1.1.12/lib -L/pkg/\
libxml/2.6.16/lib -R/pkg/libxml/2.6.16/lib -lxslt -lxml2 -lz
-lpthread -lsocket -lnsl -lm -L\
/afs/.nada.kth.se/pkg/libpcre/5.0/lib
-R/afs/.nada.kth.se/pkg/libpcre/5.0/lib -lpcre >&5
Undefined first referenced
symbol in file
sem_close
/pkg/apache/2.0.48/os/lib/libapr-0.so
sem_unlink
/pkg/apache/2.0.48/os/lib/libapr-0.so
hstrerror
/pkg/apache/2.0.48/os/lib/libapr-0.so
sem_open
/pkg/apache/2.0.48/os/lib/libapr-0.so
sem_post
/pkg/apache/2.0.48/os/lib/libapr-0.so
sem_wait
/pkg/apache/2.0.48/os/lib/libapr-0.so
ld: fatal: Symbol referencing errors. No output written to
conftest
collect2: ld returned 1 exit status