From herman_l [...] mail.ru Tue Nov 12 10: | 49:45 2013 |
MIME-Version: | 1.0 (Mac OS X Mail 7.0 \(1822\)) |
X-Spam-Status: | No, score=-6.333 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham |
X-Mailer: | Apple Mail (2.1822) |
X-Spam-Flag: | NO |
X-Mras: | Ok |
X-Virus-Checked: | Checked |
Message-ID: | <694884EC-0C79-42D0-961D-26B68F8F7AFC [...] mail.ru> |
Content-Type: | multipart/alternative; boundary="Apple-Mail=_9E9C67AD-5CB6-4372-BAE3-200D555DFF75" |
X-Virus-Scanned: | Debian amavisd-new at bestpractical.com |
X-Spam-Score: | -6.333 |
Received: | from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id D09D92407DA for <cpan-bug+dbd-mysql [...] hipster.bestpractical.com>; Tue, 12 Nov 2013 10:49:45 -0500 (EST) |
Received: | from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4rhIxzlUD4Ov for <cpan-bug+dbd-mysql [...] hipster.bestpractical.com>; Tue, 12 Nov 2013 10:49:40 -0500 (EST) |
Received: | from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 26F18240583 for <bug-dbd-mysql [...] rt.cpan.org>; Tue, 12 Nov 2013 10:49:39 -0500 (EST) |
Received: | (qmail 15846 invoked by alias); 12 Nov 2013 15:49:39 -0000 |
Received: | from smtp20.mail.ru (HELO smtp20.mail.ru) (94.100.176.173) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 12 Nov 2013 07:49:32 -0800 |
Received: | from [109.238.81.156] (port=36281 helo=[10.0.1.5]) by smtp20.mail.ru with esmtpa (envelope-from <herman_l [...] mail.ru>) id 1VgGDW-0007s3-KC for bug-dbd-mysql [...] rt.cpan.org; Tue, 12 Nov 2013 19:49:27 +0400 |
Authentication-Results: | hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] mail.ru |
Delivered-To: | cpan-bug+dbd-mysql [...] hipster.bestpractical.com |
Subject: | cpan installation DBD::mysql problem on macos + problem resolution |
Return-Path: | <herman_l [...] mail.ru> |
X-RT-Mail-Extension: | dbd-mysql |
X-Original-To: | cpan-bug+dbd-mysql [...] hipster.bestpractical.com |
X-Spam-Check-BY: | la.mx.develooper.com |
Dkim-Signature: | v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Mime-Version:To:Date:Message-Id:Subject:Content-Type:From; bh=SH7J99AS66trGNjgUEOqVvQ3yh1JDOdmTX13xqGtvOs=; b=TI6Pji11xYrgv0Jthq7in46XOD4SjwAcpXcf+I7TunebIHqEkbJWgRL8yktwiqvc9yKndVaEHmbIH7gtD2Y2HRAqJ391xzzHeDE/H6UqUF2Ekj6wPLHtgXmg8vzArWPkxF6cfC07mSbjCtY9EdC+9oFnDFJVfHrES+G0Vj2Dwv0=; |
X-Spam: | Not detected |
Date: | Tue, 12 Nov 2013 19:49:23 +0400 |
X-Spam-Level: | |
To: | bug-dbd-mysql [...] rt.cpan.org |
From: | ra <herman_l [...] mail.ru> |
X-RT-Interface: | |
Content-Length: | 0 |
content-type: | text/plain; charset="utf-8" |
Content-Transfer-Encoding: | quoted-printable |
X-RT-Original-Encoding: | ascii |
Content-Length: | 1439 |
Hello.
When I install DBD::mysql I get such problem:
# Failed test 'use DBD::mysql;'
# at t/00base.t line 18.
# Tried to use 'DBD::mysql'.
# Error: Can't load '/Users/ra/.cpan/build/DBD-mysql-4.025-T3ACsU/blib/arch/auto/DBD/mysql/mysql.bundle' for module DBD::mysql: dlopen(/Users/ra/.cpan/build/DBD-mysql-4.025-T3ACsU/blib/arch/auto/DBD/mysql/mysql.bundle, 2): Library not loaded: libmysqlclient.18.dylib
# Referenced from: /Users/ra/.cpan/build/DBD-mysql-4.025-T3ACsU/blib/arch/auto/DBD/mysql/mysql.bundle
# Reason: image not found at /System/Library/Perl/5.16/darwin-thread-multi-2level/DynaLoader.pm line 194.
# at (eval 8) line 2.
# Compilation failed in require at (eval 8) line 2.
# BEGIN failed--compilation aborted at (eval 8) line 2.
FAILED--Further testing stopped: Unable to load DBD::mysql
make: *** [test_dynamic] Error 255
CAPTTOFU/DBD-mysql-4.025.tar.gz
make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports CAPTTOFU/DBD-mysql-4.025.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
CAPTTOFU/DBD-mysql-4.025.tar.gz : make_test NO
Problem was solved, before make you must to do:
sudo install_name_tool -id /usr/local/mysql-5.6.14-osx10.7-x86_64/lib/libmysqlclient.18.dylib /usr/local/mysql-5.6.14-osx10.7-x86_64/lib/libmysqlclient.18.dylib
Best regards, German
content-type: | text/html; charset="utf-8" |
Content-Transfer-Encoding: | quoted-printable |
X-RT-Original-Encoding: | ascii |
Content-Length: | 4744 |