From owner-freebsd-questions@FreeBSD.ORG Tue Feb 24 15:12:13 2009 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 E81821065670 for ; Tue, 24 Feb 2009 15:12:13 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from hmacs.cmi.ua.ac.be (hmacs.cmi.ua.ac.be [143.129.75.10]) by mx1.freebsd.org (Postfix) with ESMTP id 9377A8FC13 for ; Tue, 24 Feb 2009 15:12:13 +0000 (UTC) (envelope-from Pieter.Donche@ua.ac.be) Received: from hmacs.cmi.ua.ac.be (localhost [127.0.0.1]) by hmacs.cmi.ua.ac.be (8.13.8+Sun/8.13.8) with ESMTP id n1OFCCOO024664 for ; Tue, 24 Feb 2009 16:12:12 +0100 (CET) Received: from localhost (pdon@localhost) by hmacs.cmi.ua.ac.be (8.13.8+Sun/8.13.8/Submit) with ESMTP id n1OFCBJa024661 for ; Tue, 24 Feb 2009 16:12:11 +0100 (CET) X-Authentication-Warning: hmacs.cmi.ua.ac.be: pdon owned process doing -bs Date: Tue, 24 Feb 2009 16:12:11 +0100 (CET) From: Pieter Donche X-X-Sender: pdon@hmacs.cmi.ua.ac.be To: "mail.list freebsd-questions" Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: PHP5 and ldap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pieter Donche List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 15:12:14 -0000 Since yesterday, I get at $ php --version PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/ldap.so' - Shared object "libldap-2.4.so.5" not found, required by "ldap.so" in Unknown on line 0 I see that my /usr/local/lib/ now contains lrwxr-xr-x 1 root wheel 16 Feb 23 14:09 libldap-2.4.so -> libldap-2.4.so.6 -rw-r--r-- 1 root wheel 307762 Feb 23 14:09 libldap-2.4.so.6 etc.. so, only references to libldap-2.4.so.6, but no more libldap-2.4.so.5 Yesterday, I indeed reinstalled apache (with an extra option checked to include some extra module) The # make install clean downloaded openldap-2.4.14 (up to then I had open-ldap-2.3.13) but stopped with ===> An older version of net/openldap24-client is already installed (openldap -client-2.4.13) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of net/openldap24-client without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 I did # cd /usr/ports/net/openldap24-client # make deinstall which said: pkg_delete: package 'openldap-client-2.4.13' is required by these other package s and may not be deinstalled (but I'll delete it anyway): apache-2.2.11_3 arts-1.5.10_1,1 cups-base-1.3.9_3 cups-pstoraster-8.15.4_2 dbus-qt3-0.70_2 gconf2-2.24.0 gtk-2.14.7 gutenprint-base-5.1.7_1 gutenprint-cups-5.1.7_3 hplip-2.8.2_3 kde-3.5.10_1 kdeaccessibility-3.5.10 kdeadmin-3.5.10 kdeartwork-3.5.10_1 kdeartwork-3.5.10_1 kdebase-3.5.10_2 kdebase-kompmgr-3.5.10 kdeedu-3.5.10 kdegames-3.5.10 kdegraphics-3.5.10 kdelibs-3.5.10 kdemultimedia-3.5.10 kdenetwork-3.5.10 kdepim-3.5.10_2 kdesdk-3.5.10_1 kdetoys-3.5.10 kdeutils-3.5.10 kdevelop-3.5.3_1 kdewebdev-3.5.10_1,2 koffice-1.6.3_7,2 libgsf-1.14.11 libwpd-0.8.14_1 php5-5.2.8 php5-ctype-5.2.8 php5-dom-5.2.8 php5-extensions-1.2 php5-filter-5.2.8 php5-gd-5.2.8 php5-hash-5.2.8 php5-iconv-5.2.8 php5-json-5.2.8 php5-ldap-5.2.8_1 php5-mysql-5.2.8 php5-mysqli-5.2.8 php5-pdo-5.2.8 php5-pdo_sqlite-5.2.8 php5-posix-5.2.8 php5-session-5.2.8 php5-simplexml-5.2.8 php5-spl-5.2.8 php5-sqlite-5.2.8 php5-tokenizer-5.2.8 php5-xml-5.2.8 php5-xmlreader-5.2.8 php5-xmlwriter-5.2.8 poppler-qt-0.8.7 py25-qt-3.17.4_1,2 qscintilla-1.7.1_4 qt-3.3.8_9 subversion-1.5.5_1 wv2-0.2.3_2 # make reinstall this ended without errors Did I need to update php5? I tried # portsnap fetch # portsnap update # cd /usr/ports/lang/php5 # portupgrade -R php5 this only upgraded my perl to perl-5.8.9_1 but changed nothing to my PHP5 (/usr/local/bin/php same date as weeks ago) So, this did not solve the initial problem also.. I Tried # cd /usr/ports/net/php5-ldap # portupgrade -R php5-ldap [Gathering depends for net/php5-ldap ................................... done] [Exclude up-to-date packages .................. done] macos# macos# make install clean ... ===> php5-ldap-5.2.8_1 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of net/php5-ldap without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 So php5-ldap was already the last version... What's going wrong and how to solve all that ?