View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004551 | unreal | module api | public | 2016-01-14 16:26 | 2026-01-19 10:23 |
| Reporter | blank | Assigned To | syzop | ||
| Priority | normal | Severity | feature | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Summary | 0004551: build module, specify libs? | ||||
| Description | in unreal3 it could be done with make custommodule MODULEFILE=mymod EXLIBS="$(mysql_config --libs) $(mysql_config --cflags)" I've tried make EXLIBS="-l sqlite3" but still get the same error on IRC *** /irc/unrealircd/conf/unrealircd.conf:9: loadmodule third/test: failed to load: /irc/unrealircd/tmp/228F77E4.third.test.so: undefined symbol: sqlite3_open | ||||
| 3rd party modules | |||||
|
|
This should work: EXLIBS="-lsqlite3" make You should manually remove the .so file generated earlier as it won't be rebuilt by default. |
|
|
For the reported issue, no change was necessary. But it didn't work very nice either, as k4be said correctly. As of today you can now specify libs in the .c file in the modulemanager block. This should help 3rd party module authors. module::compile-flags. https://github.com/unrealircd/unrealircd/commit/eea4cfa762a7c25b6607eb714573dd2a05fa7f16 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-01-14 16:26 | blank | New Issue | |
| 2017-01-06 15:48 | syzop | Category | module => module api |
| 2020-04-15 17:36 | syzop | Severity | minor => feature |
| 2020-04-21 11:54 | k4be | Note Added: 0021516 | |
| 2026-01-19 10:23 | syzop | Assigned To | => syzop |
| 2026-01-19 10:23 | syzop | Status | new => closed |
| 2026-01-19 10:23 | syzop | Resolution | open => fixed |
| 2026-01-19 10:23 | syzop | Note Added: 0023590 |