Index of /pub/apache/dist/commons/daemon/binaries/1.0.1/freebsd

Icon  Name                                            Last modified      Size  Description
[PARENTDIR] Parent Directory - [TXT] HEADER.html 2007-09-02 21:05 464 [TXT] README.html 2005-05-17 16:12 668 [   ] jdk1.4.2_freebsd-4.11_i386.jar.gz 2005-05-17 15:52 31K [TXT] jdk1.4.2_freebsd-4.11_i386.jar.gz.asc 2005-05-17 15:52 189

Commons Daemon 1.0.1

To building on version >= 4.10 you have to patch configure:

+++
--- configure	2005-05-17 13:00:45 +0200
+++ configure.freebsd	2005-05-17 17:02:16 +0200
@@ -2404,7 +2404,7 @@
     CFLAGS="$CFLAGS -DOS_SYSV -DDSO_DLFCN -Kthread"
     LDFLAGS="-Kthread $LDFLAGS -ldl"
     ;;
-  freebsd4.?)
+  freebsd*)
     CFLAGS="$CFLAGS -DOS_FREEBSD -DDSO_DLFCN -D_THREAD_SAFE -pthread"
     LDFLAGS="-pthread $LDFLAGS"
     supported_os="freebsd"
+++

You also may have to set LD_LIBRARY_PATH and export it:

LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386/client:$JAVA_HOME/jre/lib/i386
export LD_LIBRARY_PATH