Re: Compilation issue - checking for osip_init in -losip2... no - *** ERROR: libosip2 is required!

Jack Howard <[email protected]> Wed, 17 Apr 2013 10:55:34 +0100
Newsgroups gmane.network.siproxd
Message-ID <CAHLGfkE26s8Zfr4h2EAU+WMEr04YxsnMa8Q6gvkXU7MWC4WjFg@mail.gmail.com>
--===============7823329150317212461==
Content-Type: multipart/alternative; boundary=047d7bd770f4b73d5b04da8b7cb9

--047d7bd770f4b73d5b04da8b7cb9
Content-Type: text/plain; charset=ISO-8859-1

Hi!

I don't have any libosip/include or ../lib directories.

To install libosip I did:

Download libosip2-4.0.0.tar.gz to /usr/local/src and unpacked it
into libosip2-4.0.0.  Change into the directory, make, make install.

That gave me the following files in /usr/local/lib

libosip2.a
libosip2.la
libosip2.so
libosip2.so.10
libosip2.so.10.0.0
libosipparser2.a
libosipparser2.la
libosipparser2.so
libosipparser2.so.10
libosipparser2.so.10.0.0

I've tried running configure with --with-libosip-prefix=/usr/local/lib and
with --with-libosip-prefix=/usr/local, but both fail.

Should I have something else as well?

 - J.

On 16 April 2013 22:09, Thomas Ries <[email protected]> wrote:

> Where are you libosip2 libraries and header files installed?
>
>  --with-libosip-prefix=<PREFIX>   does specify a prefix and configure
> expects
> the libosip2 libraries within PPREFIX/include and PREFIX/lib.
>
> If your installation directories of libosip2 are different you may try
>   --with-extra-includes=DIR   adds non standard include paths
>   --with-extra-libs=DIR       adds non standard library paths
> instead.
>
> Try
>   --with-extra-includes=</path/to/libosip/include/>
>   --with-extra-libs=</path/to/libosip/lib/>
> (replace </path/to...> with the proper path.
>
> Regards,
> /Thomas
>
>
> On 04/16/2013 01:00 PM, Jack Howard wrote:
> > Hi!
> >
> > I'm trying to compile siproxd on a Fedora-based Linux system.
> >
> > I've downloaded and compiled libosip2, but when I try and run the
> ./configure
> > for siproxd, it errors:
> >
> > # ./configure --with-libosip-prefix=/usr/local
> > ...
> > ...
> > checking for osip_init in -losip2... no
> > *** ERROR: libosip2 is required!   Maybe you need to use
> --with-libosip-prefix ?
> >
> > However, as far as I can see everything is where it should be.  I've
> tried
> > setting the prefix to /usr/local and /usr/local/lib, and my
> /etc/ld.so.conf
> > contains both paths too:
> >
> > include ld.so.conf.d/*.conf
> > /usr/local/lib
> > /usr/lib/mysql
> > /usr/local/mysql-5.0.67-linux-i686/lib
> > /usr/local
> >
> > An objdump appears to show the required item present:
> >
> > # objdump -x /usr/local/lib/libosip2.so |grep osip_init
> > 00008fa6 g     F .text  0000015a              osip_init
> >
> > Have tried Googling, which lead me to the use of objdump, but no further.
> >
> > All help appreciated.
> >
> > --
> > Jack Howard
> > Senior System Development Engineer
> > 186k Limited
> > http://www.186k.co.uk - 0870 1222 186
> >
> >
> >
> ------------------------------------------------------------------------------
> > Precog is a next-generation analytics platform capable of advanced
> > analytics on semi-structured data. The platform includes APIs for
> building
> > apps and a phenomenal toolset for data science. Developers can use
> > our toolset for easy data analysis & visualization. Get a free account!
> > http://www2.precog.com/precogplatform/slashdotnewsletter
> >
> >
> >
> > _______________________________________________
> > Siproxd-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/siproxd-users
> >
>
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Siproxd-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/siproxd-users
>
>


-- 
Jack Howard
Senior System Development Engineer
186k Limited
http://www.186k.co.uk - 0870 1222 186

--047d7bd770f4b73d5b04da8b7cb9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Hi!</div><div><br></div><div>I don&#39;t have any libosip/include or .=
./lib directories.</div><div><br></div><div>To install libosip I did:</div>=
<div><br></div><div>Download=A0libosip2-4.0.0.tar.gz to /usr/local/src and =
unpacked it into=A0libosip2-4.0.0. =A0Change into the directory, make, make=
 install.</div>
<div><br></div><div>That gave me the following files in /usr/local/lib</div=
><div><br></div><div><div>libosip2.a</div><div><a href=3D"http://libosip2.l=
a">libosip2.la</a></div><div>libosip2.so</div><div>libosip2.so.10</div><div=
>
libosip2.so.10.0.0</div><div>libosipparser2.a</div><div><a href=3D"http://l=
ibosipparser2.la">libosipparser2.la</a></div><div>libosipparser2.so</div><d=
iv>libosipparser2.so.10</div><div>libosipparser2.so.10.0.0</div></div><div>
<br></div><div>I&#39;ve tried running configure with=A0--with-libosip-prefi=
x=3D/usr/local/lib and with=A0--with-libosip-prefix=3D/usr/local, but both =
fail.</div><div><br></div><div>Should I have something else as well?</div><=
div>
<br></div><div>=A0- J.</div><br><div class=3D"gmail_quote">On 16 April 2013=
 22:09, Thomas Ries <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
Where are you libosip2 libraries and header files installed?<br>
<br>
=A0--with-libosip-prefix=3D&lt;PREFIX&gt; =A0 does specify a prefix and con=
figure expects<br>
the libosip2 libraries within PPREFIX/include and PREFIX/lib.<br>
<br>
If your installation directories of libosip2 are different you may try<br>
=A0 --with-extra-includes=3DDIR =A0 adds non standard include paths<br>
=A0 --with-extra-libs=3DDIR =A0 =A0 =A0 adds non standard library paths<br>
instead.<br>
<br>
Try<br>
=A0 --with-extra-includes=3D&lt;/path/to/libosip/include/&gt;<br>
=A0 --with-extra-libs=3D&lt;/path/to/libosip/lib/&gt;<br>
(replace &lt;/path/to...&gt; with the proper path.<br>
<br>
Regards,<br>
/Thomas<br>
<div><div class=3D"h5"><br>
<br>
On 04/16/2013 01:00 PM, Jack Howard wrote:<br>
&gt; Hi!<br>
&gt;<br>
&gt; I&#39;m trying to compile siproxd on a Fedora-based Linux system.<br>
&gt;<br>
&gt; I&#39;ve downloaded and compiled libosip2, but when I try and run the =
./configure<br>
&gt; for siproxd, it errors:<br>
&gt;<br>
&gt; # ./configure --with-libosip-prefix=3D/usr/local<br>
&gt; ...<br>
&gt; ...<br>
&gt; checking for osip_init in -losip2... no<br>
&gt; *** ERROR: libosip2 is required! =A0 Maybe you need to use --with-libo=
sip-prefix ?<br>
&gt;<br>
&gt; However, as far as I can see everything is where it should be. =A0I&#3=
9;ve tried<br>
&gt; setting the prefix to /usr/local and /usr/local/lib, and my /etc/ld.so=
.conf<br>
&gt; contains both paths too:<br>
&gt;<br>
&gt; include ld.so.conf.d/*.conf<br>
&gt; /usr/local/lib<br>
&gt; /usr/lib/mysql<br>
&gt; /usr/local/mysql-5.0.67-linux-i686/lib<br>
&gt; /usr/local<br>
&gt;<br>
&gt; An objdump appears to show the required item present:<br>
&gt;<br>
&gt; # objdump -x /usr/local/lib/libosip2.so |grep osip_init<br>
&gt; 00008fa6 g =A0 =A0 F .text =A00000015a =A0 =A0 =A0 =A0 =A0 =A0 =A0osip=
_init<br>
&gt;<br>
&gt; Have tried Googling, which lead me to the use of objdump, but no furth=
er.<br>
&gt;<br>
&gt; All help appreciated.<br>
&gt;<br>
&gt; --<br>
&gt; Jack Howard<br>
&gt; Senior System Development Engineer<br>
&gt; 186k Limited<br>
&gt; <a href=3D"http://www.186k.co.uk" target=3D"_blank">http://www.186k.co=
.uk</a> - 0870 1222 186<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ----------------------------------------------------------=
--------------------<br>
&gt; Precog is a next-generation analytics platform capable of advanced<br>
&gt; analytics on semi-structured data. The platform includes APIs for buil=
ding<br>
&gt; apps and a phenomenal toolset for data science. Developers can use<br>
&gt; our toolset for easy data analysis &amp; visualization. Get a free acc=
ount!<br>
&gt; <a href=3D"http://www2.precog.com/precogplatform/slashdotnewsletter" t=
arget=3D"_blank">http://www2.precog.com/precogplatform/slashdotnewsletter</=
a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Siproxd-users mailing list<br>
&gt; <a href=3D"mailto:[email protected]">Siproxd-users@l=
ists.sourceforge.net</a><br>
&gt; <a href=3D"https://lists.sourceforge.net/lists/listinfo/siproxd-users"=
 target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/siproxd-use=
rs</a><br>
&gt;<br>
<br>
<br>-----------------------------------------------------------------------=
-------<br>
Precog is a next-generation analytics platform capable of advanced<br>
analytics on semi-structured data. The platform includes APIs for building<=
br>
apps and a phenomenal toolset for data science. Developers can use<br>
our toolset for easy data analysis &amp; visualization. Get a free account!=
<br>
<a href=3D"http://www2.precog.com/precogplatform/slashdotnewsletter" target=
=3D"_blank">http://www2.precog.com/precogplatform/slashdotnewsletter</a><br=
>_______________________________________________<br>
Siproxd-users mailing list<br>
<a href=3D"mailto:[email protected]">Siproxd-users@lists.=
sourceforge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/siproxd-users" targ=
et=3D"_blank">https://lists.sourceforge.net/lists/listinfo/siproxd-users</a=
><br>
<br></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>Jack How=
ard<br>Senior System Development Engineer<br>186k Limited<br><a href=3D"htt=
p://www.186k.co.uk">http://www.186k.co.uk</a> - 0870 1222 186

--047d7bd770f4b73d5b04da8b7cb9--


--===============7823329150317212461==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
--===============7823329150317212461==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Siproxd-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/siproxd-users

--===============7823329150317212461==--