PHP5 and ldap

Pieter Donche Pieter.Donche at ua.ac.be
Thu Feb 26 01:02:58 PST 2009


I started, as suggested
# cd /usr/ports
# portupgrade -fr net/openldap24-client

yesterdat at 10:00 it continued all day and somewhere during the night
ended with:
...
===>   Registering installation for koffice-1.6.3_7,2
===>  Cleaning for koffice-1.6.3_7,2
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 486 packages found
(-0 +1) . done]
--->  Skipping 'x11/kde3' (kde-3.5.10_1) because a requisite package 'kdegraphi
cs-3.5.10' (graphics/kdegraphics3) failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
         ! graphics/kdegraphics3 (kdegraphics-3.5.10)    (configure error)
         * x11/kde3 (kde-3.5.10_1)

How does one go from here ? I checked:
# cd /usr/ports/graphics/kdegraphics3
# make
...
checking for posix_memalign... yes
checking pkg-config files for X11 are available... yes
checking for LIBDRM... configure: error: Package requirements (libdrm >= 2.4.3)
  were not met:
Requested 'libdrm >= 2.4.3' but version of libdrm is 2.3.1

OK, I did:
# cd /usr/ports/graphics/libdrm
# portsnap fetch
# portsnap update
# portupgrade -R libdrm

this did: Upgrading 'libdrm-2.3.1' to 'libdrm-2.4.5' (graphics/libdrm)

How do I continue now with the master rebuild which was aborted this 
night?

Is it OK to just doing the same thing as yesterday:
# cd /usr/ports
# portupgrade -fr net/openldap24-client

Or what else?

On Tue, 24 Feb 2009, Mikhail Goriachev wrote:

> Pieter Donche wrote:
>> On Tue, 24 Feb 2009, Vasadi I. Claudiu Florin wrote:
>>
>>> what does      php --version    say now?
>>
>> the same as before :
>>
>> 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
>> PHP 5.2.8 with Suhosin-Patch 0.9.6.3 (cli) (built: Jan 19 2009 08:43:08)
>> Copyright (c) 1997-2008 The PHP Group
>> Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
>
> I had a similar problem. You not gonna love it, but according to
> /usr/ports/UPDATING:
>
> 20090216:
>  AFFECTS: users of net/openldap24-{client,server}
>  AUTHOR: delphij at FreeBSD.org
>
>  OpenLDAP has been upgraded to 2.4.14, which requires a shared
>  library version bump.  Therefore, you need to reinstall all
>  ports depending on it.  Run something like:
>
>        # portupgrade -fr net/openldap24-client


More information about the freebsd-questions mailing list