baresip (was Re: Ekiga && FreeBSD (for a future without Skype)

Matthias Apitz guru at unixarea.de
Mon Sep 3 12:25:39 UTC 2012


El día Monday, September 03, 2012 a las 01:06:12PM +0100, Chris Rees escribió:

> On 3 Sep 2012 12:44, "SicoSico" <resuscitated_wael at hotmail.com> wrote:
> >
> > #ldd /usr/local/bin/baresip
> > /usr/local/bin/baresip:
> >         libre.so => not found (0)
> >         libssl.so.7 => /usr/lib32/libssl.so.7 (0x2808a000)
> >         libcrypto.so.7 => /usr/lib32/libcrypto.so.7 (0x280e6000)
> >         libz.so.6 => /usr/lib32/libz.so.6 (0x28279000)
> >         libthr.so.3 => /usr/lib32/libthr.so.3 (0x2828d000)
> >         librem.so => not found (0)
> >         libm.so.5 => /usr/lib32/libm.so.5 (0x282b0000)
> >         libc.so.7 => /usr/lib32/libc.so.7 (0x282cc000)
> >
> > #cd /usr/local/lib
> > #ls -al | grep libre
> > -rwxr-xr-x    1 root  wheel   1224389 Dec 30  2011 libre.so
> > -rwxr-xr-x    1 root  wheel     81924 Dec 30  2011 librem.so
> >
> >
> 
> I made a few tweaks when porting; I think that bare sip expects libre and
> librem in /usr/lib by default.  Perhaps Matthias has them in there too, and
> it linked that way.

No. They are in and fetched from /usr/local/lib:

$ uname -a
FreeBSD tiny.Sisis.de 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r226986: Tue
Nov  1 14:27:40 CET 2011     guru at caracas:/usr/obj/usr/src/sys/GENERIC
i386
$ ldd /usr/local/bin/baresip
/usr/local/bin/baresip:
        libre.so => /usr/local/lib/libre.so (0x280b0000)
        libssl.so.7 => /usr/local/lib/libssl.so.7 (0x28108000)
        libcrypto.so.7 => /usr/local/lib/libcrypto.so.7 (0x28156000)
        libz.so.6 => /lib/libz.so.6 (0x282b8000)
        libthr.so.3 => /lib/libthr.so.3 (0x282cc000)
        librem.so => /usr/local/lib/librem.so (0x282ed000)
        libm.so.5 => /lib/libm.so.5 (0x282f5000)
        libc.so.7 => /lib/libc.so.7 (0x28311000)
        libssl.so.6 => /usr/lib/libssl.so.6 (0x2843c000)
        libcrypto.so.6 => /lib/libcrypto.so.6 (0x28485000)

Note, you (SicoSico) do the ldd(1) as root and maybe you have some
settings which prevent fetching shared libs from there; or try copying
the libre.so and librem.so to your /usr/lib32/

	matthias

-- 
Matthias Apitz               |  /"\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: guru at unixarea.de     |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211       |  / \ - Respect for open standards


More information about the freebsd-multimedia mailing list