[mythtv] Mac OS X build error "ld: -L <blank>"

Nigel Pearson nigel at ind.tansu.com.au
Thu Mar 29 21:53:31 UTC 2012


On 28/03/2012, at 12:33 AM, Craig Treleaven wrote:


>> -L/opt/local/var/macports/build/_Users_craigtreleaven_MacPortsTemp_Myth.25/mythtv/work/mythtv-0.25-rc -lfreetype -lz -lbz2 -F/Developer/FireWireSDK26/Examples/Framework -framework AVCVideoServices -L -lQtSql_debug -lQtXml_debug -lQtGui_debug -lQtNetwork_debug -lQtCore_debug ld: -L must be immediately followed by a directory path (no space)
>> collect2: ld returned 1 exit status
>> make[2]: *** [libmythbase-0.25.0.25.0.dylib] Error 1
> 
> I *think* there is a section of mythtv's configure that creates "LATE_LIBS" (line 4957-4992) but I could be entirely wrong.


That sounds like a good hunch. If $QMAKE_LIBDIR_QT was somehow empty
(e.g. whitespace), it might do what you are seeing.


I would try removing that block, or just going into src/mythtv and
looking at config.mak and the values of LATE_LIBS or EXTRA_LIBS.

--
Nigel Pearson, nigel at ind.tansu.com.au|"It'll be safe in here."
Telstra Net. Eng., Sydney, Australia |"Yes. Shielded by the
Office: 8576 5449    Fax:  9298 9033 | power of my intense
Mobile: 0408 664435  Home: 9792 6998 | disinterest"







More information about the mythtv-dev mailing list