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

Thomas Ries <[email protected]> Sun, 28 Apr 2013 21:39:46 +0200
Newsgroups gmane.network.siproxd
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============4752320863178646827==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="----enig2RAFPPMEKGLHGMOUDFGLP"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2RAFPPMEKGLHGMOUDFGLP
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

You need all the header files (<xxx>.h) installed as well. Usually the go=
 into
/usr/include or usr /local/include

osip2/*.h
osip2parser/*.h

The config.log may give more details on what the exapt problem is. Still =
my
bet is that the libosi2 libraries and header files are no properly instal=
led
or installed at an unusual location and configure.sh can't find them.

On 04/17/2013 11:55 AM, Jack Howard wrote:
> Hi!
>=20
> I don't have any libosip/include or ../lib directories.
>=20
> To install libosip I did:
>=20
> 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.
>=20
> That gave me the following files in /usr/local/lib
>=20
> libosip2.a
> libosip2.la <http://libosip2.la>
> libosip2.so
> libosip2.so.10
> libosip2.so.10.0.0
> libosipparser2.a
> libosipparser2.la <http://libosipparser2.la>
> libosipparser2.so
> libosipparser2.so.10
> libosipparser2.so.10.0.0
>=20
> I've tried running configure with --with-libosip-prefix=3D/usr/local/li=
b and
> with --with-libosip-prefix=3D/usr/local, but both fail.
>=20
> Should I have something else as well?
>=20
>  - J.
>=20
> On 16 April 2013 22:09, Thomas Ries <[email protected] <mailto:[email protected]=
t>> wrote:
>=20
>     Where are you libosip2 libraries and header files installed?
>=20
>      --with-libosip-prefix=3D<PREFIX>   does specify a prefix and confi=
gure expects
>     the libosip2 libraries within PPREFIX/include and PREFIX/lib.
>=20
>     If your installation directories of libosip2 are different you may =
try
>       --with-extra-includes=3DDIR   adds non standard include paths
>       --with-extra-libs=3DDIR       adds non standard library paths
>     instead.
>=20
>     Try
>       --with-extra-includes=3D</path/to/libosip/include/>
>       --with-extra-libs=3D</path/to/libosip/lib/>
>     (replace </path/to...> with the proper path.
>=20
>     Regards,
>     /Thomas
>=20
>=20
>     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=3D/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 advance=
d
>     > analytics on semi-structured data. The platform includes APIs for=
 building
>     > apps and a phenomenal toolset for data science. Developers can us=
e
>     > our toolset for easy data analysis & visualization. Get a free ac=
count!
>     > http://www2.precog.com/precogplatform/slashdotnewsletter
>     >
>     >
>     >
>     > _______________________________________________
>     > Siproxd-users mailing list
>     > [email protected]
>     <mailto:[email protected]>
>     > https://lists.sourceforge.net/lists/listinfo/siproxd-users
>     >
>=20
>=20
>     -------------------------------------------------------------------=
-----------
>     Precog is a next-generation analytics platform capable of advanced
>     analytics on semi-structured data. The platform includes APIs for b=
uilding
>     apps and a phenomenal toolset for data science. Developers can use
>     our toolset for easy data analysis & visualization. Get a free acco=
unt!
>     http://www2.precog.com/precogplatform/slashdotnewsletter
>     _______________________________________________
>     Siproxd-users mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/siproxd-users
>=20
>=20
>=20
>=20
> --=20
> Jack Howard
> Senior System Development Engineer
> 186k Limited
> http://www.186k.co.uk - 0870 1222 186
>=20
>=20
> -----------------------------------------------------------------------=
-------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for build=
ing
> 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
>=20
>=20
>=20
> _______________________________________________
> Siproxd-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/siproxd-users
>=20


------enig2RAFPPMEKGLHGMOUDFGLP
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAlF9ewYACgkQB2xLpFxU+GWh4wCeJC+rIoDAH5fDjDLAa0pM81R2
fPgAn1HhSugiyxOlQcju7FiIyeLcBBKb
=60T/
-----END PGP SIGNATURE-----

------enig2RAFPPMEKGLHGMOUDFGLP--


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

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
--===============4752320863178646827==
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

--===============4752320863178646827==--