serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SERF-183) LD_LIBRARY_PATH not honoured for tests
Date Tue, 01 May 2018 17:52:00 GMT

    [ https://issues.apache.org/jira/browse/SERF-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16459929#comment-16459929
] 

Branko ─îibej commented on SERF-183:
-----------------------------------

The culprit is probably this bit in SConstruct:
{noformat}
if sys.platform != 'win32':
  test_env['LD_LIBRARY_PATH'] = ':'.join(tenv.get('LIBPATH', []))
{noformat}
It discards any previous value of {{LD_LIBRARY_PATH}}.


> LD_LIBRARY_PATH not honoured for tests
> --------------------------------------
>
>                 Key: SERF-183
>                 URL: https://issues.apache.org/jira/browse/SERF-183
>             Project: serf
>          Issue Type: Bug
>    Affects Versions: serf-1.3.9
>         Environment: SunOS usclst11 5.10 Generic_150400-30 sun4us sparc FJSV,GPUZC-M
>            Reporter: Daniel Frank
>            Priority: Minor
>
> $ LD_LIBRARY_PATH=/usr/local/stow/openssl-1.1.0e/lib:/usr/local/stow/apr-1.5.2/lib:/usr/local/stow/libiconv-1.15/lib:/usr/local/stow/apr-util-1.5.4/lib
scons APR=/usr/local/stow/apr-1.5.2 APU=/usr/local/stow/apr-util-1.5.4 OPENSSL=/usr/local/stow/openssl-1.1.0e
PREFIX=/usr/local/stow/serf-1.3.9 CC=/usr/sfw/bin/gcc CFLAGS=-D__EXTENSIONS__ 'LINKFLAGS=-L/usr/local/stow/libiconv-1.15/lib
-L/usr/local/stow/openssl-1.1.0e/lib' check
> scons: Reading SConscript files ...
> Checking for GNU-compatible C compiler...(cached) yes
> scons: done reading SConscript files.
> scons: Building targets ...
> /usr/bin/python2.7 build/check.py test test
> == Testing test/testcases/chunked.response ==
> ld.so.1: serf_response: fatal: libssl.so.1.1: open failed: No such file or directory
> ERROR: test case test/testcases/chunked.response failed
> scons: *** [check] Error 1
> scons: building terminated because of errors.
> $ LD_LIBRARY_PATH=/usr/local/stow/openssl-1.1.0e/lib:/usr/local/stow/apr-1.5.2/lib:/usr/local/stow/libiconv-1.15/lib:/usr/local/stow/apr-util-1.5.4/lib
test/serf_response
> test/serf_response: [Resp. File]
> $ LD_LIBRARY_PATH=/usr/local/stow/openssl-1.1.0e/lib:/usr/local/stow/apr-1.5.2/lib:/usr/local/stow/libiconv-1.15/lib:/usr/local/stow/apr-util-1.5.4/lib
ldd test/serf_response
>         libserf-1.so =>  /usr/local/stow/src/serf-1.3.9/libserf-1.so
>         libssl.so.1.1 =>         /usr/local/stow/openssl-1.1.0e/lib/libssl.so.1.1
>         libcrypto.so.1.1 =>      /usr/local/stow/openssl-1.1.0e/lib/libcrypto.so.1.1
>         libz.so.1 =>     /usr/lib/libz.so.1
>         libm.so.2 =>     /lib/libm.so.2
>         libapr-1.so.0 =>         /usr/local/stow/apr-1.5.2/lib/libapr-1.so.0
>         libuuid.so.1 =>  /lib/libuuid.so.1
>         libsendfile.so.1 =>      /lib/libsendfile.so.1
>         librt.so.1 =>    /lib/librt.so.1
>         libsocket.so.1 =>        /lib/libsocket.so.1
>         libnsl.so.1 =>   /lib/libnsl.so.1
>         libpthread.so.1 =>       /lib/libpthread.so.1
>         libaprutil-1.so.0 =>     /usr/local/stow/apr-util-1.5.4/lib/libaprutil-1.so.0
>         libexpat.so.1 =>         /usr/sfw/lib/libexpat.so.1
>         libiconv.so.2 =>         /usr/local/stow/libiconv-1.15/lib/libiconv.so.2
>         libc.so.1 =>     /lib/libc.so.1
>         libgcc_s.so.1 =>         /usr/sfw/lib/libgcc_s.so.1
>         libresolv.so.2 =>        /lib/libresolv.so.2
>         libdl.so.1 =>    /lib/libdl.so.1
>         libaio.so.1 =>   /lib/libaio.so.1
>         libmd.so.1 =>    /lib/libmd.so.1
>         libmp.so.2 =>    /lib/libmp.so.2
>         libscf.so.1 =>   /lib/libscf.so.1
>         libexpat.so.1 =>         /usr/local/lib/libexpat.so.1
>         libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
>         libdoor.so.1 =>  /lib/libdoor.so.1
>         libuutil.so.1 =>         /lib/libuutil.so.1
>         libgen.so.1 =>   /lib/libgen.so.1
>         /platform/FJSV,GPUZC-M/lib/libc_psr.so.1
>         /platform/FJSV,GPUZC-M/lib/libmd_psr.so.1



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message