Subject | RE: [firebird-support] Restore firebird 1.5 backup into firebird 2.5.8 database with GBAK Fails |
---|---|
Author | Paul Beach |
Post date | 2018-02-06T15:00:40Z |
<<I’m trying to restore, on Mac OS 10.10, a firebird 1.5 backup into firebird 2.5.8 database using GBAK because the backup was made with gbak.
The problem I’m always the following error
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
Referenced from: /Library/Frameworks/Firebird.framework/Versions/A/Resources/bin/gbak
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _clock_gettime
Referenced from: /Library/Frameworks/Firebird.framework/Versions/A/Resources/bin/gbak
Expected in: /usr/lib/libSystem.B.dylib
Doe’s anyone encoutred the same error and tell me how to do to fixe it>>
Hmm, 2.5.8 was compiled on 10.13 with a macosx-version-min of 10.9 using clang 17.3
However it looks like you have run into this particular issue...
it look s you need to update your OS to at least MacOS Sierra 10.12
As the function clock_gettime was not provided in earlier versions of OSX (El Capitain for example),
It looks like Apple have introduced the clock_gettime posix API in MacOSX 10.12
The configure script used to build firebird is detecting this and enable usage of it.
Since you are running on 10.10, this functionality doesn't exist, so the linking at runtime fails.
Depending on how critical this is, it might be possible to create a build of Fireird that
defaults to the previous behaviour (pre 10.12) where configure does not detect the function
_clock_gettime and uses firebirds own methods.
Paul
The problem I’m always the following error
dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
Referenced from: /Library/Frameworks/Firebird.framework/Versions/A/Resources/bin/gbak
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _clock_gettime
Referenced from: /Library/Frameworks/Firebird.framework/Versions/A/Resources/bin/gbak
Expected in: /usr/lib/libSystem.B.dylib
Doe’s anyone encoutred the same error and tell me how to do to fixe it>>
Hmm, 2.5.8 was compiled on 10.13 with a macosx-version-min of 10.9 using clang 17.3
However it looks like you have run into this particular issue...
it look s you need to update your OS to at least MacOS Sierra 10.12
As the function clock_gettime was not provided in earlier versions of OSX (El Capitain for example),
It looks like Apple have introduced the clock_gettime posix API in MacOSX 10.12
The configure script used to build firebird is detecting this and enable usage of it.
Since you are running on 10.10, this functionality doesn't exist, so the linking at runtime fails.
Depending on how critical this is, it might be possible to create a build of Fireird that
defaults to the previous behaviour (pre 10.12) where configure does not detect the function
_clock_gettime and uses firebirds own methods.
Paul