Opened 10 years ago

#1156 closed defect (Fixed)

Vidalia in OS X tiger bundle built with wrong libiconv?

Reported by: arma Owned by: phobos
Priority: Low Milestone:
Component: Applications/Tor bundles/installation Version: 0.2.1.20
Severity: Keywords:
Cc: arma, minipli, edmanm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

minipli> when starting it from a shell it tells me something about
incompatible library versions for libiconv.2.dylib :(

minipli> arma: I would guess the app was linked against the wrong version of
the library, e.g. by building it on a newer version of MacOS X, maybe :/

minipli> arma: The error message I get is that Vidalia requires the version
7.0.0 but the systems version is 5.0.0, so I guess your Mac porter is using
Leopard or Snow Leapard that ship with this version of the library

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (9)

comment:1 Changed 10 years ago by minipli

Mac OS X is 10.4.11 (aka Tiger) on Intel; the error is the following:

zaphod:~ mk$ /Applications/Vidalia.app/Contents/MacOS/Vidalia
dyld: Library not loaded: /usr/lib/libiconv.2.dylib

Referenced from: /Applications/Vidalia.app/Contents/MacOS/Vidalia
Reason: Incompatible library version: Vidalia requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0

Trace/BPT trap
zaphod:~ mk$

comment:2 Changed 10 years ago by phobos

Try this, it was build on actual tiger x86, https://dist.vidalia-project.net/vidalia-0.2.6-i386.dmg and .asc from the Vidalia developer.

comment:3 Changed 10 years ago by minipli

Sorry, this one doesn't work either. But now it's another problem. Looks like some QT library is missing.

zaphod:~ mk$ /Applications/Vidalia.app/Contents/MacOS/Vidalia
dyld: Library not loaded: QtSvg.framework/Versions/4/QtSvg

Referenced from: /Applications/Vidalia.app/Contents/MacOS/Vidalia
Reason: image not found

Trace/BPT trap
zaphod:~ mk$

comment:4 Changed 10 years ago by minipli

Looks like there are already some QT libraries included but QtSvg is missing:

zaphod:~ mk$ ls /Applications/Vidalia.app/Contents/Frameworks/
QtCore.framework QtGui.framework QtNetwork.framework QtXml.framework
zaphod:~ mk$

But libiconv2.dylib is the right one now :)

zaphod:~ mk$ otool -L /Applications/Vidalia.app/Contents/MacOS/Vidalia
/Applications/Vidalia.app/Contents/MacOS/Vidalia:

QtSvg.framework/Versions/4/QtSvg (compatibility version 4.5.0, current version 4.5.3)
@executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui (compatibility version 4.5.0, current version 4.5.3)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 128.0.0)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 824.48.0)
@executable_path/../Frameworks/QtXml.framework/Versions/4/QtXml (compatibility version 4.5.0, current version 4.5.3)
@executable_path/../Frameworks/QtNetwork.framework/Versions/4/QtNetwork (compatibility version 4.5.0, current version 4.5.3)
/usr/lib/libssl.0.9.7.dylib (compatibility version 0.9.7, current version 0.9.7)
@executable_path/../Frameworks/QtCore.framework/Versions/4/QtCore (compatibility version 4.5.0, current version 4.5.3)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 22.0.0)
/usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current version 5.0.0)
/usr/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.7, current version 0.9.7)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.11)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 18.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 368.35.0)

zaphod:~ mk$

comment:5 Changed 10 years ago by edmanm

Here's a new Vidalia-only package and a Tor 0.2.2.6-alpha bundle to try:

https://dist.vidalia-project.net/vidalia-0.2.6-i386.dmg
https://dist.vidalia-project.net/vidalia-0.2.6-i386.dmg.asc

https://dist.vidalia-project.net/vidalia-bundle-0.2.2.6-alpha-0.2.6-i386.dmg
https://dist.vidalia-project.net/vidalia-bundle-0.2.2.6-alpha-0.2.6-i386.dmg.asc

The QtSvg thing was because of a change that shouldn't have actually been committed
to Vidalia. I removed that dependency from the packages linked in this post. As for
the cause of the original problem, as best as I can tell it was because the Vidalia
binary was built with the wrong SDK.

comment:6 Changed 10 years ago by minipli

Looks promising. Vidalia now starts from both of the packages. But tor cannot be started because it was linked against openssl 0.9.8 which isn't available in the system. Vidalia albeit was linked against openssl 0.9.7. Also the official packages from https://www.torproject.org/download.html contain working tor versions.

comment:7 Changed 9 years ago by arma

So this one is all solved, right? We should close the bug?

comment:8 Changed 9 years ago by minipli

I can confirm, 0.2.2.8-alpha works fine on MacOS X 10.4.11.
Tanks!

comment:9 Changed 9 years ago by arma

flyspray2trac: bug closed.

Note: See TracTickets for help on using tickets.