Error compiling on FreeBSD

Bug #1029088 reported by Sveta Smirnova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysbench
Status tracked in Trunk
Trunk
Triaged
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

Revision history for this message
Alexey Kopytov (akopytov) wrote :

Fixed in trunk.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.