[MDEV-13270] mariadb_config wrong on OSX Created: 2017-07-06  Updated: 2017-07-25  Resolved: 2017-07-25

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients
Affects Version/s: 10.2
Fix Version/s: 10.2.8

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

OSX



 Description   

labrador:mariadb mariadb$ scripts/mysql_config --libs
-L/usr/local/mysql/lib  -lmariadb -lzlib -lpthread -ldl -lm -liconv -lgnutls
labrador:mariadb mariadb$ libmariadb/mariadb_config/mariadb_config --libs
-L/usr/local/mysql/lib/ -lmariadb -lpthread -ldl -lm -l/usr/lib/libiconv.dylib -l/opt/local/lib/libgnutls.dylib /usr/lib/libiconv.dylib
labrador:mariadb mariadb$ 

Note that mariadb_config lists -l/usr/lib/libiconv.dylib -l/opt/local/lib/libgnutls.dylib /usr/lib/libiconv.dylib instead of the correct -liconv -lgnutls



 Comments   
Comment by Jeroen Ooms [ 2017-07-24 ]

Did this fix not make it into 10.2.7? Just tried the new homebrew build of mariadb 10.2.7 but still getting faulty output.

Comment by Sergei Golubchik [ 2017-07-25 ]

Yes, you're right. This bug was fixed in the Connector/C repository in time for 10.2.7, but unfortunately, the fix wasn't propagated to MariaDB Server repository before the release. It will be in 10.2.8

Generated at Thu Feb 08 08:04:16 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.