[MacPorts] #15941: mjpegtools build error: ld: library not found for -lX11
MacPorts
noreply at macports.org
Mon Jul 14 02:42:40 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 Enhancements
Component: ports | Version: 1.6.0
Resolution: | Keywords:
---------------------------------+------------------------------------------
Changes (by ryandesign at macports.org):
* cc: filippo.natali at gmail.com (removed)
* cc: ryandesign at macports.org, wsiegrist at apple.com, dsh at dsh.org,
jason at masker.net, keithpk at gmail.com, chosenken at gmail.com,
Gordon.Child at gmail.com (added)
* owner: macports-tickets at lists.macosforge.org =>
filippo.natali at gmail.com
* summary: mjpegtools 1.6.2, => mjpegtools build error: ld: library not
found for -lX11
* priority: Low => Normal
Comment:
I'm unable to reproduce the problem on two MacBooks Pro, one running Mac
OS X 10.5.4 with Xcode 3.1 and one running Mac OS X 10.4.11 with Xcode
2.5. On both, mjpegtools 1.6.2_2 installs without error. What version of
Mac OS X, Xcode and MacPorts do you have, and on what kind of Mac? What
ports are already installed?
I see a number of problems in the line just above the error:
1. mjpegtools is looking for libraries in /usr/local/lib. Do you have any
libraries in /usr/local/lib? If so you should remove them before using
MacPorts.
2. mjpegtools is linking with /opt/local/lib/libdv.dylib. I don't have
that on my system and I don't know what port provides it. Can you show us
the output of "`port provides /opt/local/lib/libdv.dylib`" please?
3. mjpegtools is linking with /opt/local/lib/libglib.dylib which is
provided by glib1 but mjpegtools doesn't declare a dependency on glib1.
4. mjpegtools is linking with /opt/local/lib/libSDL.dylib which is
provided by libsdl but mjpegtools doesn't declare a dependency on libsdl.
mjpegtools should either declare dependencies on all the libraries it
links with, or configure arguments should be added to force mjpegtools not
to link with those libraries if they're present.
--
Ticket URL: <http://trac.macports.org/ticket/15941#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list