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 libmysqlclient.so.
............
************************
* 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
/usr/lib/mysql/libmysqlclient.so.10.0.0
/usr/lib/mysql/libmysqlclient_r.so.10.0.0
/usr/lib/mysql/libmysqlclient.so.10
/usr/lib/mysql/libmysqlclient_r.so.10
/usr/lib64/mysql/libmysqlclient.so.10.0.0
/usr/lib64/mysql/libmysqlclient.so
/usr/lib64/mysql/libmysqlclient_r.so.10.0.0
/usr/lib64/mysql/libmysqlclient.so.10
/usr/lib64/mysql/libmysqlclient_r.so
/usr/lib64/mysql/libmysqlclient_r.a
/usr/lib64/mysql/libmysqlclient_r.so.10
/usr/lib64/mysql/libmysqlclient.a
Probably just needs same fix as we recently did for ffmpeg.
Postgres seems to be OK.
Test case
Environment
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