Bugs item #1376270, was opened at 2005-12-08 15:31 Message generated for change (Settings changed) made by bogdan_iancu You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1376270&group_id=139143
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: modules Group: ver devel >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Norman Brandinger (goestelecom) >Assigned to: Bogdan (bogdan_iancu) Summary: unixodbc fail to locate -lodbc on FreeBSD Initial Comment: FreeBSD installs most "port" libraries in /usr/local/include. This lib should be added to modules/unixodbc/Makefile as shown below for compilation to be successful. I suggested a patch yesterday for "includes" that used -I/usr/local/lib. After researching todays problem with "libs", I found that Makefile.defs already begins to setup local base directories for many OS's. I propose changing modules/unixodbc/Makefile as follows. New module Makefiles should probably follow a similar format of using the $(LOCALBASE) variable. # sql.h locations (freebsd,openbsd solaris) DEFS+=-I$(LOCALBASE)/include # libodbc locations on RH/Suse, Solaris /OpenBSD, FreeBSD # (Debian does the right thing and puts it in /usr/lib) LIBS+=-L$(LOCALBASE)/lib -lodbc -lz Regards, Norm ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1376270&group_id=139143 _______________________________________________ Devel mailing list [email protected] http://openser.org/cgi-bin/mailman/listinfo/devel
