I have search and tried for a day in solving this problem and do not know how to fix this.
I was wanting to convert a php script using mysql for reporting. Thought I would give tcl a try and now just wanting to understand why I can't make it work.
Here is what I have:
Mojave with the latest xcode.
Versions of
tcl.tk in kits as well as a fresh install of macports and porting
tcl.tk .
In all instances , from kits , kits precompiled, kits I have compiled it is the same problem.
Mac started out as Sierra and updated to Mojave.
Here is an example of the problem.
rjhobart:bin me$ ./tclsh8.6
% join $auto_path \n
/Users/me/developer/scripts/tcl/kbskit-master/Darwin/lib/tcl8.6
/Users/me/developer/scripts/tcl/kbskit-master/Darwin/lib
% package require tdbc::mysql
dlopen(libmysql.dylib.15, 6): image not found
And there is the problem. On my system there is no such image but I have libmysqlclient.20.dylib
Additional checks:
% package require tdbc::sqlite3
1.1.0
% package versions TclOO
1.1.0
% package versions tdbc::mysql
1.1.0
% package require tdbc::postgres
1.1.0
Any ideas would be greatly appreciated.