Can I fix dylibs?

I wanted to install Wine on my Mac so that I could play Windows only Steam games. Home-brew didn't work because of a "zlib" problem so I tried to do it from source using "./configure". It configured and I entered "make" to continue the process when it then says DYLD: Library not loaded: /usr/lib/libz.dylib. After a few attempts and a lot of research trying to find other ways to install Wine something happened and now the dylib is affecting everything else on my computer. TeamViewer and Google Chrome not won't work because of this error and I have no idea what to do to fix it.


Is there a way I can reset, reinstall, or do anything to fix this dylib problem? I would really like to use Wine and Chrome.


I have heard I could reinstall OS X but I am trying to avoid that hoping there is an answer somewhere on the Internet.


Please help, problem is irritating.

Posted on Jun 29, 2014 9:22 PM

Reply
3 replies

Jun 29, 2014 9:36 PM in response to RyMan711

I don't know if this will help:


If you see this error in your system logs or in the terminal

"dyld: shared cached file was build against a different libSystem.dylib, ignoring cache"


Open terminal, type in this command, press enter.

sudo update_dyld_shared_cache


Press RETURN. Type in your admin passsword, press RETURN, again. Your password is not echoed to the window, so type carefully.


If this doesn't help, then you probably need to reinstall OS X.

Jul 1, 2014 5:48 PM in response to Kappy

This is the error I get. It is the same with Google Chrome. I really do not want to reinstall OS X so I'm trying to find other options first




Process: TeamViewer [1335]

Path: /Applications/TeamViewer 8/TeamViewer.app/Contents/MacOS/TeamViewer

Identifier: TeamViewer

Version: ???

Code Type: X86 (Native)

Parent Process: ??? [1]

Responsible: TeamViewer [1335]

User ID: 501



Date/Time: 2014-07-01 19:44:21.363 -0500

OS Version: Mac OS X 10.10 (14A261i)

Report Version: 11

Anonymous UUID: 8910FF41-43F8-A71F-2577-FE985E02CC92





Time Awake Since Boot: 79 seconds



Crashed Thread: 0



Exception Type: EXC_BREAKPOINT (SIGTRAP)

Exception Codes: 0x0000000000000002, 0x0000000000000000



Application Specific Information:

dyld: launch, loading dependent libraries



Dyld Error Message:

Library not loaded: /usr/lib/libz.1.dylib

Referenced from: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation

Reason: no suitable image found. Did find:

/usr/lib/libz.1.dylib: mach-o, but wrong architecture

/usr/local/lib/libz.1.dylib: mach-o, but wrong architecture

/usr/lib/libz.1.dylib: mach-o, but wrong architecture



Binary Images:

0x8fe21000 - 0x8fe54a23 dyld (352.2) <CE4BB878-61A5-3E48-B302-41C1A411157C> /usr/lib/dyld

0x90008000 - 0x90043fff libsystem_network.dylib (371.0.0.0.1) <DBFBF64A-B6D4-3BCC-AAE8-BBB68B9C6851> /usr/lib/system/libsystem_network.dylib

0x901d8000 - 0x901eefff libsystem_asl.dylib (261) <B5671954-A8D4-383C-8CE2-E9372A1B4986> /usr/lib/system/libsystem_asl.dylib

0x90201000 - 0x90202fff libunc.dylib (28) <FCBAD078-C398-3363-A056-FF05B995C649> /usr/lib/system/libunc.dylib

0x90216000 - 0x9021efff libsystem_dnssd.dylib (561) <FFFE6B4B-410B-3E4A-B91D-2E3238DC2279> /usr/lib/system/libsystem_dnssd.dylib

0x90220000 - 0x90224ffb libcache.dylib (69) <D835F848-7245-3331-9328-94F3B9ABF1B2> /usr/lib/system/libcache.dylib

0x90225000 - 0x90246ffb libdispatch.dylib (418) <031852B8-89D4-31C6-8DD9-9AFFDE86229E> /usr/lib/system/libdispatch.dylib

0x9028c000 - 0x9028dfff libsystem_coreservices.dylib (6) <75A4F441-8723-347B-9FD4-5A5BF64CD7CF> /usr/lib/system/libsystem_coreservices.dylib

0x9028e000 - 0x9046a2df libobjc.A.dylib (642) <2E11BF9F-568E-3B68-8052-EBC3E38F3C4F> /usr/lib/libobjc.A.dylib

0x90854000 - 0x90854fff liblaunch.dylib (515.0.0.2.1) <10B44DB7-E82C-382B-9838-8EF49343A2F6> /usr/lib/system/liblaunch.dylib

0x90881000 - 0x90888ff3 libunwind.dylib (35.3) <4C3104DC-CA02-3537-9923-A35C7A513081> /usr/lib/system/libunwind.dylib

0x90889000 - 0x9091effb libsystem_c.dylib (1041) <B46BF153-D758-36FD-A6BF-D722B4500CA4> /usr/lib/system/libsystem_c.dylib

0x90929000 - 0x90932fff libsystem_notify.dylib (130) <EAEC3374-471B-3C76-889B-9D3B54CA953A> /usr/lib/system/libsystem_notify.dylib

0x90933000 - 0x9093cfff libcopyfile.dylib (116) <2CA02C7F-0A75-32E5-AC4C-749F523BC5F4> /usr/lib/system/libcopyfile.dylib

0x90941000 - 0x90974fe3 libsystem_m.dylib (3085) <DCB6AA98-27A5-32FB-93FF-DC16DEA8142C> /usr/lib/system/libsystem_m.dylib

0x909a7000 - 0x909c6fff libsystem_kernel.dylib (2775.0.0.0.1) <867FBD5B-C1A5-3AD8-8B55-AD1C7EACBCA5> /usr/lib/system/libsystem_kernel.dylib

0x909c7000 - 0x909c7fff libkeymgr.dylib (28) <5F42807C-5F3E-314C-82AE-BA4D51DF1C87> /usr/lib/system/libkeymgr.dylib

0x90dfb000 - 0x90dfcfff libSystem.B.dylib (1213) <685CAF43-231C-391F-8B4B-6CAE4709042B> /usr/lib/libSystem.B.dylib

0x90e06000 - 0x90e1ffff libsystem_malloc.dylib (52) <694D3B38-5CF8-39A0-B0C8-CFD3967977C2> /usr/lib/system/libsystem_malloc.dylib

0x90e2a000 - 0x90e2cffb libsystem_secinit.dylib (16) <369448B3-F109-37EB-A3E6-558F93B848CF> /usr/lib/system/libsystem_secinit.dylib

0x90e2d000 - 0x90e32ff7 libmacho.dylib (861) <91CF16FD-ACF6-31CB-A33A-B3EB99C44E66> /usr/lib/system/libmacho.dylib

0x90f28000 - 0x90f30ffb libsystem_pthread.dylib (99) <13BFBB9E-6E82-3DCF-9D2D-2DCC9615ADAB> /usr/lib/system/libsystem_pthread.dylib

0x90f33000 - 0x90f35ff7 libsystem_sandbox.dylib (351) <DE3C0B4B-C83E-3EEB-AC02-128D27B93393> /usr/lib/system/libsystem_sandbox.dylib

0x90f5d000 - 0x90f5efff libDiagnosticMessagesClient.dylib (100) <3EE83437-AA9C-356B-810B-589346B73797> /usr/lib/libDiagnosticMessagesClient.dylib

0x90f5f000 - 0x90f61fff libquarantine.dylib (75) <E9EA18E1-6A63-3D44-9546-58B32668023D> /usr/lib/system/libquarantine.dylib

0x90f69000 - 0x90fd1ff7 libcorecrypto.dylib (222) <2E6E2F18-26D8-3F3C-85FE-7679818FAD52> /usr/lib/system/libcorecrypto.dylib

0x90fd2000 - 0x90fd3fff libsystem_blocks.dylib (65) <B5C890FD-E381-3ED1-A940-3DC7B2D8B5E5> /usr/lib/system/libsystem_blocks.dylib

0x90fd4000 - 0x90fd9ff7 libcompiler_rt.dylib (35) <4E48B30B-28B8-3E94-8D41-8FD3482F9E54> /usr/lib/system/libcompiler_rt.dylib

0x90fda000 - 0x90fe0ff7 libsystem_trace.dylib (54.1.70.0.1) <EB46808F-E0CE-3A0B-A0E5-854BD35F6A74> /usr/lib/system/libsystem_trace.dylib

0x90fe5000 - 0x90febff7 libsystem_networkextension.dylib (130.0.0.0.1) <C9A301AB-4177-3A72-9AB4-C1DDA9EAC8BA> /usr/lib/system/libsystem_networkextension.dylib

0x9100c000 - 0x91034ff7 libsystem_info.dylib (456) <D3FADB01-FF32-3CA2-AFB5-68D75E79936C> /usr/lib/system/libsystem_info.dylib

0x91035000 - 0x91038fff libdyld.dylib (352.2) <B9E5C82C-0079-3E4D-A675-856076367653> /usr/lib/system/libdyld.dylib

0x911ff000 - 0x9120bff3 libcommonCrypto.dylib (60059) <AA4824D2-8D34-3755-862C-762CBFA58229> /usr/lib/system/libcommonCrypto.dylib

0x91312000 - 0x91352fff libauto.dylib (186) <5D61EB74-693D-3132-BD57-9087DF34D093> /usr/lib/libauto.dylib

0x91353000 - 0x91549fff libicucore.A.dylib (531.19) <BE3328F3-3196-3FB3-9926-00E697874A2E> /usr/lib/libicucore.A.dylib

0x9154a000 - 0x91570fff libxpc.dylib (515.0.0.2.1) <7ED55DB3-7B2C-3CF2-B880-9ADA82ECC3A8> /usr/lib/system/libxpc.dylib

0x91f1e000 - 0x91f2fff3 libsystem_coretls.dylib (29) <9FDACC02-EBB0-3A73-8C31-197CB7756DCC> /usr/lib/system/libsystem_coretls.dylib

0x92049000 - 0x9209ffff libc++.1.dylib (120) <D8DE4962-66CD-3491-904E-9291EEE5E570> /usr/lib/libc++.1.dylib

0x920cd000 - 0x920d3ff3 libsystem_platform.dylib (62) <B69CFC42-9F4D-330A-8814-5136CD8E592D> /usr/lib/system/libsystem_platform.dylib

0x920d4000 - 0x920d6fff libsystem_configuration.dylib (678.0.0.0.2) <66954CA3-EC15-3CB7-B7CB-3897374A0AAD> /usr/lib/system/libsystem_configuration.dylib

0x920d7000 - 0x920d8fff libremovefile.dylib (35) <79997BC3-EC58-3DCE-9200-E9C5B6AD3D8E> /usr/lib/system/libremovefile.dylib



Model: MacBookPro8,3, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2.3 GHz, 4 GB, SMC 1.70f6

Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB

Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 1024 MB

Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020

Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020

AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.98.100.24)

Bluetooth: Version 4.3.0d54 14222, 3 services, 19 devices, 1 incoming serial ports

Network Service: AirPort, AirPort, en1

Serial ATA Device: TOSHIBA MK7559GSXF, 750.16 GB

Serial ATA Device: MATSHITADVD-R UJ-8A8

USB Device: Hub

USB Device: Apple Internal Keyboard / Trackpad

USB Device: BRCM2070 Hub

USB Device: Bluetooth USB Host Controller

USB Device: FaceTime HD Camera (Built-in)

USB Device: Hub

USB Device: IR Receiver

Thunderbolt Bus: MacBook Pro, Apple Inc., 22.1

Jul 1, 2014 10:12 PM in response to RyMan711

It would appear you are trying to install an incompatible version of software. There is a dylib issue, but the one you have installed is incompatible with your version of OS X. You are installing software that will not work with Yosemite. And, you should not be posting about it here.


Please don't post here about beta software. There are confidential forums set aside for developers to use. Developer Forums. If you are a paid developer or seed tester then it's a violation of your NDA to post in these forums. If you aren't a developer or seed tester then you have an illegal copy.


When you downloaded the beta software you agreed to an NDA and were provided with a special forum for discussions and bug reporting. Please use that forum.


Posting here about beta software is both a violation of the NDA and the forum rules.


Your post has been reported to the moderators for removal.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can I fix dylibs?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.