davidmoreno / onion

C library to create simple HTTP servers and Web Applications.
http://www.coralbits.com/libonion/
Other
2.02k stars 250 forks source link

Could not load external library i18n #251

Open jirijavora opened 5 years ago

jirijavora commented 5 years ago

Hello, when I try to make onion on openBSD with the freebsd branch I always end up with this:

Generating fileserver_html.c
[ERROR load.c:52] Could not load external library i18n. Check plugin location rules at otemplate --help.]

and do not know what to do with. i18n builds succesfully and libi18n.so is in onion/build/tool/otemplate/templatetags. Do you have any ideas?

davidmoreno commented 5 years ago

If the proper location is listed at otemplate --help, it may be that the way of loading .so files (dlopen and dlsym) is not exactaly the same on openBSD as on Linux... I did not test this.

If you can investigate and create a patch, it will be highly appreciated.

Thanks for the report, David.

On Mon, 8 Jul 2019 at 16:18, jironer notifications@github.com wrote:

Hello, when I try to make onion on openBSD with the freebsd branch I always end up with this:

Generating fileserver_html.c [ERROR load.c:52] Could not load external library i18n. Check plugin location rules at otemplate --help.]

and do not know what to do with. i18n builds succesfully and libi18n.so is in onion/build/tool/otemplate/templatetags. Do you have any ideas?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/davidmoreno/onion/issues/251?email_source=notifications&email_token=AACOZORMU5MENWW3XTFVLJ3P6NECHA5CNFSM4H64GQLKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G53V4UQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AACOZOTH7SO2AYRWXARCUX3P6NECHANCNFSM4H64GQLA .

-- David Moreno Montero

dmoreno@coralbits.com +34 658 18 77 17 [image: Coralbits.com] http://www.coralbits.com/ http://www.coralbits.com