[MacPorts] #21199: nsis-2.44 failed to build because linking with 64bit library

MacPorts noreply at macports.org
Mon Sep 7 19:59:39 PDT 2009


#21199: nsis-2.44 failed to build because linking with 64bit library
-------------------------------+--------------------------------------------
 Reporter:  husam@…            |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.8.0                                
 Keywords:                     |        Port:                                       
-------------------------------+--------------------------------------------
 The application failed to build because the compiler trying to link with
 64bit library "iconv", the application was built as 32 bit.

 scons: Building targets ...
 g++ -o build/release/makensis/makensis -m32 -s -pthread
 build/release/makensis/build.o build/release/makensis/clzma.o
 build/release/makensis/crc32.o build/release/makensis/DialogTemplate.o
 build/release/makensis/dirreader.o build/release/makensis/fileform.o
 build/release/makensis/growbuf.o build/release/makensis/icon.o
 build/release/makensis/lang.o build/release/makensis/lineparse.o
 build/release/makensis/makenssi.o build/release/makensis/manifest.o
 build/release/makensis/mmap.o build/release/makensis/Plugins.o
 build/release/makensis/ResourceEditor.o
 build/release/makensis/ResourceVersionInfo.o
 build/release/makensis/script.o build/release/makensis/ShConstants.o
 build/release/makensis/strlist.o build/release/makensis/tokens.o
 build/release/makensis/util.o build/release/makensis/winchar.o
 build/release/makensis/writer.o build/release/makensis/bzip2/blocksort.o
 build/release/makensis/bzip2/bzlib.o
 build/release/makensis/bzip2/compress.o
 build/release/makensis/bzip2/huffman.o
 build/release/makensis/7zip/7zGuids.o
 build/release/makensis/7zip/7zip/Common/OutBuffer.o
 build/release/makensis/7zip/7zip/Common/StreamUtils.o
 build/release/makensis/7zip/7zip/Compress/LZ/LZInWindow.o
 build/release/makensis/7zip/7zip/Compress/LZMA/LZMAEncoder.o
 build/release/makensis/7zip/7zip/Compress/RangeCoder/RangeCoderBit.o
 build/release/makensis/7zip/Common/Alloc.o
 build/release/makensis/7zip/Common/CRC.o
 build/release/makensis/zlib/deflate.o build/release/makensis/zlib/trees.o
 -L/opt/local/lib -lpthread -liconv
 ld: warning: option -s is obsolete and being ignored
 ld: warning: in /opt/local/lib/libiconv.dylib, file is not of required
 architecture
 Undefined symbols:
   "_libiconv_open", referenced from:
       IsValidCodePage(unsigned int)in util.o
       WideCharToMultiByte(unsigned int, unsigned int, unsigned short
 const*, int, char*, int, char const*, int*)in util.o
       MultiByteToWideChar(unsigned int, unsigned int, char const*, int,
 unsigned short*, int)in util.o
   "_libiconv", referenced from:
       WideCharToMultiByte(unsigned int, unsigned int, unsigned short
 const*, int, char*, int, char const*, int*)in util.o
       MultiByteToWideChar(unsigned int, unsigned int, char const*, int,
 unsigned short*, int)in util.o
   "_libiconv_close", referenced from:
       IsValidCodePage(unsigned int)in util.o
       WideCharToMultiByte(unsigned int, unsigned int, unsigned short
 const*, int, char*, int, char const*, int*)in util.o
       WideCharToMultiByte(unsigned int, unsigned int, unsigned short
 const*, int, char*, int, char const*, int*)in util.o
       MultiByteToWideChar(unsigned int, unsigned int, char const*, int,
 unsigned short*, int)in util.o
       MultiByteToWideChar(unsigned int, unsigned int, char const*, int,
 unsigned short*, int)in util.o
 ld: symbol(s) not found

-- 
Ticket URL: <http://trac.macports.org/ticket/21199>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list