I hope this is the right output.

root@proxy:~# nm -s /usr/lib/libdb.so | grep db_create
[2332]  |    214036|       716|FUNC |GLOB |0    |.text         |__bam_db_create
[1495]  |   1098492|      2172|FUNC |GLOB |0    |.text
|__db_create_internal
[2052]  |    395884|       216|FUNC |GLOB |0    |.text         |__ham_db_create
[1755]  |    511400|       112|FUNC |GLOB |0    |.text         |__qam_db_create
[1335]  |   1096060|      2416|FUNC |GLOB |0    |.text         |db_create
root@proxy:~# nm -s /usr/lib/libdb.so | grep db_env
[1072]  |   1265120|       104|FUNC |GLOB |0    |.text         |__db_env_destroy
[656]   |   1265240|      3208|FUNC |LOCL |0    |.text         |__db_env_init
[1300]  |   1264744|       376|FUNC |GLOB |0    |.text         |db_env_create
[1445]  |   1495184|        52|FUNC |GLOB |0    |.text
|db_env_set_func_close
[947]   |   1495252|        52|FUNC |GLOB |0    |.text
|db_env_set_func_dirfree
[1340]  |   1495320|        52|FUNC |GLOB |0    |.text
|db_env_set_func_dirlist
[915]   |   1495388|        52|FUNC |GLOB |0    |.text
|db_env_set_func_exists
[2567]  |   1495796|        56|FUNC |GLOB |0    |.text
|db_env_set_func_file_map
[1512]  |   1495456|        52|FUNC |GLOB |0    |.text
|db_env_set_func_free
[2384]  |   1495524|        52|FUNC |GLOB |0    |.text
|db_env_set_func_fsync
[1604]  |   1495592|        52|FUNC |GLOB |0    |.text
|db_env_set_func_ftruncate
[1909]  |   1495660|        52|FUNC |GLOB |0    |.text
|db_env_set_func_ioinfo
[2005]  |   1495728|        52|FUNC |GLOB |0    |.text
|db_env_set_func_malloc
[1795]  |   1496076|        52|FUNC |GLOB |0    |.text
|db_env_set_func_open
[904]   |   1495940|        52|FUNC |GLOB |0    |.text
|db_env_set_func_pread
[1377]  |   1496008|        52|FUNC |GLOB |0    |.text
|db_env_set_func_pwrite
[1238]  |   1496144|        52|FUNC |GLOB |0    |.text
|db_env_set_func_read
[2513]  |   1496212|        52|FUNC |GLOB |0    |.text
|db_env_set_func_realloc
[1901]  |   1495868|        56|FUNC |GLOB |0    |.text
|db_env_set_func_region_map
[1327]  |   1496280|        52|FUNC |GLOB |0    |.text
|db_env_set_func_rename
[1616]  |   1496348|        52|FUNC |GLOB |0    |.text
|db_env_set_func_seek
[983]   |   1496416|        52|FUNC |GLOB |0    |.text
|db_env_set_func_unlink
[2446]  |   1496484|        52|FUNC |GLOB |0    |.text
|db_env_set_func_write
[1956]  |   1496552|        52|FUNC |GLOB |0    |.text
|db_env_set_func_yield





On Mon, Feb 17, 2014 at 2:43 PM, Kinkie <gkin...@gmail.com> wrote:
> 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 <monahb...@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 <gkin...@gmail.com> 
>> wrote:
>>>
>>> On 17 Feb 2014, at 01:15, Monah Baki <monahb...@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
>
>
>
> --
>     Francesco

Reply via email to