Error compiling on FreeBSD

Bug #1029088 reported by Sveta Smirnova on 2012-07-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Status tracked in Trunk
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, -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
./configure --prefix=$HOME --with-mysql=$HOME/build/mysql-5.5.25b

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