Opened 15 years ago
Closed 15 years ago
#21199 closed defect (fixed)
nsis-2.44 failed to build because linking with 64bit library
Reported by: | husam@… | Owned by: | landonf (Landon Fuller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | Cc: | rich@…, josh.wilson@… | |
Port: | nsis |
Description (last modified by mf2k (Frank Schima))
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
Attachments (1)
Change History (7)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to landonf@… |
Port: | nsis added |
comment:2 Changed 15 years ago by rich@…
comment:6 Changed 15 years ago by landonf (Landon Fuller)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fix committed in r60745. Should MacPorts switch to 32-bit/64-bit universal builds by default, this work-around should be revisited.
Note: See
TracTickets for help on using
tickets.
Hi,
I'm hitting this same problem when trying to install NSIS, is there any progress/anything needed to help with this?
Cheers, Rich