Alessio Sarti wrote:
> Dear all,
> after having selfupdated fink, I am no longer able to launch my ktorrent
> app.
>
> Here's the failure message:
>
> dyld: Library not loaded: /usr/X11/lib/libXrandr.2.dylib
> Referenced from: /sw/bin/ktorrent
> Reason: Incompatible library version: ktorrent requires version 5.0.0
> or later, but libXrandr.2.dylib provides version 4.0.0
> Trace/BPT trap
>
> How can I update libXrandr?
> in my fink list output I see only one package related to Xrandr:
> i system-pkgconfig-xrandr 1.2.3-1 [virtual pkgconfig package
> representing xrandr]
> and it's installed and up-to-date
> What am I missing?
> alessio
>
>
This doesn't have anything to do with your selfupdate, since the file
that was changed (libXrandr.2.dylib) isn't provided through Fink. You
can verify that by running
dpkg -S /usr/X11/lib/libXrandr.2.dylib
which will return nothing, meaning that Fink's dpkg tool, which handles
the database of installed files, knows nothing about it.
The problem here is that your ktorrent was built against a newer
libXrandr.2.dylib than you currently have on your system. Without
knowing your whole installation history, I can guess at the following
scenario:
1) You installed Xquartz from macosforge.org, which has a
libXrandr.2.dylib with compatibility_version 5.0.0.
2) A system update at some later point (10.5.7, possibly) downgraded
libXrandr.2.dylib, and the replacement has compatibility_version 4.0.0.
You can test this by running
$ pkgutil --file-info /usr/X11/lib/libXrandr.2.dylib
Which will give something similar to the following:
volume: /
path: usr/X11/lib/libXrandr.2.dylib
pkgid: com.apple.pkg.X11User
pkg-version: 10.5.0.1.1.1188305148
install-time: 1203612446
uid: 0
gid: 0
mode: 100755
pkgid: com.apple.pkg.update.os.10.5.4.combo
pkg-version: 1.0.1.1191932192
install-time: 1216296743
uid: 0
gid: 0
mode: 100755
pkgid: com.apple.pkg.update.os.10.5.5
pkg-version: 1.0.1.1191932192
install-time: 1222306651
uid: 0
gid: 0
mode: 100755
pkgid: com.apple.pkg.update.os.10.5.7
pkg-version: 1.0.1.1191932192
install-time: 1242214193
uid: 0
gid: 0
mode: 100755
pkgid: org.x.x11.pkg
pkg-version: 2.3.3
install-time: 1243011240
uid: 0
gid: 0
mode: 100755
, except that presumably your last entry will be for "pkgid:
com.apple.pkg.update.os.10.5.7" instead of "pkgid: org.x.x11.pkg"
(Xquartz).
Alternatively, if you _didn't_ ever have Xquartz installed, if your
ktorrent came from an unofficial binary distribution somewhere, it's
possible that it was built against a newer libXrandr.2.dylib there.
To solve this issue, either (re)install Xquartz or rebuild ktorrent
("fink rebuild ktorrent").
--
Alexander Hansen
Fink User Liaison
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users