Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined symbol: _ZNSt8ios_base4InitD1Ev #37

Open
liyunde opened this issue Jun 20, 2022 · 0 comments
Open

undefined symbol: _ZNSt8ios_base4InitD1Ev #37

liyunde opened this issue Jun 20, 2022 · 0 comments

Comments

@liyunde
Copy link

liyunde commented Jun 20, 2022

Describe the bug
error: /home/liyunde/delicate/target/debug/deps/libmigrations_macros-66ae0fade1d84c0b.so: undefined symbol: _ZNSt8ios_base4InitD1Ev
-->/home/liyunde/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/diesel_migrations-1.4.0/src/lib.rs:82:1
|
82 | extern crate migrations_macros;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: could not compile diesel_migrations due to previous error

To Reproduce
Steps to reproduce the behavior:
git pull
已经是最新的。
cp template.env .env
cargo build -v

环境
centos8
rustc 1.58.1 (db9d1b20b 2022-01-20)
gcc 版本 8.5.0 20210514
/usr/lib/gcc/x86_64-redhat-linux/8/../../../libmysqlclient.a
nm target/debug/deps/libmigrations_macros-66ae0fade1d84c0b.so | grep _ZNSt8ios_base4InitD1Ev
U _ZNSt8ios_base4InitD1Ev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant