Recent

Author Topic: mysqlclient.dylib.20 on mac where must be the library  (Read 1467 times)

eldonfsr

  • Sr. Member
  • ****
  • Posts: 447
mysqlclient.dylib.20 on mac where must be the library
« on: September 04, 2021, 05:23:37 pm »
Hi I start to test lazarus and mysql on mac, I think lib must be same as windows where is locate the app, when i click on connect send erro can't load mysql library  mysqlclient.dyn.20 or mysqlclient.dyn , only found  on folder where is mysql mysqlclient.dyn.21 , I settting up  mysql component using mysql5.7.

Thanks any help great.
 

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: mysqlclient.dylib.20 on mac where must be the library
« Reply #1 on: September 05, 2021, 01:07:08 am »
Have a look at my Wiki article macOS Dynamic Libraries which explains the location of dynamic libraries for macOS applications.

As for the problem you're having with the wrong library versions, this can be avoided by including the correct versions in the application bundle as explained in the artcile I've linked above.
« Last Edit: September 05, 2021, 01:10:27 am by trev »

 

TinyPortal © 2005-2018