postgresql-kit icon indicating copy to clipboard operation
postgresql-kit copied to clipboard

Library not found issue

Open JPMallow opened this issue 11 years ago • 6 comments

Hi,

I want to integrate the PosgresSQL server in one of my mac app. I just build manually and created the PGClient framework (As per https://github.com/djthorpe/postgresql-kit/wiki/PGClientKit). But it throws an exception at runtime(Build successful).

Exception: dyld: Library not loaded: @executable_path/../Frameworks/PGClientKit.framework/Versions/A/PGClientKit

Can you help me regarding this?

JPMallow avatar Jul 11 '14 08:07 JPMallow

I have solved this issue by just pasting the framework in /Library/Frameworks where as earlier i placed in my project folder.

Thanks!

JPMallow avatar Jul 11 '14 09:07 JPMallow

Hi I have a problem First I have to choose the DB-System to use Mysql or Postgres

  • which is better ? Second how can I access the data ?

I used both frameworks in Xcode but I had no success to connect to the database

So I would appreciate help which is the better DB regarding Performance and how do I use the framework for connect and SQL statements

Thank you for any help to solve this issue

I am using Mac Os 10.9 and xcode 5.1.1

Many thanks

Am 11.07.2014 um 11:43 schrieb JPMallow [email protected]:

I have solved this issue by just pasting the framework in /Library/Frameworks where as earlier i placed in my project folder.

Thanks!

— Reply to this email directly or view it on GitHub.

pschwalb avatar Jul 11 '14 09:07 pschwalb

I tried to analyze sequel pro to find out how to connect to a database but I didn’t find out how to do it. Am 11.07.2014 um 11:57 schrieb Schwalb Peter [email protected]:

Hi I have a problem First I have to choose the DB-System to use Mysql or Postgres

  • which is better ? Second how can I access the data ?

I used both frameworks in Xcode but I had no success to connect to the database

So I would appreciate help which is the better DB regarding Performance and how do I use the framework for connect and SQL statements

Thank you for any help to solve this issue

I am using Mac Os 10.9 and xcode 5.1.1

Many thanks

Am 11.07.2014 um 11:43 schrieb JPMallow [email protected]:

I have solved this issue by just pasting the framework in /Library/Frameworks where as earlier i placed in my project folder.

Thanks!

— Reply to this email directly or view it on GitHub.

pschwalb avatar Jul 11 '14 10:07 pschwalb

Did you tried to build the PGClient framework (https://github.com/djthorpe/postgresql-kit/wiki/PGClientKit)?

JPMallow avatar Jul 11 '14 10:07 JPMallow

No I tried to compile it first I had troubles with openssl I deactivated the compile Than I have the following error

ld: file not found: /Users/peter/Library/Developer/Xcode/DerivedData/postgresql-kit-fcfhsxcgbhummxfiuktfgzxsixav/Build/Products/Debug/openssl-current-mac_x86_64/lib/libcrypto.a Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld failed with exit code 1 So it seems that openssl ist not removed from compile completely

Am 11.07.2014 um 12:38 schrieb JPMallow [email protected]:

Did you tried to build the PGClient framework (https://github.com/djthorpe/postgresql-kit/wiki/PGClientKit)?

— Reply to this email directly or view it on GitHub.

pschwalb avatar Jul 11 '14 11:07 pschwalb

Hi

I finally succeeded and have a connection and can select 1 Row; So the rest is programming my application and the rest of sql syntax

many greetings

Am 11.07.2014 um 12:38 schrieb JPMallow [email protected]:

Did you tried to build the PGClient framework (https://github.com/djthorpe/postgresql-kit/wiki/PGClientKit)?

— Reply to this email directly or view it on GitHub.

pschwalb avatar Jul 11 '14 14:07 pschwalb