Re: DBI - DBD - mysql on Yosemite

Jens Rehsack <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
Am 28.10.2014 um 17:45 schrieb Michael Ahrweiler <[email protected]>:

> Hello

Hi Michael,

> It is not, that it does not function.
> It did. 
> It was just not starting by itself. So I updated. Since then, it’s a mess.
> 
> After installing the latest mysql community-version 5.6.21
> On make test of DBD I get:
> 
> #   Failed test 'use DBD::mysql;'
> #   at t/00base.t line 18.
> #     Tried to use 'DBD::mysql'.
> #     Error:  Can't load '/temp/DBD-mysql-4.028/blib/arch/auto/DBD/mysql/mysql.bundle' for module DBD::mysql: dlopen(/temp/DBD-mysql-4.028/blib/arch/auto/DBD/mysql/mysql.bundle, 2): Library not loaded: libmysqlclient.18.dylib

Where is this libmysqlclient.18.dylib from?
What is /temp?
What says 'otool -L /temp/DBD-mysql-4.028/blib/arch/auto/DBD/mysql/mysql.bundle'?

> #   Referenced from: /temp/DBD-mysql-4.028/blib/arch/auto/DBD/mysql/mysql.bundle
> #   Reason: image not found at /System/Library/Perl/5.18/darwin-thread-multi-2level/DynaLoader.pm line 194.
> #  at (eval 8) line 2.
> 
> If I do the install all the same I get (more or less) the same error-message on my web-pages using perl-DBI-DBD.
> 
> I fumbled arount a lot…
> - with libmysqlclient.18.dylib
> - with old DBI DBD installation pouring over what was installed 
>  (getting „an error occurred“ for loading shtml-pages with DBI DBD mysql-content) - which might be better but…
> - with installing oder version of DBI and DBD (with the same error in make test)
> 
> I am out of „ideas“.
> Is this a yosemite thing? For instance harder sandbox something?
> 
> Any ideas ?

Not enough information (at least for me)...
Makes me fear updating to Yosemite ^^

> Is there a path ?

There is always a path - but what dedicated path are you looking for?

Cheers
-- 
Jens Rehsack
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.