openbsd support
Posted: Mon May 28, 2007 10:26 am
i'm trying to compile zoneminder (1.22.3) on openbsd 4.0-stable (i386 arch)
if i manage to get it run, i will do a port. (for network use, as there is no webcam drivers i believe)
for now i get the following problem on configure:
checking for jpeg_start_compress in -ljpeg... yes
checking for compress in -lz... yes
checking for dlsym in -ldl... no
configure: error: zm requires libdl.a
*** Error code 1
problem: dlsym exist on openbsdl but there is no libdl
http://www.openbsd.org/cgi-bin/man.cgi? ... ormat=html
if i check manually conftest and i compile it without -ldl flag, it works:
c++ -o conftest -O2 -pipe -I/usr/local/include -L/usr/local/lib -L/usr/local/lib/mysql conftest.cpp -lz -ljpeg
is there a way in configure option to make it happen this way ?
how do i change the configure.in line:
AC_CHECK_LIB(dl,dlsym,,AC_MSG_ERROR(zm requires libdl.a))
thanks
regards
if i manage to get it run, i will do a port. (for network use, as there is no webcam drivers i believe)
for now i get the following problem on configure:
checking for jpeg_start_compress in -ljpeg... yes
checking for compress in -lz... yes
checking for dlsym in -ldl... no
configure: error: zm requires libdl.a
*** Error code 1
problem: dlsym exist on openbsdl but there is no libdl
http://www.openbsd.org/cgi-bin/man.cgi? ... ormat=html
if i check manually conftest and i compile it without -ldl flag, it works:
c++ -o conftest -O2 -pipe -I/usr/local/include -L/usr/local/lib -L/usr/local/lib/mysql conftest.cpp -lz -ljpeg
is there a way in configure option to make it happen this way ?
how do i change the configure.in line:
AC_CHECK_LIB(dl,dlsym,,AC_MSG_ERROR(zm requires libdl.a))
thanks
regards