[MacPorts] #38105: Agryll: ld: library not found for -ltiff
#38105: Agryll: ld: library not found for -ltiff -------------------------+-------------------------------- Reporter: mitroshin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: -------------------------+-------------------------------- Agryll fails to build on my OS X 10.7.5 machine with Xcode 4.6, compiler apple-gcc42 (llvm-gcc42, gcc45). {{{ :info:build Link_ imdi/imdi_make :info:build spectro/munki_imp.c:2508:7: warning: implicit declaration of function 'munki_average_multimeas' is invalid in C99 [-Wimplicit-function- declaration] :info:build rv = munki_average_multimeas(p, sens, multimes, nummeas, &sensavg, darkthresh); :info:build ^ :info:build ld: library not found for -ltiff :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build spectro/munki_imp.c:4311:49: warning: invalid conversion specifier 'k' [-Wformat-invalid-specifier] }}} -- Ticket URL: <https://trac.macports.org/ticket/38105> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38105: Agryll: ld: library not found for -ltiff --------------------------+-------------------------------- Reporter: mitroshin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by mitroshin@…): {{{ sudo port selfupdate sudo port upgrade outdated }}} -- Ticket URL: <https://trac.macports.org/ticket/38105#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38105: argyll @1.3.2_2: cannot link to tiff --------------------------+-------------------------------- Reporter: mitroshin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: argyll | --------------------------+-------------------------------- Changes (by larryv@…): * port: => argyll Comment: Thanks for the ticket. -- Ticket URL: <https://trac.macports.org/ticket/38105#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38105: argyll @1.3.2_2: cannot link to tiff --------------------------+-------------------------------- Reporter: mitroshin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: argyll | --------------------------+-------------------------------- Comment (by ryandesign@…): Replying to [ticket:38105 mitroshin@…]:
compiler apple-gcc42 (llvm-gcc42, gcc45).
[snip]
{{{ :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) }}}
The error clearly shows the compiler being used is clang, as we would expect on this version of Xcode. It builds fine for me on OS X 10.8.2 with Xcode 4.6. Please verify what version of clang you have by running `clang -v`. With Xcode 4.6 it should be "Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)". If it's older, please open Xcode.app, go to Preferences, then Downloads, and update the command line tools there. Then `sudo port clean argyll` and try again. Please also (first) run `sudo port selfupdate` to receive some cleanups I just committed to the argyll port. -- Ticket URL: <https://trac.macports.org/ticket/38105#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38105: argyll @1.3.2_2: cannot link to tiff --------------------------+-------------------------------- Reporter: mitroshin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: argyll | --------------------------+-------------------------------- Comment (by mitroshin@…): Yes, after update command line - argyll build fine. {{{ clang -v Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn) Target: x86_64-apple-darwin11.4.2 Thread model: posix }}} ...update command line... {{{ clang -v Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn) Target: x86_64-apple-darwin11.4.2 Thread model: posix }}} -- Ticket URL: <https://trac.macports.org/ticket/38105#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38105: argyll @1.3.2_2: cannot link to tiff --------------------------+-------------------------------- Reporter: mitroshin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: argyll | --------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Ok, could be old clang's lack of understanding of LIBRARY_PATH. I should try to verify this on my Xcode 4.3.3. system. -- Ticket URL: <https://trac.macports.org/ticket/38105#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts