Skip to content

Can't find libsybdb.dylib on mac #161

Closed
@Paxa

Description

@Paxa

I downloaded package pgloader-3.2.0.pkg installed and try to run.

% pgloader --version

debugger invoked on a SIMPLE-ERROR in thread
#<THREAD "main thread" RUNNING {1006E666E3}>:
  Error opening shared object "libsybdb.dylib":
  dlopen(libsybdb.dylib, 10): image not found.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE       ] Skip this shared object and continue.
  1: [RETRY          ] Retry loading this shared object.
  2: [CHANGE-PATHNAME] Specify a different pathname to load the shared object from.

(SB-SYS:DLOPEN-OR-LOSE #S(SB-ALIEN::SHARED-OBJECT :PATHNAME #P"libsybdb.dylib" :NAMESTRING "libsybdb.dylib" :HANDLE NIL :DONT-SAVE NIL))
0] 

Then if I try to migrate data from mysql to postgresq, I get this:

2015-01-28T06:48:07.627000+01:00 ERROR Database error 42601: syntax error at or near "3"
QUERY: CREATE TABLE merchants 
(
  id                     text not null,
  merchant_name          text,
  email                  text,
  phone                  text,
  url                    text,
  3d_secure_mpi_type     text,
  ....
);

Seems like postgres don't like column name starting with number

But it imports data correctly

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions