Ticket #25642 (closed defect: duplicate)
Mesa-7.8.2 Fails to link : -lGL not found
|Reported by:||list@…||Owned by:||macports-tickets@…|
I had not previously installed the Mesa port, and attempted to do so today, apparently just after the port had been updated to 7.8.2. I apologize in advance, because I have attempted to get the log output since resolving the issue, but my scrollback buffers have been cleared of the original logs, and after a successful installation of 7.8.1, the log file was deleted. All I have to go from is memory of what occurred.
When trying to install Mesa-7.8.2 (with Xcode 3.2.2, OSX 10.6.4, fully synced/updated macports), the build failed. The error was near the end of the build completion, ld reporting that libOSMesa.7.2.dylib could not be linked because "-lGL" could not be found. Realizing that libGL was to be provided by the mesa port, I manually downgraded the port to 7.8.1, grabbed the relevant patches from macports.org, and successfully installed the (default) variant of 7.8.1, enabling hardware support. A subsequent 'port upgrade mesa' proceeded without issue, successfully building and installing version 7.8.2 of the port.
In the initial failed build, there were also a series of errors such as:
libmesa.a.obj/.SYMDEF: No such file or directory
I only have that because it remains in a browser cache - again, I apologize for the lack of detailed logs. I attempted to uninstall mesa-7.8.2 and then reinstall to replicate the issue, but was unable to - subsequent port installs of mesa were successful. This seems to only be an issue on the very first installation of mesa.