Re: libXprintUtil missing in Lion
Re: libXprintUtil missing in Lion
- Subject: Re: libXprintUtil missing in Lion
- From: Jeremy Huddleston <email@hidden>
- Date: Tue, 26 Jul 2011 12:11:14 -0700
You're right. Lion's X11 is missing libXprintAppUtil and libXprintUtil:
/usr/X11/lib/libXprintAppUtil.1.dylib
/usr/X11/lib/libXprintUtil.1.dylib
We kept around old libraries (older versions of libpng, libXp, and libXaw8) in order to not break existing applications, but I was under the impression that libXprintUtil and libXprintAppUtil were only needed by Xprint itself, which is not shipped. I'm surprised that your application is linking against it, and I'm curious what functionality it is trying to use.
Had I known that this would be an issue, I would've kept these libraries in Lion. Are you seeing these problems in any shipped code, or just your own hand-built application in /usr/local?
If you really need these libraries, you can install them yourself from:
http://xorg.freedesktop.org/releases/individual/lib/libXprintAppUtil-1.0.1.tar.bz2
http://xorg.freedesktop.org/releases/individual/lib/libXprintUtil-1.0.1.tar.bz2
but I *highly doubt* that you actually need them, and even if you did need them to build and link your application, those libraries are support libraries for an X11 feature that hasn't been supported for half a decade and is not in any currently shipping code.
I suggest the best fix is to rebuild your application to not use those libraries. If you think these really need to be in Lion, please file a bug report at http://bugreport.apple.com ...
--Jeremy
On Jul 26, 2011, at 11:18 AM, Alex Zelensky wrote:
> Hello,
>
> For years I've been using an X11 application, which stopped working after I upgraded to Lion. As I understand X11libs-60 in Lion does not include libXprintUtil, which the application depends on:
>
> dyld: Library not loaded: /usr/X11/lib/libXprintUtil.1.dylib
> Referenced from: /usr/local/genome/bin/consed_mac_intel
> Reason: image not found
> Trace/BPT trap
>
>
> What would be the best way to solve the problem? I tried copying the file from /Developer/SDKs/MacOSX10.6.sdk/usr/X11/lib/libXprintUtil.1.dylib (the only place I could find it), but got a
>
> dyld: Library not loaded: /usr/X11/lib/libXprintUtil.1.dylib
> Referenced from: /usr/local/genome/bin/consed_mac_intel
> Reason: no suitable image found. Did find:
> /usr/X11/lib/libXprintUtil.1.dylib: mach-o, but wrong filetype
>
> And I couldn't compile the library from the 10.6 tree X11libs-40.3 source package because ./configure script failed ("C compiler cannot create executables").
>
> Will installing XQuartz help? Can I get these xprint libraries from some other source?
>
> Thanks in advance!
>
> Alex.
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list (email@hidden)
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden