GnuRadio Installation problems..
Rod Gallant
rgall at ieee.org
Sun May 2 20:39:00 PDT 2010
Greetings
lipo -info /opt/local/lib/libiconv.2.dylb states is built for ppc7400 & i386 architecture only when attempting to build Xwidgets.
When libiconv get originally built, libiconv.2.dylib gets built for the x86_64 architecture.
When the build starts configure Wxwidgets it cannot because a number of ports are only configured for the x86_64 architecture
One of these ports is libiconv.
The build request that you perform a,
sudo port upgrade --enforce-variants libiconv +universal.
After this performed.
Libiconv.2.dylib is built for the ppc7400 & 1386 architecture. There is no x86_64 architecture.
After rebuilding Wx_widgets after updating libiconv
the following error messages when configuring Configuring xorg-libXdmcp
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xorg-libXdmcp/work/libXdmcp-1.0.3" && ./configure --prefix=/opt/local --disable-dependency-tracking " returned error 1
Command output: checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions...
config.status: creating Makefile
dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
Referenced from: /opt/local/bin/gawk
Reason: Incompatible library version: gawk requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0
sed: stdout: Broken pipe
./config.status: line 1152: 22636 Done(1) eval sed \"\$ac_sed_extra\" "$ac_file_inputs"
22637 Trace/BPT trap | $AWK -f "$tmp/subs.awk" > $tmp/out
config.status: error: could not create Makefile
It seems to me when the command
sudo port upgrade --enforce-variants libiconv +universal.
is not truly universal.
Any suggestions??
Thank you for your support
Rod
On 2010-05-02, at 3:07 PM, Joshua Root wrote:
> On 2010-5-3 03:46 , Ryan Schmidt wrote:
>> On May 2, 2010, at 05:22, Rainer Müller wrote:
>>> On 2010-05-02 07:00 , Rod Gallant wrote:
>>>> dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
>>>> Referenced from: /opt/local/bin/gawk
>>>> Reason: Incompatible library version: gawk requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0
>>>
>>> Your /opt/local/bin/gawk was left broken after an update of libiconv.
>>
>> I don't think that's what happened in this case. libiconv was updated to library version 8.0.0 so very long ago.
>>
>> Rather, I think your gawk has for some reason decided to try using /usr/lib/libiconv.2.dylib instead of the /opt/local/lib/libiconv.2.dylib it should be using. Two possible reasons for this occur to me:
>>
>> 1) Your /opt/local/lib/libiconv.2.dylib is the wrong architecture for gawk. Type
>>
>> lipo -info /opt/local/lib/libiconv.2.dylib
>> lipo -info /opt/local/bin/gawk
>>
>> to find out what architectures they are and let us know. You're on Snow Leopard, so I would expect everything to be x86_64 architecture. If you see things that are only i386, have you perhaps migrated to Mac OS X 10.6 recently? If so, I suspect you had MacPorts installed before upgrading, and if so, you must rebuild your ports. See the instructions here:
>>
>> http://trac.macports.org/wiki/Migration
>>
>> 2) Have you set the LD_LIBRARY_PATH or DYLD_LIBRARY_PATH environment variable? If so, it may be interfering with the normal dynamic library loading order and you should unset the variable again.
>
> 3) The libiconv port was deactivated and dyld is falling back to the one
> in /usr/lib.
>
> - Josh
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
More information about the macports-users
mailing list