The binary image turnserver is compiled with
mysql support, in your case. That means that the dynamic linker will
always try to find the mysql library, no matter whatever options you
will provide.
You did not mess up
anything, the mysql package messed up. MySQL is not exactly a public
software anymore, it belongs to Oracle now and the people are starting
seeing some problems with it.
The easiest option I believe would be to browse the Internet, try the proposed solutions and figure it out.
If
you absolutely want to try something else, then you have to eliminate
mysql from the binary and to use something else (for example, PostgreSQL
- it is simpler and better now than MySQL):
1) Remove all traces of mysql packages from your system (optional step).
2) Install required PostgreSQL packets (see the installation instructions).
3) Get a fresh tarballs 2.6.2.1 from the project site and untar it (see the installation instructions).
4) Run the configure script in the following way:
$ TURN_NO_MYSQL=1 ./configure
5) Run make command.
Now
you have a turnserver image that does not rely on any mysql libraries
and can be used with PostgreSQL database. Setting PSQL is simpler, and
the usage is easier. The performance is the same as with MySQL.
Similarly, you can do the same with Redis.
Regards,
Oleg