Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2012 14:25:31 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Chris Rees <utisoft@gmail.com>
Cc:        freebsd-multimedia@freebsd.org, SicoSico <resuscitated_wael@hotmail.com>
Subject:   Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype)
Message-ID:  <20120903122530.GA1509@tiny.Sisis.de>
In-Reply-To: <CADLo838tU3bHcGhD6screojqmn5u4BsyrEJsTVc_dEY6fkEWQA@mail.gmail.com>
References:  <1346432933778-5739706.post@n5.nabble.com> <20120831194142.GA1409@tiny.Sisis.de> <1346515258781-5739847.post@n5.nabble.com> <20120901174214.GA38645@tinyCurrent> <1346623371986-5740128.post@n5.nabble.com> <20120903044400.GA2271@tinyCurrent> <1346671235832-5740285.post@n5.nabble.com> <20120903112505.GA1451@tiny.Sisis.de> <1346672681003-5740292.post@n5.nabble.com> <CADLo838tU3bHcGhD6screojqmn5u4BsyrEJsTVc_dEY6fkEWQA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120903122530.GA1509>