[MacPorts] #15941: mjpegtools build error: ld: library not found for -lX11
MacPorts
noreply at macports.org
Mon Jul 14 14:52:50 PDT 2008
#15941: mjpegtools build error: ld: library not found for -lX11
---------------------------------+------------------------------------------
Reporter: mroman at eduapple.pl | Owner: filippo.natali at gmail.com
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords:
---------------------------------+------------------------------------------
Changes (by ryandesign at macports.org):
* milestone: Port Enhancements => Port Bugs
Comment:
Thanks mroman.
1. Looks like you have graphviz installed in /usr/local. Any reason why
the MacPorts graphviz port was insufficient? If so, please let me know by
email or in a new ticket so I can make it sufficient.
The problem with having things in /usr/local is that software installed
using MacPorts might look for libraries in /usr/local before looking in
/opt/local, and this will cause problems. We don't know how to tell
software not to do that, so the only thing we can do is tell people not to
put anything in /usr/local. In this particular case I don't think this is
a problem. I thought maybe you had some more generic libraries in
/usr/local which would have been more problematic.
2. Ok, so libdv.dylib is provided by libdv. And mjpegtools already has a
libdv variant, and an sdl variant. So the port just needs to be enhanced
to not link against those libraries when those variants are not chosen.
3, 4: So gtk1 doesn't find your X libraries either. I cannot reproduce
that either; gtk1 installs without error for me on Tiger and Leopard on
Intel on the systems I mentioned above. Check the config.log for more
details, like it says, or attach it here and I'll have a look at it.
P.S: In the future, please remember WikiFormatting.
--
Ticket URL: <http://trac.macports.org/ticket/15941#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list