Bug 224046 - www/mod_auth_mysql_another: when compiled against a newer mariadb library will break
Summary: www/mod_auth_mysql_another: when compiled against a newer mariadb library wil...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-apache (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-03 03:24 UTC by dan
Modified: 2019-05-14 08:05 UTC (History)
3 users (show)

See Also:


Attachments
svn-diff-mod_auth_mysql_another (2.33 KB, patch)
2017-12-12 15:17 UTC, Walter Schwarzenfeld
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dan 2017-12-03 03:24:39 UTC
Following port:
/usr/ports/www/mod_auth_mysql_another

When compiled against a newer mariadb library will break.
pkg search mariadb

Up to mariadb101-client will work, when installing mariadb102-client and any future releases, the library when attempting to be loaded by apache24 will produce following error:

mod_auth_mysql.so: undefined symbol: make_scrambled_password


Dan.
Comment 1 Walter Schwarzenfeld 2017-12-12 15:17:17 UTC
Created attachment 188754 [details]
svn-diff-mod_auth_mysql_another

Try this patch.  Should work.
Comment 2 dan 2018-01-07 19:37:49 UTC
with patch get the following:

Performing sanity check on apache24 configuration:
httpd: Syntax error on line 162 of /usr/local/etc/apache24/httpd.conf: Cannot load libexec/apache24/mod_auth_mysql.so into server: /usr/local/libexec/apache24/mod_auth_mysql.so: Undefined symbol "my_make_scrambled_password"


(In reply to w.schwarzenfeld from comment #1)
Comment 3 Walter Schwarzenfeld 2018-01-07 20:27:21 UTC
sorry, but
without patch
 strings /usr/local/libexec/apache24/mod_auth_mysql.so |grep scram
make_scrambled_password

with patch
strings /usr/local/libexec/apache24/mod_auth_mysql.so |grep scram
my_make_scrambled_password

That means it should work also without patch.
Comment 4 Walter Schwarzenfeld 2018-01-07 20:27:49 UTC
And works on my system without patch.
Comment 5 Walter Schwarzenfeld 2018-01-07 20:28:57 UTC
Oh sorry, overlooked mariadb.
Comment 6 Jochen Neumeister freebsd_committer freebsd_triage 2018-03-25 17:52:20 UTC
is the problem still?
Comment 7 dan 2018-04-02 01:47:59 UTC
Believe still broken against mariadb libraries, I had to manually copy mysql old library to /lib or /usr/lib directory from port work directory to make it work.