Menu

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

Delivered
nobody
None
Medium
Defect
201
2010-08-23
2010-07-22
Anonymous
No

Originally created by: gito.wah...@gmail.com
Originally owned by: ser...@gmail.com

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

Discussion

  • Anonymous

    Anonymous - 2010-07-23

    Originally posted by: ser...@gmail.com

    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.

    Cc: pzvyagin
    Status: Accepted

     
  • Anonymous

    Anonymous - 2010-07-25

    Originally posted by: gito.wah...@gmail.com

    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....

     
  • Anonymous

    Anonymous - 2010-07-27

    Originally posted by: ser...@gmail.com

    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

     
  • Anonymous

    Anonymous - 2010-07-28

    Originally posted by: tibrizia...@gmail.com

    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

     
  • Anonymous

    Anonymous - 2010-08-01

    Originally posted by: ser...@gmail.com

    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: https://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

     
  • Anonymous

    Anonymous - 2010-08-02

    Originally posted by: ser...@gmail.com

    I've managed to compile it for 10.4 while running under 10.5; however, I need this build verified before adding it to the distributables.

    Could you please try file https://code.google.com/p/sqlite4java/downloads/detail?name=sqlite4java-osx10.4-186%2B.zip and tell me if it works?

    Thanks!
    Igor

     
  • Anonymous

    Anonymous - 2010-08-02

    Originally posted by: gito.wah...@gmail.com

    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

     
  • Anonymous

    Anonymous - 2010-08-03

    Originally posted by: ser...@gmail.com

    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

     
  • Anonymous

    Anonymous - 2010-08-03

    Originally posted by: gito.wah...@gmail.com

    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

     
  • Anonymous

    Anonymous - 2010-08-23

    Originally posted by: ser...@gmail.com

    (No comment was entered for this change.)

    Labels: FixVersion-201
    Owner: sereda
    Status: Delivered

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.