Author Topic: [RESOLVED]Trying to install zoneminder, needs libmysqlclient.a  (Read 4657 times)

Offline zerocool

  • Sr. Member
  • ****
  • Posts: 374
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #15 on: September 25, 2011, 07:53:38 PM »
Thanks for the info Neal. This really is a great group.


Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12525
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #16 on: September 25, 2011, 07:56:18 PM »
libmysqlclient.a  is in the libmysql-static-devel package.

Thanks to everyone who donates. You keep the servers running.

Offline Almost-retired

  • Sr. Member
  • ****
  • Posts: 252
    • What keeps Gene out of the bars
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #17 on: September 25, 2011, 08:01:51 PM »
Thanks Neal.  Zerocool and I may have a conversation going.

Cheers Neal, Gene

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12801
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #18 on: September 25, 2011, 08:03:51 PM »
libmysqlclient.a  is in the libmysql-static-devel package.

Hi Gene.

Try installing libmysql-static-devel package via Synaptic before installing zoneminder.

See if this helps.

Andy

:P reflex of a chess player :P J/K Homey :P

Andy

Offline Almost-retired

  • Sr. Member
  • ****
  • Posts: 252
    • What keeps Gene out of the bars
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #19 on: September 25, 2011, 08:30:55 PM »
I have done that, and configure now runs, but now the make falls over:

g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_local_camera.o -MD -MP -MF .deps/zm_local_camera.Tpo -c -o zm_local_camera.o zm_local_camera.cpp
zm_local_camera.cpp: In static member function ‘static bool LocalCamera::GetCurrentSettings(const char*, char*, int, bool)’:
zm_local_camera.cpp:774:22: error: ‘PATH_MAX’ was not declared in this scope
zm_local_camera.cpp:779:21: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:781:22: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:782:29: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:799:67: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:801:54: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:811:92: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:936:91: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:961:82: error: ‘queryDevice’ was not declared in this scope
make[2]: *** [zm_local_camera.o] Error 1
make[2]: Leaving directory `/usr/src/ZoneMinder-1.25.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/ZoneMinder-1.25.0'
make: *** [all] Error 2

This looks like a coding error, or a missing header, and I am fresh out of clues.

Thanks Andy, Gene