ports/166136: [patch] databases/freetds-devel properly link tds module with libiconv
Kuan-Chung Chiu
buganini at gmail.com
Thu Mar 15 06:50:01 UTC 2012
>Number: 166136
>Category: ports
>Synopsis: [patch] databases/freetds-devel properly link tds module with libiconv
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 15 06:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Kuan-Chung Chiu
>Release:
>Organization:
N/A
>Environment:
>Description:
pyodbc+freetds terminates with:
/usr/local/lib/libtdsodbc.so: Undefined symbol "libiconv_open"
>How-To-Repeat:
>Fix:
link libtdsodbc.so with libiconv
Patch attached with submission follows:
diff -ruN freetds-devel.orig/Makefile freetds-devel/Makefile
--- freetds-devel.orig/Makefile 2012-02-06 20:25:48.000000000 +0800
+++ freetds-devel/Makefile 2012-03-15 14:43:01.790590432 +0800
@@ -6,7 +6,7 @@
PORTNAME= freetds
PORTVERSION= 0.91
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SUNSITE}
diff -ruN freetds-devel.orig/files/patch-src-tds-Makefile freetds-devel/files/patch-src-tds-Makefile
--- freetds-devel.orig/files/patch-src-tds-Makefile 1970-01-01 08:00:00.000000000 +0800
+++ freetds-devel/files/patch-src-tds-Makefile 2012-03-15 14:39:06.443595370 +0800
@@ -0,0 +1,11 @@
+--- src/tds/Makefile.in.orig 2012-03-15 14:36:30.297611037 +0800
++++ src/tds/Makefile.in 2012-03-15 14:36:40.297604738 +0800
+@@ -189,7 +189,7 @@
+ LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
+ LIBICONV = @LIBICONV@
+ LIBOBJS = @LIBOBJS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -liconv
+ LIBTOOL = @LIBTOOL@
+ LIPO = @LIPO@
+ LN_S = @LN_S@
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list