Bug #30296 | Dynamic plugins fail to load on FreeBSD | ||
---|---|---|---|
Submitted: | 8 Aug 2007 9:12 | Modified: | 15 Nov 2007 7:24 |
Reporter: | Vasil Dimov | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S2 (Serious) |
Version: | 5.1 | OS: | FreeBSD |
Assigned to: | Antony Curtis | CPU Architecture: | Any |
Tags: | Contribution |
[8 Aug 2007 9:12]
Vasil Dimov
[8 Aug 2007 11:19]
MySQL Verification Team
Thank you for the bug report and contribution.
[26 Oct 2007 4:19]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/36398 ChangeSet@1.2596, 2007-10-25 21:19:28-07:00, antony@pcg5ppc.xiphis.org +3 -0 Bug#30296 "Dynamic plugins fail to load on FreeBSD" ELF executables need to be linked using the -export-dynamic option to ld(1) for symbols defined in the executable to become visible to dlsym(). Also, do not build plugins on an all-static build.
[30 Oct 2007 17:35]
Antony Curtis
Queued to 5.1-engines and 6.0-engines repositories.
[14 Nov 2007 9:41]
Bugs System
Pushed into 6.0.4-alpha
[14 Nov 2007 9:45]
Bugs System
Pushed into 5.1.23-rc
[15 Nov 2007 7:24]
MC Brown
A note has been added to the 5.1.23 and 6.0.4 changelogs: When loading a dynamic plugin on FreeBSD, the plugin would fail to load. This was due to a build error where the required symbols would be not exported correctly.