Motion - Bug Report 2005x 08x 02x 070017

BUG: MySQL lib not found on 64 bit machine

From email on mailing list from Bill Maidment

./configure and ./configure --with-mysql=/usr/lib64 and ./configure --with-mysql=/usr/lib64/mysql all give me:

checking for MySQL... no
Invalid MySQL directory - unable to find libmysqlclient.a or


   *   Configure status   *

pthread Support:     Yes
jpeg Support:        Yes
V4L included:        Yes
FFmpeg Support:      Yes
MYSQL Support:       No
PostgreSQL Support:  Yes

CFLAGS: -I/usr/include/ffmpeg -g -O2 -DHAVE_FFMPEG -DHAVE_PGSQL -I/usr/include -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon64 -mfpmath=sse -msse2  -mmmx -m3dnow
LIBS: -lm -lpthread -ljpeg -L/usr/lib64 -lavformat -lavcodec -lm -lz -L/usr/lib/pgsql -lpq
LDFLAGS: -L/usr/lib64

Install prefix:       /usr/local

mysql directories are as follows:

[root@mail motion-3.2.2_snap8]# locate libmysqlclient

Probably just needs same fix as we recently did for ffmpeg.

Postgres seems to be OK.

Test case


Motion version: 3.2.2_snap8
ffmpeg version: N/A
Shared libraries: ffmpeg, mysql, postgresql
Server OS: 64 bit

-- KennethLavrsen - 02 Aug 2005

Follow up

Fix record

Reporter pulled back error report on mailing list. MySQL was not properly installed.

-- KennethLavrsen - 04 Aug 2005
Topic revision: r3 - 04 Aug 2005, KennethLavrsen
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.