Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
agkyra
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
agkyra
Commits
98237363
Commit
98237363
authored
9 years ago
by
gkorf
Browse files
Options
Downloads
Patches
Plain Diff
Script to fix sqlite in osx
parent
5ed9e99a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-4
2 additions, 4 deletions
README.md
fix_sqlite_osx.sh
+21
-0
21 additions, 0 deletions
fix_sqlite_osx.sh
with
23 additions
and
4 deletions
README.md
+
2
−
4
View file @
98237363
...
@@ -51,10 +51,8 @@ the Python framework can be created with PyInstaller.
...
@@ -51,10 +51,8 @@ the Python framework can be created with PyInstaller.
work properly. You can build agkyra with a newer sqlite3
work properly. You can build agkyra with a newer sqlite3
library. Assuming you have installed one (eg with brew) under
library. Assuming you have installed one (eg with brew) under
`/usr/local/opt/sqlite`
, you need to build with environment variable
`/usr/local/opt/sqlite`
, you need to build with environment variable
`DYLD_LIBRARY_PATH=/usr/local/opt/sqlite/lib`
. Then go to
`DYLD_LIBRARY_PATH=/usr/local/opt/sqlite/lib`
. Then run
`dist/agkyra.app/Contents/MacOS`
and run
`install_name_tool -change
`fix_sqlite_osx.sh`
.
'/usr/lib/libsqlite3.dylib' '@loader_path/libsqlite3.dylib'
_sqlite3.so`
3.
Make an archive (zip, or gzipped tar) with
`python bundle.py <platform>`
.
3.
Make an archive (zip, or gzipped tar) with
`python bundle.py <platform>`
.
...
...
This diff is collapsed.
Click to expand it.
fix_sqlite_osx.sh
0 → 100755
+
21
−
0
View file @
98237363
#!/usr/bin/env bash
# Copyright (C) 2015 GRNET S.A.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
CURPWD
=
$(
pwd
)
cd
"
$(
dirname
"
$0
"
)
"
cd
dist/agkyra.app/Contents/MacOS
install_name_tool
-change
'/usr/lib/libsqlite3.dylib'
'@loader_path/libsqlite3.dylib'
_sqlite3.so
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment