← Back to team overview

maria-developers team mailing list archive

Re: [Commits] Rev 2988: Added directories with .dylib files to DYLD_LYBRARY_PATH to allow plugin to use them. in file:///Users/bell/maria/bzr/work-maria-5.3-machandlersocket/

 

Hi, Oleksandr!

On May 13, Oleksandr Byelkin wrote:
> revno: 2988
> revision-id: sanja@xxxxxxxxxxxx-20110513150858-ba2sowmbv1l39xxm
> parent: sanja@xxxxxxxxxxxx-20110512150136-5yzagaev1ssohykp
> committer: Oleksandr Byelkin <sanja@xxxxxxxxxxxx>
> branch nick: work-maria-5.3-machandlersocket
> timestamp: Fri 2011-05-13 18:08:58 +0300
> message:
>   Added directories with .dylib files to DYLD_LYBRARY_PATH to allow plugin to use them.

> === modified file 'mysql-test/mysql-test-run.pl'
> --- a/mysql-test/mysql-test-run.pl	2011-04-19 12:34:40 +0000
> +++ b/mysql-test/mysql-test-run.pl	2011-05-13 15:08:58 +0000
> @@ -2051,6 +2051,13 @@
>        push(@ld_library_paths, "$basedir/libmysql/.libs/",
>  	   "$basedir/libmysql_r/.libs/",
>  	   "$basedir/zlib/.libs/");
> +      if ($^O eq "darwin")
> +      {
> +        # it is MAC OS and we have to add dynamic libraries paths
> +        push @ld_library_paths, grep {<$_/*.dylib>} 
> +          (<$bindir/storage/*/.libs/>,<$bindir/plugin/*/.libs/>,
> +          <$bindir/plugin/*/*/.libs/>);
> +      }

I think you forgot to add storage/*/*/.libs.
add it and ok to push

Regards,
Sergei