[asterisk-bugs] [JIRA] (ASTERISK-25873) res_pjsip: Bundled pjproject: compile error, cannot find -lasteriskpj

George Joseph (JIRA) noreply at issues.asterisk.org
Wed Mar 30 17:53:56 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=230083#comment-230083 ] 

George Joseph commented on ASTERISK-25873:
------------------------------------------

Ok, now that I know it's LDCONFIG that's the issue, I'll fix it permanently.


> res_pjsip: Bundled pjproject: compile error, cannot find -lasteriskpj
> ---------------------------------------------------------------------
>
>                 Key: ASTERISK-25873
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25873
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip/Bundling
>    Affects Versions: 13.8.0
>         Environment: Linux vps 4.4.0-0.bpo.1-amd64 #1 SMP Debian 4.4.6-1~bpo8+1 (2016-03-20) x86_64 GNU/Linux
> gcc version 4.9.2 (Debian 4.9.2-10)
>            Reporter: Hans van Eijsden
>            Assignee: George Joseph
>              Labels: asterisk
>
> While building Asterisk 13.8.0 with the new --pjproject-bundled option, Asterisk doesn't build.
> While linking, it stops at this error:
> /usr/bin/ld.bfd.real: cannot find -lasteriskpj
> collect2: error: ld returned 1 exit status
> The complete log is on Pastebin (http://pastebin.com/ikXAsjMF), attached to this report.
> TL;DR:
> $ contrib/scripts/get_mp3_source.sh
> $ ./bootstrap.sh
> $ ./configure CFLAGS="-DPJ_HAS_IPV6=1 -fPIC -O3 -march=native" CXXFLAGS="-fPIC -O3 -march=native" --with-pjproject-bundled --with-srtp --with-ssl --with-crypto
> $ make menuselect
> $ make
> [...]
> /usr/bin/ld.bfd.real: cannot find -lasteriskpj
> collect2: error: ld returned 1 exit status
> Makefile:334: recept voor doel 'asterisk' is mislukt
> make[1]: *** [asterisk] Fout 1
> Makefile:398: recept voor doel 'main' is mislukt
> make: *** [main] Fout 2
> Just let me know if you need more info. Thanks.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list