On Tue, 10 Jan 2012, Raphael Kubo da Costa wrote:

Daniel Stolpe <[email protected]> writes:

Now I got stuck like below. The thing is I do have libkldap.so.5.0.1
but not in that directory:

  0 lrwxr-xr-x  1 root  wheel      13 Jan 10 11:49
/usr/local/kde4/lib/libkldap.so -> libkldap.so.5
  0 lrwxr-xr-x  1 root  wheel      17 Jan 10 11:49
/usr/local/kde4/lib/libkldap.so.5 -> libkldap.so.5.0.1
336 -rwxr-xr-x  1 root  wheel  317560 Jan 10 11:49
/usr/local/kde4/lib/libkldap.so.5.0.1

Is this a lib/link problem or a stale package problem?

[  3%] Building CXX object
kcron/src/CMakeFiles/kcm_cron.dir/kcm_cron_automoc.o
Generating moc_cupsFactory.cpp
Scanning dependencies of target kuser
make: don't know how to make /usr/local/lib/libkldap.so.5.0.1. Stop
*** Error code 2

If pkg_info -W doesn't say /usr/local/lib/libkldap.so.5.0.1 belongs to
any port, I think it's something stale (you might want to check for
other dangling libk*.so files in /usr/local/lib too).

A clean build should then be able to pick the right location up.

pkg_info -W /usr/local/lib/libkldap.so.5.0.1
pkg_info: /usr/local/lib/libkldap.so.5.0.1: file cannot be found


pkg_info -W /usr/local/kde4/lib/libkldap.so.5.0.1
/usr/local/kde4/lib/libkldap.so.5.0.1 was installed by package kdepimlibs-4.7.3

And that's where I have it on my FreeBSD-8 (and 10.0-current!) machines as well.

So how do I prevent the build from searching the wrong path?

--------------------------------------------------
Daniel Stolpe                   [email protected]
_______________________________________________
kde-freebsd mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to