From owner-freebsd-questions@FreeBSD.ORG Tue Jun 14 16:17:02 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94F19106564A for ; Tue, 14 Jun 2011 16:17:02 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 308928FC0A for ; Tue, 14 Jun 2011 16:17:01 +0000 (UTC) Received: by wyf23 with SMTP id 23so6270288wyf.13 for ; Tue, 14 Jun 2011 09:17:01 -0700 (PDT) Received: by 10.216.145.206 with SMTP id p56mr966655wej.80.1308068221014; Tue, 14 Jun 2011 09:17:01 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id en1sm5150271wbb.18.2011.06.14.09.16.59 (version=SSLv3 cipher=OTHER); Tue, 14 Jun 2011 09:17:00 -0700 (PDT) Message-ID: <4DF7897A.3010306@my.gd> Date: Tue, 14 Jun 2011 18:16:58 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <0F3C08F3CEF445EB8DC0060735DCA69D@GLENN2> <4DF771B7.4090104@my.gd><2DA8538A0B6947089C33DB97CAF2E918@GLENN2> <4DF77D8C.9060802@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: mysql_connect error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2011 16:17:02 -0000 On 6/14/11 5:45 PM, Glenn McCalley wrote: > > ----- Original Message ----- From: "Greg Larkin" > To: "Glenn McCalley" > Cc: > Sent: Tuesday, June 14, 2011 11:26 AM > Subject: Re: mysql_connect error > > > On 6/14/11 10:49 AM, Glenn McCalley wrote: > > Greg, > ---------------------------------------------------------------------- > www9# which php > /usr/local/bin/php > ---------------------------------------------------------------------- > www9# php -i | grep -i php.ini > Configuration File (php.ini) Path => /usr/local/etc <-- > matches phpinfo page > Loaded Configuration File => /usr/local/etc/php.ini <-- > matches phpinfo page > /libexec/ld-elf.so.1: /usr/local/lib/mysql/libmysqlclient.so.16: > Undefined symbol "pthread_cond_timedwait" > <-- interesting, don't know if significant > ---------------------------------------------------------------------- > www9# pkg_info -L php5-5\* (Voluminous output, but here it is.) > Information for php5-5.3.5: > Files: > /usr/local/man/man1/php-config.1.gz > /usr/local/man/man1/phpize.1.gz [snip] > /usr/local/lib/php/build/scan_makefile_in.awk > /usr/local/lib/php/build/shtool > /usr/local/libexec/apache22/libphp5.so > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" # pkg_info -r php5-mysql-5.3.6 Information for php5-mysql-5.3.6: Depends on: Dependency: expat-2.0.1_1 Dependency: openssl-1.0.0_5 Dependency: perl-threaded-5.10.1_3 Dependency: pkg-config-0.25_1 Dependency: libxml2-2.7.8_1 Dependency: pcre-8.12 Dependency: libiconv-1.13.1_1 Dependency: apr-devrandom-1.4.2.1.3.10 Dependency: apache-2.2.17_2 Dependency: php5-5.3.6 You will likely want to rebuild your perl port.