Welcome! Log In Create A New Profile

Advanced

Re: build from source pointing to installed libs (e.g. pcre)

March 08, 2013 12:45AM
installing the related 'dev' packages was the ticket:

- libpcre3-dev
- libssl-dev
- zlib1g-dev

then acquiring source and static linking can be avoided...

thanks @edho!

On Thu, Mar 7, 2013 at 10:04 AM, Edho Arief <edho@myconan.net> wrote:

> On Thu, Mar 7, 2013 at 10:11 PM, anthony kerz <anthony.kerz@gmail.com>
> wrote:
> > hi,
> >
> > i'm trying to build from source on an ubuntu system which has libpcre3
> > installed:
> >
> > tony@quantal:~/Downloads/nginx-1.3.14$ dpkg -l | grep pcre
> > ii libpcre3:i386 1:8.30-5ubuntu1 i386 Perl 5 Compatible Regular
> Expression
> > Library - runtime files
> >
> > but i can't for the life of me get the configure script to resolve to
> this,
> > libpcre.so.3 is in /lib/i386-linux-gnu, so i've tried:
> >
> > --with-ld-opt="-L/lib/i386-linux-gnu"
> >
> > but still get:
> > -----------------
> > ...
> > checking for PCRE library ... not found
> > checking for PCRE library in /usr/local/ ... not found
> > checking for PCRE library in /usr/include/pcre/ ... not found
> > checking for PCRE library in /usr/pkg/ ... not found
> > checking for PCRE library in /opt/local/ ... not found
> >
> > ./configure: error: the HTTP rewrite module requires the PCRE library.
> > You can either disable the module by using --without-http_rewrite_module
> > option, or install the PCRE library into the system, or build the PCRE
> > library
> > statically from the source with nginx by using --with-pcre=<path> option.
> > ----------------
> >
> > any guidance appreciated!
> >
>
> building stuff from source require installation of development
> (-dev/-devel) packages of its dependencies in ubuntu, rhel, and some
> other distros.
>
> (read: try installing libpcre3-dev)
>
> --
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

build from source pointing to installed libs (e.g. pcre)

tony_k March 07, 2013 08:12AM

Re: build from source pointing to installed libs (e.g. pcre)

Edho Arief March 07, 2013 10:06AM

Re: build from source pointing to installed libs (e.g. pcre)

Anatoly Mikhailov March 07, 2013 10:16AM

Re: build from source pointing to installed libs (e.g. pcre)

tony_k March 08, 2013 12:45AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 229
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready