That should be enough.
Check (you can use the "nm -s" tool) that libdb.so contains the
symbols db_create and db_env_create. It may be that the file is
corrupted, a wrong version or a stub.
Alternatively, if you don't need the session helper, use squid's
configure flags to skip building it.
On Mon, Feb 17, 2014 at 4:23 PM, Monah Baki <monahbaki_at_gmail.com> wrote:
> Hi,
>
>
> I did find /usr/lib/libdb.so but no results for libdb.a
>
>
> Thanks
>
> On Mon, Feb 17, 2014 at 12:42 AM, Francesco Chemolli <gkinkie_at_gmail.com> wrote:
>>
>> On 17 Feb 2014, at 01:15, Monah Baki <monahbaki_at_gmail.com> wrote:
>>
>>> uname -a
>>> SunOS proxy 5.11 11.1 sun4v sparc SUNW,SPARC-Enterprise-T5220
>>>
>>> Here are the steps before it fails
>>>
>>> ./configure --prefix=/usr/local/squid --enable-async-io
>>> --enable-cache-digests --enable-underscores --enable-pthreads
>>> --enable-storeio=ufs,aufs --enable-removal-policies=lru,
>>> heap
>>>
>>> make
>>>
>>> c -I../../../include -I/usr/include/gssapi -I/usr/include/kerberosv5
>>> -I/usr/include/gssapi -I/usr/include/kerberosv5 -Wall
>>> -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe
>>> -D_REENTRANT -pthreads -g -O2 -std=c++0x -MT ext_session_acl.o -MD -MP
>>> -MF .deps/ext_session_acl.Tpo -c -o ext_session_acl.o
>>> ext_session_acl.cc
>>> mv -f .deps/ext_session_acl.Tpo .deps/ext_session_acl.Po
>>> /bin/sh ../../../libtool --tag=CXX --mode=link g++ -Wall
>>> -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe
>>> -D_REENTRANT -pthreads -g -O2 -std=c++0x -g -o ext_session_acl
>>> ext_session_acl.o ../../../compat/libcompat-squid.la
>>> libtool: link: g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments
>>> -Wshadow -Werror -pipe -D_REENTRANT -pthreads -g -O2 -std=c++0x -g -o
>>> ext_session_acl ext_session_acl.o
>>> ../../../compat/.libs/libcompat-squid.a -pthreads
>>> Undefined first referenced
>>> symbol in file
>>> db_create ext_session_acl.o
>>> db_env_create ext_session_acl.o
>>
>> The build system is not being able to find the Berkeley db library files (but for some reason it can find the header).
>> Please check that libdb.a or libdb.so are available and found on the paths searched for libraries by your build system.
>>
>> Kinkie
-- FrancescoReceived on Mon Feb 17 2014 - 19:43:25 MST
This archive was generated by hypermail 2.2.0 : Tue Feb 18 2014 - 12:00:06 MST