jangoslackgit / sqlite4java

Automatically exported from code.google.com/p/sqlite4java
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by gito.wah...@gmail.com on 23 Jul 2010 at 6:40

GoogleCodeExporter commented 9 years ago
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.

Original comment by ser...@gmail.com on 23 Jul 2010 at 1:30

GoogleCodeExporter commented 9 years ago
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....

Original comment by gito.wah...@gmail.com on 26 Jul 2010 at 6:58

GoogleCodeExporter commented 9 years ago
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

Original comment by ser...@gmail.com on 27 Jul 2010 at 10:05

GoogleCodeExporter commented 9 years ago
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

Original comment by tibrizia...@gmail.com on 28 Jul 2010 at 1:46

GoogleCodeExporter commented 9 years ago
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

Original comment by ser...@gmail.com on 1 Aug 2010 at 1:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
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 
http://code.google.com/p/sqlite4java/downloads/detail?name=sqlite4java-osx10.4-1
86%2B.zip and tell me if it works? 

Thanks!
Igor

Original comment by ser...@gmail.com on 2 Aug 2010 at 10:54

GoogleCodeExporter commented 9 years ago
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

Original comment by gito.wah...@gmail.com on 3 Aug 2010 at 1:16

GoogleCodeExporter commented 9 years ago
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

Original comment by ser...@gmail.com on 3 Aug 2010 at 9:02

GoogleCodeExporter commented 9 years ago
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

Original comment by gito.wah...@gmail.com on 3 Aug 2010 at 9:16

GoogleCodeExporter commented 9 years ago

Original comment by ser...@gmail.com on 23 Aug 2010 at 8:12