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 8129705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T08:24:20+00:00 2026-06-06T08:24:20+00:00

I am trying to learn sqlite for the iphone and am using the tutorial

  • 0

I am trying to learn sqlite for the iphone and am using the tutorial at this link:

http://www.techotopia.com/index.php/An_Example_SQLite_based_iPhone_Application

I created a single view application and copied the code from the tutorial into the viewcontroller.h and .m files. After each section in the tutorial I compiled the code to make sure it is still working. I first get an error after I copy in the “Creating the Database and Table” section. I get the following errors.

Undefined symbols for architecture i386:
  "_sqlite3_open", referenced from:
      -[ViewController viewDidLoad] in ViewController.o
  "_sqlite3_exec", referenced from:
      -[ViewController viewDidLoad] in ViewController.o
  "_sqlite3_close", referenced from:
      -[ViewController viewDidLoad] in ViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have searched countless forums and tried numerous things. I have imported libsqlite3.dylib and libsqlite3.0.dylib. I am using xcode 4.2. It seems to be related to sqlite framework but I don’t know how to fix it.

Any help you can provide will be greatly appreciated.

Thanks,

Ian

  • 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-06T08:24:22+00:00Added an answer on June 6, 2026 at 8:24 am

    You probably need to add the libraries/frameworks for sqlite. Use this reference and add the entries for sqlite. Maybe you didn’t add them to your current target?:

    add frameworks

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

Sidebar

Related Questions

Trying to learn a bit about PDO and is going through this tutorial .
Sorry I am a noob, I am trying to learn about sqlite databases using
Trying to learn how to use Data.Binary and hit a roadblock here: http://www.haskell.org/haskellwiki/Serialisation_and_compression_with_Data_Binary D:\Projects\haskell\serialize\ex1.hs:114:26:
I'm trying to learn how to use the UITableView in conjunction with a SQLite
Trying to learn about php's arrays today. I have a set of arrays like
I´m trying to learn C#, coming from a Python/PHP background, and I´m trying to
I was trying learn lex and yacc using the oreilly book. I tried following
Trying to learn Django, I closed the shell and am getting this problem now
I'm trying to learn SQLite . I wanted to put the information from the
I am trying to learn about SQLite databases, but I really hate dealing with

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.