作者查詢 / NealPope

總覽項目: 發文 | 留言 | 暱稱
作者 NealPope 在 PTT [ Linux ] 看板的留言(推文), 共17則
限定看板:Linux
首頁
上一頁
1
下一頁
尾頁
[問題] 想請教如何在Linux上寫C連資料庫
[ Linux ]46 留言, 推噓總分: +2
作者: NealPope - 發表於 2020/07/17 00:04(5年前)
15FNealPope: 我編譯下gcc conn.c -o -mdb.o -lmariadbclient -lpthre07/21 10:53
16FNealPope: ad -lm -ldl -lssl -lcryp07/21 10:53
17FNealPope: 它回 /bin/ld: unrecognised emulation mode: db.o07/21 10:56
18FNealPope: Supported emulations: elf_x86_64 elf_x86_64 elf32_x807/21 11:00
19FNealPope: 6_64 elf_i386 i386lunux elf_liom elf_klom07/21 11:00
20FNealPope: collect2: error: ld returned 1 exit status07/21 11:01
21FNealPope: 這是什麼原因呢QQ07/21 11:01
23FNealPope: 顯示 cannot find -lmariadbclient07/21 15:30
24FNealPope: collect2: error: ld returned 1 exit status07/21 15:32
25FNealPope: 一直編譯失敗QQ07/21 15:53
31FNealPope: 有東西出來了!07/22 08:26
32FNealPope: 它跑出a.out07/22 08:34
33FNealPope: a.out是執行檔嗎?07/22 09:04
37FNealPope: 突然有個問題07/23 09:24
38FNealPope: 有台32位元的Linux下mysql_config --libs,它顯示mysql_07/23 09:35
39FNealPope: config: command not found07/23 09:35
40FNealPope: 要如何讓這台32位元的也能順利gcc編譯出執行檔呢07/23 09:36
首頁
上一頁
1
下一頁
尾頁