SysBench: a system performance benchmark

Error compiling on FreeBSD

Reported by Sveta Smirnova on 2012-07-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysbench
Status tracked in Trunk
Trunk
Undecided
Alexey Kopytov

Bug Description

When I try to compile sysbench on FreeBSD I get error:

/usr/bin/ld: cannot find -ldl
*** Error code 1

As described at http://forums.freebsd.org/showthread.php?t=5799, -ldl is not needed on FreeBSD. Workaround: remove this option from sysbench/Makefile

Sysbench version: 0.5
FreeBSD 8.2, amd64

How to repeat:

bzr co https://code.launchpad.net/~sysbench-developers/sysbench/0.5
./autogen.sh
./configure --prefix=$HOME --with-mysql=$HOME/build/mysql-5.5.25b
make

Alexey Kopytov (akopytov) wrote :

Fixed in trunk.

Alexey Kopytov (akopytov) wrote :

Had to revert the fix, because the 'clean' way to fix this issue appears to be incompatible with ancient autotools versions, i.e. the ones installed in RedHat/Centos 5.4.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers