[MacPorts] #23649: libgeotiff couldn't build on Snow Leopard running on Macbook pro
#23649: libgeotiff couldn't build on Snow Leopard running on Macbook pro -------------------------------------+-------------------------------------- Reporter: wloczykijb@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: libgeotiff snow leopard | Port: libgeotiff -------------------------------------+-------------------------------------- When I try to install libgeotiff port I receive error message: sudo port install -d libgeotiff Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libgeotiff/work/libgeotiff-1.2.5" && /usr/bin/make all " returned error 2 Command output: make /usr/bin/gcc-4.2 -O2 -arch x86_64 -Wall makegeo.o -L/lib -L.. -lgeotiff -L/opt/local/lib -lproj -ltiff -m32 -lm -L/opt/local/lib -lz -L/opt/local -ljpeg -o makegeo ld: warning: in ../libgeotiff.dylib, file is not of required architecture Undefined symbols: "_XTIFFClose", referenced from: _main in makegeo.o "_XTIFFOpen", referenced from: _main in makegeo.o "_GTIFFree", referenced from: _main in makegeo.o "_GTIFNew", referenced from: _main in makegeo.o "_GTIFKeySet", referenced from: _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o "_GTIFWriteKeys", referenced from: _main in makegeo.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [makegeo] Error 1 make: *** [Progs] Error 2 Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/23649> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23649: libgeotiff couldn't build on Snow Leopard running on Macbook pro ----------------------------------+----------------------------------------- Reporter: wloczykijb@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: snowleopard | Port: libgeotiff ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * keywords: libgeotiff snow leopard => snowleopard Old description:
When I try to install libgeotiff port I receive error message: sudo port install -d libgeotiff Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libgeotiff/work/libgeotiff-1.2.5" && /usr/bin/make all " returned error 2 Command output: make /usr/bin/gcc-4.2 -O2 -arch x86_64 -Wall makegeo.o -L/lib -L.. -lgeotiff -L/opt/local/lib -lproj -ltiff -m32 -lm -L/opt/local/lib -lz -L/opt/local -ljpeg -o makegeo ld: warning: in ../libgeotiff.dylib, file is not of required architecture Undefined symbols: "_XTIFFClose", referenced from: _main in makegeo.o "_XTIFFOpen", referenced from: _main in makegeo.o "_GTIFFree", referenced from: _main in makegeo.o "_GTIFNew", referenced from: _main in makegeo.o "_GTIFKeySet", referenced from: _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o "_GTIFWriteKeys", referenced from: _main in makegeo.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [makegeo] Error 1 make: *** [Progs] Error 2
Error: Status 1 encountered during processing.
New description: When I try to install libgeotiff port I receive error message: {{{ sudo port install -d libgeotiff Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_libgeotiff/work/libgeotiff-1.2.5" && /usr/bin/make all " returned error 2 Command output: make /usr/bin/gcc-4.2 -O2 -arch x86_64 -Wall makegeo.o -L/lib -L.. -lgeotiff -L/opt/local/lib -lproj -ltiff -m32 -lm -L/opt/local/lib -lz -L/opt/local -ljpeg -o makegeo ld: warning: in ../libgeotiff.dylib, file is not of required architecture Undefined symbols: "_XTIFFClose", referenced from: _main in makegeo.o "_XTIFFOpen", referenced from: _main in makegeo.o "_GTIFFree", referenced from: _main in makegeo.o "_GTIFNew", referenced from: _main in makegeo.o "_GTIFKeySet", referenced from: _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o _SetUpGeoKeys in makegeo.o "_GTIFWriteKeys", referenced from: _main in makegeo.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [makegeo] Error 1 make: *** [Progs] Error 2 Error: Status 1 encountered during processing. }}} -- -- Ticket URL: <http://trac.macports.org/ticket/23649#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23649: libgeotiff couldn't build 64-bit ----------------------------------+----------------------------------------- Reporter: wloczykijb@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: LP64 | Port: libgeotiff ----------------------------------+----------------------------------------- Changes (by jmr@…): * keywords: snowleopard => LP64 Comment: Doesn't appear to be something that would happen on 32-bit Snow Leopard or not happen on 64-bit Leopard. -- Ticket URL: <http://trac.macports.org/ticket/23649#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23649: libgeotiff couldn't build 64-bit ----------------------------------+----------------------------------------- Reporter: wloczykijb@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: LP64 | Port: libgeotiff ----------------------------------+----------------------------------------- Comment(by wloczykijb@…): Replying to [comment:2 jmr@…]:
Doesn't appear to be something that would happen on 32-bit Snow Leopard or not happen on 64-bit Leopard. There is problem in 32-bit also, it seems. I changed value of COPTS variable from: -O2 -arch x86_64 -Wall -fPIC -DCSV_DATA_DIR=\"$(datadir)\" to: -O2 -arch i386 -Wall -fPIC -DCSV_DATA_DIR=\"$(datadir)\"
-- Ticket URL: <http://trac.macports.org/ticket/23649#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23649: libgeotiff couldn't build 64-bit ----------------------------------+----------------------------------------- Reporter: wloczykijb@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: LP64 | Port: libgeotiff ----------------------------------+----------------------------------------- Comment(by wloczykijb@…): Replying to [comment:3 wloczykijb@…]:
Replying to [comment:2 jmr@…]:
Doesn't appear to be something that would happen on 32-bit Snow Leopard or not happen on 64-bit Leopard. There is problem in 32-bit also, it seems. I changed value of COPTS variable from: After further investigation i discovered that change mentioned earlier seems to do not change arch option in command line
-- Ticket URL: <http://trac.macports.org/ticket/23649#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23649: libgeotiff couldn't build 64-bit -----------------------------------+---------------------------------------- Reporter: wloczykijb@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: LP64 Port: libgeotiff | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: Current version seems fine. -- Ticket URL: <https://trac.macports.org/ticket/23649#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts