Opened 13 years ago

Closed 13 years ago

#2886 closed defect (fixed)

mythzmserver build failure

Reported by: Martin Ebourne <martin@…> Owned by: paulh
Priority: minor Milestone: unknown
Component: mythzoneminder Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Error is:

g++  -o mythzmserver main.o zmserver.o     -lmysqlclient
/usr/bin/ld: cannot find -lmysqlclient

This needs '-L /usr/lib64/mysql' in my case. It should make use of the --libdir-name parameter to configure.

[Also we need a mythzoneminder component on trac.]

Attachments (1)

mythtv-zmserver-build.patch (311 bytes) - added by Martin Ebourne <martin@…> 13 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 years ago by paulh

Owner: changed from Isaac Richards to paulh

comment:2 in reply to:  description Changed 13 years ago by paulh

Replying to Martin Ebourne <martin@zepler.org>:

Error is:

g++  -o mythzmserver main.o zmserver.o     -lmysqlclient
/usr/bin/ld: cannot find -lmysqlclient

This needs '-L /usr/lib64/mysql' in my case. It should make use of the --libdir-name parameter to configure.

Does adding '-L $$LIBDIR' work for you?

[Also we need a mythzoneminder component on trac.]

Done

Changed 13 years ago by Martin Ebourne <martin@…>

Attachment: mythtv-zmserver-build.patch added

comment:3 Changed 13 years ago by Martin Ebourne <martin@…>

Component: mythtvmythzoneminder

Sorry, I wrote the added patch last night but didn't get chance to attach it because I ran mythzmserver when it had built and it took my server out (more about that on -dev). The patch is essentially what you suggest.

comment:4 Changed 13 years ago by paulh

Resolution: fixed
Status: newclosed

Fixed in [12477]

Note: See TracTickets for help on using tickets.