[Home]

Summary:ASTERISK-00528: [patch] Fix apps Makefile to include correct mysql lib path when linking
Reporter:Matteo Brancaleoni (mbrancaleoni)Labels:
Date Opened:2003-11-14 18:40:24.000-0600Date Closed:2008-01-15 14:40:18.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) Makefile.patch
Description:when mysql vm is enabled, the libmysqlclient lib is not found. solved by adding standard /usr/lib/mysql to linking.
Comments:By: Brian West (bkw918) 2003-11-24 18:55:06.000-0600

This isn't very generic.  What if my libs aren't in /usr/lib/mysql what if they are in /usr/local/lib/mysql ?

By: Matteo Brancaleoni (mbrancaleoni) 2003-11-25 00:54:26.000-0600

mmh, you're right.

that's true for pgsql stuff, too... that includes libs from a specific location.

Since the entire asterisk build systems relies on (redhat) standard locations, I added the standard location for a mysql rom binary install.

perhaps we should add also /usr/locali/lib/mysql ... but nothing more?
(like /usr/local/mysql/lib)

By: jerjer (jerjer) 2004-01-11 03:15:33.000-0600

commited to cvs

By: Digium Subversion (svnbot) 2008-01-15 14:40:18.000-0600

Repository: asterisk
Revision: 1938

U   trunk/apps/Makefile

------------------------------------------------------------------------
r1938 | jeremy | 2008-01-15 14:40:18 -0600 (Tue, 15 Jan 2008) | 2 lines

include the standard mysql lib dir. Bug ASTERISK-528

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=1938