Summary:ASTERISK-00666: [PATCH] makefile add -I/usr/local/include for ODBC on FreeBSD
Reporter:Olle Johansson (oej)Labels:
Date Opened:2003-12-14 13:42:47.000-0600Date Closed:2008-01-15 14:39:44.000-0600
Versions:Frequency of
Environment:Attachments:( 0) diff-Makefile.txt
Description:TO compile ODBC with UnixODBC from ports, one needs to include  /usr/local/include and -L/usr/local/lib to link. I could not add -L/usr/local/lib anyplace that worked...
Comments:By: Brian West (bkw918) 2003-12-14 18:39:33.000-0600

But cdr_odbc is working on FreeBSD now?

By: Tilghman Lesher (tilghman) 2003-12-21 10:19:43.000-0600

You should be able to add /usr/local/lib to /etc/ld-elf.so.conf if needed.

By: Olle Johansson (oej) 2003-12-29 17:01:15.000-0600

Half of this is already solved (the include part). I vote for adding the lib part as well.

By: Brian West (bkw918) 2003-12-29 18:00:47.000-0600

yes it should already know where to find -lodbc

By: Malcolm Davenport (mdavenport) 2004-01-07 16:43:41.000-0600

The LIBS statement seems to be already there.  Should I add the INCLUDE or is this fixed already?

By: Malcolm Davenport (mdavenport) 2004-01-07 18:00:56.000-0600

INCLUDE statement added to CVS.

By: Digium Subversion (svnbot) 2008-01-15 14:39:44.000-0600

Repository: asterisk
Revision: 1897

U   trunk/Makefile

r1897 | malcolmd | 2008-01-15 14:39:43 -0600 (Tue, 15 Jan 2008) | 2 lines

Adding INCLUDE statement per Bug ASTERISK-666