Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7996525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:43:46+00:00 2026-06-04T14:43:46+00:00

Possible Duplicate: error when import zlib in iOS: symbol(s) not found collect2: ld I

  • 0

Possible Duplicate:
error when import zlib in iOS: symbol(s) not found collect2: ld

I am working on iphone project and I need a library to extract ZIP file
I found ZipArchive but it doesn’t compatible with ARC and when I add -fno-objc-arc to compile files I get linker error:

Undefined symbols for architecture i386:
“_inflateEnd”, referenced from:
_unzCloseCurrentFile in unzip.o
“inflateInit2“, referenced from:
_unzOpenCurrentFile3 in unzip.o
“_get_crc_table”, referenced from:
_unzOpenCurrentFile3 in unzip.o
_zipOpenNewFileInZip3 in zip.o
“_crc32”, referenced from:
_unzReadCurrentFile in unzip.o
_zipWriteInFileInZip in zip.o
-[ZipArchive addFileToZip:newname:] in ZipArchive.o
“_inflate”, referenced from:
_unzReadCurrentFile in unzip.o
“deflateInit2“, referenced from:
_zipOpenNewFileInZip3 in zip.o
“_deflate”, referenced from:
_zipWriteInFileInZip in zip.o
_zipCloseFileInZipRaw in zip.o
“_deflateEnd”, referenced from:
_zipCloseFileInZipRaw in zip.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T14:43:48+00:00Added an answer on June 4, 2026 at 2:43 pm

    For the undefined symbols, you need to add libz to the linked libraries. See: error when import zlib in iphone sdk

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: setOnClickListener not working and throwing error I am trying to develop a
Possible Duplicate: ERROR: While executing gem … (Zlib::GzipFile::Error) not in gzip format When installing
Possible Duplicate: Weird “406 not acceptable” error following code generate a 406 Not Acceptable
Possible Duplicate: Error: could not find function … in R I find various references
Possible Duplicate: need help with some stored procedure plz ERROR:- A SELECT statement that
Possible Duplicate: Weird “406 not acceptable” error I've been stuck on this ALL DAY!
Possible Duplicate: Python import MySQLdb error - Mac 10.6 I've tried everything I can
Possible Duplicate: iPhone CodeSign failed From last two days i am facing following error
Possible Duplicate: How do I import the javax.servlet API in my Eclipse project? When
Possible Duplicate: How do I fix NSURLErrorDomain error -999 in iPhone 3.0 OS I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.