Opened 14 years ago

Closed 14 years ago

#25198 closed defect (invalid)

sshfs:libiconv wrong version

Reported by: arne@… Owned by: kballard (Lily Ballard)
Priority: Normal Milestone:
Component: ports Version: 1.9.0
Keywords: Cc: drkp (Dan Ports)
Port: sshfs

Description

I installed sshfs using MacPorts 3 weeks back.

Now it says (when starting):

dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib
  Referenced from: /opt/local/bin/sshfs
  Reason: Incompatible library version: sshfs requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0

I tracked it down to two different versions of libiconv: libiconv.2.dylib: Contains version 7.0.0 libiconv.2.dylib: Contains 8.0.0, but only architectures i386 and PPC! (I'm on X86_64)

How can I update libiconv to 8.0.0 for X86_64?

(What has happened between installing sshfs and now is that I installed Wine using ports).

Change History (6)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to eridius@…
Port: sshfs added

Do you have universal_archs set to i386 ppc or something?

comment:2 Changed 14 years ago by arne@…

I didn't do any configuration when installing MacPorts.

My environment variables has no universal_archs.

Seems like libicon version 8.0.0 wih X86_64 support is required.

comment:3 Changed 14 years ago by jmroot (Joshua Root)

It's not an environment variable, it's a setting in macports.conf. Check what's in there so you know for sure. Knowing your OS version would also be helpful.

comment:4 in reply to:  3 Changed 14 years ago by arne@…

Replying to jmr@…:

It's not an environment variable, it's a setting in macports.conf. Check what's in there so you know for sure. Knowing your OS version would also be helpful.

OK, this looks interesting. In my file: /opt/local/etc/macports/macports.conf I have:

# machine architectures
universal_archs      ppc i386

My system is a MacBook Pro, running OS/X 10.6.3

Thanks for your input.

Should I rebuild something?

comment:5 Changed 14 years ago by drkp (Dan Ports)

Cc: dports@… added

Cc Me!

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

So yeah, you had different universal_archs configured than you wanted. That's not the default value on 10.6, so this is almost certainly a Migration problem. You'll want to reinstall everything that's installed with +universal after you change universal_archs.

Note: See TracTickets for help on using tickets.