Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Qt bottle references libpng15.15.dylib #6699

Closed
Debilski opened this issue Jul 28, 2011 · 2 comments
Closed

Qt bottle references libpng15.15.dylib #6699

Debilski opened this issue Jul 28, 2011 · 2 comments
Assignees

Comments

@Debilski
Copy link
Contributor

I’ve installed the most recent qt on Snow Leopard and it seems to reference /usr/X11/lib/libpng15.15.dylib which I don’t have. Qt progams I compiled with that version will crash:

dyld: Library not loaded: /usr/X11/lib/libpng15.15.dylib
  Referenced from: /usr/local/Cellar/qt/4.7.3/lib/QtGui.framework/Versions/4/QtGui
  Reason: image not found
Trace/BPT trap
@ghost ghost assigned MikeMcQuaid Jul 29, 2011
@mxcl
Copy link
Contributor

mxcl commented Jul 29, 2011

Seems like Qt should be linking to libpng.dylib and not to the specific versioned dylib.

Can be corrected with an install_name_tool line @MikeMcQuaid. Though annoying to have to do it.

If it's not binary compatible (then I'm miffed with the libpng guys) and we'll just have to force source compiles on < 10.7.

@Debilski
Copy link
Contributor Author

I’ve tried linking libpng.dylib to libpng15.15.dylib. While it did run, it complained a lot about png.h being incompatible with png.c. (Don’t have the Mac with me right now, so I can’t give the exact information.)

A faster solution for me (instead of compiling Qt myself) was to download the newest source of libpng and then put the self-compiled libpng15.15.dylib into /usr/X11/lib (no headers). Not sure, if this will eventually break my system or something.

SirVer pushed a commit to SirVer/homebrew that referenced this issue Jul 30, 2011
Longer-term we'll try and use install_name_tool to fix Lion
bottles so they run fine on 10.5 and/or 10.6.

Closes Homebrew#6699.
Sharpie pushed a commit to Sharpie/homebrew that referenced this issue Sep 19, 2011
Longer-term we'll try and use install_name_tool to fix Lion
bottles so they run fine on 10.5 and/or 10.6.

Closes Homebrew#6699.
martinploeger pushed a commit to martinploeger/homebrew that referenced this issue Oct 8, 2011
Longer-term we'll try and use install_name_tool to fix Lion
bottles so they run fine on 10.5 and/or 10.6.

Closes Homebrew#6699.
etehtsea pushed a commit to etehtsea/homebrew that referenced this issue Dec 27, 2011
Longer-term we'll try and use install_name_tool to fix Lion
bottles so they run fine on 10.5 and/or 10.6.

Closes Homebrew#6699.
snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
Longer-term we'll try and use install_name_tool to fix Lion
bottles so they run fine on 10.5 and/or 10.6.

Closes Homebrew#6699.
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants