-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Description
I tried using diesel but something gives the following error on a mac from just adding the pq-sys
dependency:
> cat Cargo.toml
[package]
name = "testing"
version = "0.1.0"
[dependencies]
pq-sys = "0.2.1"
> cat src/lib.rs
extern crate pq_sys;
> cargo test --verbose
Fresh libc v0.2.13
Fresh pq-sys v0.2.1
Fresh testing v0.1.0 (file:///Users/user/testing)
Running `/Users/user/testing/target/debug/testing-0688888a7aeac232`
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /usr/local/lib/libJPEG.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
error: Process didn't exit successfully: `/Users/user/testing/target/debug/testing-0688888a7aeac232` (signal: 5, SIGTRAP: trace/breakpoint trap)
Caused by:
Process didn't exit successfully: `/Users/user/testing/target/debug/testing-0688888a7aeac232` (signal: 5, SIGTRAP: trace/breakpoint trap)
Metadata
Metadata
Assignees
Labels
No labels