Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant