[MDEV-11795] [FreeBSD] iconv link failure in libmariadb Created: 2017-01-15  Updated: 2017-06-22  Resolved: 2017-06-22

Status: Closed
Project: MariaDB Server
Component/s: Compiling, Scripts & Clients
Affects Version/s: 10.2.3
Fix Version/s: 10.2.6

Type: Bug Priority: Major
Reporter: Bernard Spil Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None
Environment:

FreeBSD build.brnrd.eu 11.0-RELEASE-p3 FreeBSD 11.0-RELEASE-p3 #0 r308890: Sun Nov 20 20:27:48 CET 2016 build@build.brnrd.eu:/usr/obj/usr/src/sys/BEASTIE110 amd64



 Description   

Linking fails in libmariadb/libmariadb due to linking a non-PIC static lib iconv.a.
Replacing iconv.a with iconv.so in CMakeFiles/libmariadb.dir/link.txt solves the linking problem for now.

FreeBSD ports defaults to dynamically linking. Can we add an option to use dynamic rather than static linking?



 Comments   
Comment by Georg Richter [ 2017-01-17 ]

Hi Bernard,

we just decided to remove iconv support for character set conversion. It's used by MariaDB ODBC Driver only and will be moved into ODBC driver within the next days.

Comment by Georg Richter [ 2017-06-22 ]

This bug was already closed in Connector/C.
Buildbot 64-bit
Buildbot 32-bit

Generated at Thu Feb 08 07:52:42 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.