[CONCPP-9] C/C is linked statically on Linux Created: 2020-05-04  Updated: 2020-05-28  Resolved: 2020-05-11

Status: Closed
Project: MariaDB Connector/C++
Component/s: General
Affects Version/s: 0.9.1
Fix Version/s: 0.9.2

Type: Bug Priority: Critical
Reporter: Lawrin Novitsky Assignee: Lawrin Novitsky
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

In alpha version C/C was linked statically. It's not a good idea and should be changed.
It's fairly simple to do. The biggest problem is not to break testing.



 Comments   
Comment by Lawrin Novitsky [ 2020-05-11 ]

Commit 5559d0c and partly 690e253

Comment by Geoff Montee (Inactive) [ 2020-05-28 ]

MariaDB Connector/C++ is dynamically linked to MariaDB Connector/C in 0.9.2, but now it is dynamically linked to a bundled version of the MariaDB Connector/C shared library:

$ tar -tzvf mariadb-connector-cpp-0.9.2-beta-debian9-x86_64.tar.gz | grep "libmariadb.so"
-rw-r--r-- buildbot/buildbot 1380936 2020-05-11 04:59 lib/mariadb/libmariadb.so.3

Is this intentional? Or is it supposed to depend on the system's MariaDB Connector/C shared library?

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