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

FreeBSD iconv issue #65

Open
kosfango opened this issue Mar 20, 2019 · 1 comment
Open

FreeBSD iconv issue #65

kosfango opened this issue Mar 20, 2019 · 1 comment

Comments

@kosfango
Copy link

Hi,

There is a little issue if libiconv installed from port collection: /usr/ports/converters/libiconv

[2019-03-20 13:13:33] WARNING[101751]: loader.c:583 struct ast_module *load_dlop en(const char *, const char *, const char *, int, unsigned int): Error loading m odule 'chan_dongle.so': /usr/local/lib/asterisk/modules/chan_dongle.so: Undefine d symbol "libiconv"

It seems, asterisk bult with libiconv from base system by default, but chan dongle bult with libiconv from port collection. If me remove libiconv from port collection and reconfigure/recompile chan_dongle, the problem is not reproduce. May be .configure script has some paramenetrs like --with-libiconv-from-base ?

Thanks

@VasOleMil
Copy link

  1. ./bootstrap
  2. ./configure LDFLAGS="-L /usr/local/lib" --with-astversion=18.14.0 (command asterisk -V)
  3. add in Makefile block usage, line 43: CFLAGS = -g -O2 -O6 -Wno-out-of-line-declaration -fblocks
  4. add in the end makefile line LIBS = /usr/local/lib/libiconv.so
  5. gmake and copy your file to asterisk modules or use gmake install

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

2 participants