Error when trying to connect sqlite db in Mac OS X 10.4.11

Issue #6 closed
Former user created an issue

Originally reported on Google Code with ID 6 ``` dyld: lazy symbol binding failed: Symbol not found: _pthread_mutexattr_destroy$UNIX2003 Referenced from: /private/tmp/sqlitejdbc36941.jnilib Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _pthread_mutexattr_destroy$UNIX2003 Referenced from: /private/tmp/sqlitejdbc36941.jnilib Expected in: /usr/lib/libSystem.B.dylib

I use version sqlite4java-175 on Mac OS X 10.4.11

```

Reported by `gito.wahyudi` on 2010-07-23 06:40:52

Comments (10)

  1. Igor Sereda

    ``` We're building on 10.5.8 right now, that should be the cause of the problem.

    I'll try to downgrade our build environment, and also publish instructions for building the library on your own. ```

    Reported by `sereda` on 2010-07-23 13:30:30 - Status changed: `Accepted`

  2. Former user Account Deleted

    ``` Dear Mr. Sereda,

    Thank you very much about your quick reply....it's very-very helpfull, may I ask you about when you'll downgrade your build environment for it. i'm waiting for your help.

    Once again...thank you...

    Regards.... ```

    Reported by `gito.wahyudi` on 2010-07-26 06:58:22

  3. Igor Sereda

    ``` Do you have a PowerPC Mac, or an Intel Mac? This message seems to happen with PowerPC-based Macs, and I'm afraid we won't be able to compile for that platform.

    Please confirm the platform

    Thanks! Igor ```

    Reported by `sereda` on 2010-07-27 22:05:40

  4. Former user Account Deleted

    ``` I've an Intel Mac, did u try to downgrade your environment build for Mac OS X 10.4.8 (Intel Mac)?

    Thanks For ur Attention. Gito Wahyudi ```

    Reported by `tibriziabdan` on 2010-07-28 13:46:53

  5. Igor Sereda

    ``` We don't have the possibility to have Mac OS X 10.4 build environment for now. I can only suggest that you try to build project from sources yourself - sorry!

    Here's the instructions for building the project: http://code.google.com/p/sqlite4java/wiki/BuildingFromSource

    Also, take a look at `ant/mac.properties` file. There are CC options that obviously should be changed: `-mmacosx-version-min=10.5 -DMAC_OS_X_VERSION_MIN_REQUIRED=1050 -isysroot /Developer/SDKs/MacOSX10.5.sdk`

    I don't know if changing them here and building on 10.5 will yield a code runnable on 10.4. If you manage to compile a working version, please let me know. I will later try to build the library with minimum version set to 10.5, and pass the binaries along for testing.

    Thanks! Igor ```

    Reported by `sereda` on 2010-08-01 13:51:25

  6. Former user Account Deleted

    ``` I've tried your file on my mac 10.4...and found this error:

    2010-08-03 08:03:29.975 java[377] CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port = 0xf803, name = 'java.ServiceProvider' See /usr/include/servers/bootstrap_defs.h for the error codes. 2010-08-03 08:03:29.976 java[377] CFLog (99): CFMessagePortCreateLocal(): failed to name Mach port (java.ServiceProvider) Aug 3, 2010 8:03:31 AM com.almworks.sqlite4java.Internal log INFO: [sqlite] DB[1]: instantiated [/Users/andre/Desktop/IPTI/build/coba.db] Aug 3, 2010 8:03:31 AM ipti.IPTIView getData

    btw, thank you about your help for building in 10.4, you're a good guy

    Would you like to find the problem about the error...

    Thanks very much, Gito Wahyudi ```

    Reported by `gito.wahyudi` on 2010-08-03 01:16:11

  7. Igor Sereda

    ``` Are you sure this error is related to sqlite4java? Please try running "java -jar sqlite4java.jar" from console. It should give the following output:

    $ java -jar sqlite4java.jar sqlite4java 186+ SQLite 3.6.23.1 Compile-time options: ENABLE_COLUMN_METADATA ENABLE_FTS3 ENABLE_FTS3_PARENTHESIS ENABLE_LOCKING_STYLE=0 ENABLE_MEMORY_MANAGEMENT ENABLE_STAT2 OMIT_DEPRECATED OMIT_LOAD_EXTENSION TEMP_STORE=1 THREADSAFE=1

    If it outputs that, then sqlite4java works (at least native library is loaded). If it outputs something else, it doesn't work.

    Igor

    ```

    Reported by `sereda` on 2010-08-03 09:02:48

  8. Former user Account Deleted

    ``` Dear Mr. Igor,

    You're right, the problem is not coming from sqlite4java.....now my app is running well on mac os x10.4, thanks very much for your help.

    Warm Regards, Gito Wahyudi ```

    Reported by `gito.wahyudi` on 2010-08-03 09:16:54

  9. Igor Sereda

    Reported by `sereda` on 2010-08-23 20:12:15 - Status changed: `Delivered` - Labels added: FixVersion-201

  10. Log in to comment