Witam Mam problem z kompilacją demona

„-ldl”    o co z tym chodzi?

 

Jak usune „-ldl” to idzie ale są błędy i nic nie działa

-------------

hosting# ./configure --prefix=/usr/local --with-mysql --libdir=/usr/local/lib/mysql --incdir=/usr/local/include/mysql

OS Type... FreeBSD

Database type... MySQL

Library location... /usr/local/lib/mysql

Includes location... /usr/local/include/mysql

SQL queries debugging... no

Events debugging... no

Configuration file... no

Daemon install directory... /usr/local/lms/bin

Modules install directory... /usr/local/lms/lib

Create Makefile for main program... done

Create Makefile for mod_cutoff... done

Create Makefile for mod_dhcp... done

Create Makefile for mod_dns... done

Create Makefile for mod_ethers... done

Create Makefile for mod_ewx-pt... done

Create Makefile for mod_ewx-stm... done

Create Makefile for mod_ggnotify... done

Create Makefile for mod_hostfile... done

Create Makefile for mod_notify... done

Create Makefile for mod_oident... done

Create Makefile for mod_parser... done

Create Makefile for mod_payments... done

Create Makefile for mod_pinger... done

Create Makefile for mod_system... done

Create Makefile for mod_tc... done

Create Makefile for mod_tc-new... done

Create Makefile for mod_traffic... done

Create Makefile for mod_parser extensions... done

***************************************************************

Configuration finished. Now You can type 'make && make install'

hosting# make

make -C modules

for i in `echo cutoff dhcp dns ethers ewx-pt ewx-stm ggnotify hostfile notify oident parser payments system tc tc-new traffic`; do make -C $i ; done

gcc -shared cutoff.o -o cutoff.so -L/usr/local/lib/mysql -lmysqlclient -ldl

/usr/bin/ld: cannot find -ldl

*** Error code 1

 

Stop in /www/lms/daemon/modules/cutoff.

*** Error code 1

 

Stop in /www/lms/daemon/modules.

*** Error code 1

 

Stop in /www/lms/daemon.

---------------------

!DSPAM:4a5c9f1f147946258220944!