On 11/21/22 18:53, Neels Hofmeyr wrote:
diff -u -r saved_libosmo-pfcp/tests/libosmo-pfcp/pfcp_test 
libosmo-pfcp/tests/libosmo-pfcp/pfcp_test
--- saved_libosmo-pfcp/tests/libosmo-pfcp/pfcp_test     2022-11-21 
12:41:51.533363886 +0100
+++ libosmo-pfcp/tests/libosmo-pfcp/pfcp_test   2022-11-21 12:42:34.417397771 
+0100
@@ -188,7 +188,7 @@
if test -f "$progdir/$program"; then
      # Add our own library path to LD_LIBRARY_PATH
-    
LD_LIBRARY_PATH="/usr/local/lib:/home/old/osmo-dev/make/libosmo-pfcp/src/libosmo-pfcp/.libs:/home/old/osmo-dev/make/libosmo-pfcp/src/libosmo-gtlv/.libs:$LD_LIBRARY_PATH"
+    
LD_LIBRARY_PATH="/home/old/osmo-dev/make/libosmo-pfcp/src/libosmo-pfcp/.libs:/home/old/osmo-dev/make/libosmo-pfcp/src/libosmo-gtlv/.libs:/usr/local/lib:$LD_LIBRARY_PATH"

I see no LD_LIBRARY_PATH in my version of the 'pfcp_test' script at all! In case you're curious, find it attached. I assume this might be related to the configure script finding or not finding some tools, so attaching my config.log too.

> I am using:
>
> automake (GNU automake) 1.16.5
> autoconf (GNU Autoconf) 2.71
> libtoolize (GNU libtool) 2.4.7
> (Debian Unstable)

I have exactly the same versions (Arch Linux).

Best regards,
Vadim.

--
- Vadim Yanitskiy <vyanitskiy at sysmocom.de>    http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libosmo-pfcp configure 0.1.2.10-3a86, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = DELL
uname -m = x86_64
uname -r = 5.15.77-1-lts
uname -s = Linux
uname -v = #1 SMP Thu, 03 Nov 2022 17:26:01 +0000

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/bin/
PATH: /home/fixeria/.dotnet/tools/
PATH: /home/fixeria/osmocom/titan.core/install/bin/
PATH: /usr/lib/jvm/default/bin/
PATH: /opt/rocm-5.3.0/bin/
PATH: /opt/rocm-5.3.0/hip/bin/
PATH: /usr/bin/site_perl/
PATH: /usr/bin/vendor_perl/
PATH: /usr/bin/core_perl/
PATH: /usr/local/ps2dev/bin/
PATH: /usr/local/ps2dev/ee/bin/
PATH: /usr/local/ps2dev/iop/bin/
PATH: /usr/local/ps2dev/dvp/bin/
PATH: /usr/local/ps2dev/ps2sdk/bin/
PATH: /home/fixeria/.local/bin/
PATH: /home/fixeria/.local/bin/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2383: looking for aux files: config.guess config.sub ltmain.sh compile missing install-sh
configure:2396:  trying ././
configure:2425:   ././config.guess found
configure:2425:   ././config.sub found
configure:2425:   ././ltmain.sh found
configure:2425:   ././compile found
configure:2425:   ././missing found
configure:2407:   ././install-sh found
configure:2557: checking for a BSD-compatible install
configure:2630: result: /usr/bin/install -c
configure:2641: checking whether build environment is sane
configure:2696: result: yes
configure:2855: checking for a race-free mkdir -p
configure:2899: result: /usr/bin/mkdir -p
configure:2906: checking for gawk
configure:2927: found /usr/bin/gawk
configure:2938: result: gawk
configure:2949: checking whether make sets $(MAKE)
configure:2972: result: yes
configure:3002: checking whether make supports nested variables
configure:3020: result: yes
configure:3174: checking whether make supports nested variables
configure:3192: result: yes
configure:3207: checking whether make sets $(MAKE)
configure:3230: result: yes
configure:3301: checking for gcc
configure:3322: found /usr/bin/gcc
configure:3333: result: gcc
configure:3686: checking for C compiler version
configure:3695: gcc --version >&5
gcc (GCC) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3706: $? = 0
configure:3695: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (GCC) 
configure:3706: $? = 0
configure:3695: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3706: $? = 1
configure:3695: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3706: $? = 1
configure:3695: gcc -version >&5
gcc: error: unrecognized command-line option '-version'
gcc: fatal error: no input files
compilation terminated.
configure:3706: $? = 1
configure:3726: checking whether the C compiler works
configure:3748: gcc  -std=gnu11   conftest.c  >&5
configure:3752: $? = 0
configure:3802: result: yes
configure:3805: checking for C compiler default output file name
configure:3807: result: a.out
configure:3813: checking for suffix of executables
configure:3820: gcc -o conftest  -std=gnu11   conftest.c  >&5
configure:3824: $? = 0
configure:3847: result: 
configure:3869: checking whether we are cross compiling
configure:3877: gcc -o conftest  -std=gnu11   conftest.c  >&5
configure:3881: $? = 0
configure:3888: ./conftest
configure:3892: $? = 0
configure:3907: result: no
configure:3912: checking for suffix of object files
configure:3935: gcc -c  -std=gnu11  conftest.c >&5
configure:3939: $? = 0
configure:3961: result: o
configure:3965: checking whether the compiler supports GNU C
configure:3985: gcc -c  -std=gnu11  conftest.c >&5
configure:3985: $? = 0
configure:3995: result: yes
configure:4006: checking whether gcc accepts -g
configure:4027: gcc -c -g  conftest.c >&5
configure:4027: $? = 0
configure:4071: result: yes
configure:4091: checking for gcc option to enable C11 features
configure:4106: gcc  -c  -std=gnu11  conftest.c >&5
configure:4106: $? = 0
configure:4124: result: none needed
configure:4240: checking whether gcc understands -c and -o together
configure:4263: gcc -c conftest.c -o conftest2.o
configure:4266: $? = 0
configure:4263: gcc -c conftest.c -o conftest2.o
configure:4266: $? = 0
configure:4278: result: yes
configure:4298: checking whether make supports the include directive
configure:4313: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:4316: $? = 0
configure:4335: result: yes (GNU style)
configure:4361: checking dependency style of gcc
configure:4473: result: gcc3
configure:4521: checking build system type
configure:4536: result: x86_64-pc-linux-gnu
configure:4556: checking host system type
configure:4570: result: x86_64-pc-linux-gnu
configure:4611: checking how to print strings
configure:4638: result: printf
configure:4659: checking for a sed that does not truncate output
configure:4729: result: /usr/bin/sed
configure:4747: checking for grep that handles long lines and -e
configure:4811: result: /usr/bin/grep
configure:4816: checking for egrep
configure:4884: result: /usr/bin/grep -E
configure:4889: checking for fgrep
configure:4957: result: /usr/bin/grep -F
configure:4993: checking for ld used by gcc
configure:5061: result: /usr/bin/ld
configure:5068: checking if the linker (/usr/bin/ld) is GNU ld
configure:5084: result: yes
configure:5096: checking for BSD- or MS-compatible name lister (nm)
configure:5151: result: /usr/bin/nm -B
configure:5291: checking the name lister (/usr/bin/nm -B) interface
configure:5299: gcc -c  -std=gnu11  conftest.c >&5
configure:5302: /usr/bin/nm -B "conftest.o"
configure:5305: output
0000000000000000 B some_variable
configure:5312: result: BSD nm
configure:5315: checking whether ln -s works
configure:5319: result: yes
configure:5327: checking the maximum length of command line arguments
configure:5459: result: 1572864
configure:5507: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format
configure:5548: result: func_convert_file_noop
configure:5555: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
configure:5576: result: func_convert_file_noop
configure:5583: checking for /usr/bin/ld option to reload object files
configure:5591: result: -r
configure:5670: checking for file
configure:5691: found /usr/bin/file
configure:5702: result: file
configure:5778: checking for objdump
configure:5799: found /usr/bin/objdump
configure:5810: result: objdump
configure:5842: checking how to recognize dependent libraries
configure:6043: result: pass_all
configure:6133: checking for dlltool
configure:6168: result: no
configure:6198: checking how to associate runtime and link libraries
configure:6226: result: printf %s\n
configure:6292: checking for ar
configure:6313: found /usr/bin/ar
configure:6324: result: ar
configure:6377: checking for archiver @FILE support
configure:6395: gcc -c  -std=gnu11  conftest.c >&5
configure:6395: $? = 0
configure:6399: ar cr libconftest.a @conftest.lst >&5
configure:6402: $? = 0
configure:6407: ar cr libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:6410: $? = 1
configure:6422: result: @
configure:6485: checking for strip
configure:6506: found /usr/bin/strip
configure:6517: result: strip
configure:6594: checking for ranlib
configure:6615: found /usr/bin/ranlib
configure:6626: result: ranlib
configure:6728: checking command to parse /usr/bin/nm -B output from gcc object
configure:6882: gcc -c  -std=gnu11  conftest.c >&5
configure:6885: $? = 0
configure:6889: /usr/bin/nm -B conftest.o \| /usr/bin/sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed '/ __gnu_lto/d' \> conftest.nm
configure:6892: $? = 0
configure:6958: gcc -o conftest  -std=gnu11   conftest.c conftstm.o >&5
configure:6961: $? = 0
configure:6999: result: ok
configure:7046: checking for sysroot
configure:7077: result: no
configure:7084: checking for a working dd
configure:7128: result: /usr/bin/dd
configure:7132: checking how to truncate binary pipes
configure:7148: result: /usr/bin/dd bs=4096 count=1
configure:7285: gcc -c  -std=gnu11  conftest.c >&5
configure:7288: $? = 0
configure:7485: checking for mt
configure:7520: result: no
configure:7540: checking if : is a manifest tool
configure:7547: : '-?'
configure:7555: result: no
configure:8280: checking for stdio.h
configure:8280: gcc -c  -std=gnu11  conftest.c >&5
configure:8280: $? = 0
configure:8280: result: yes
configure:8280: checking for stdlib.h
configure:8280: gcc -c  -std=gnu11  conftest.c >&5
configure:8280: $? = 0
configure:8280: result: yes
configure:8280: checking for string.h
configure:8280: gcc -c  -std=gnu11  conftest.c >&5
configure:8280: $? = 0
configure:8280: result: yes
configure:8280: checking for inttypes.h
configure:8280: gcc -c  -std=gnu11  conftest.c >&5
configure:8280: $? = 0
configure:8280: result: yes
configure:8280: checking for stdint.h
configure:8280: gcc -c  -std=gnu11  conftest.c >&5
configure:8280: $? = 0
configure:8280: result: yes
configure:8280: checking for strings.h
configure:8280: gcc -c  -std=gnu11  conftest.c >&5
configure:8280: $? = 0
configure:8280: result: yes
configure:8280: checking for sys/stat.h
configure:8280: gcc -c  -std=gnu11  conftest.c >&5
configure:8280: $? = 0
configure:8280: result: yes
configure:8280: checking for sys/types.h
configure:8280: gcc -c  -std=gnu11  conftest.c >&5
configure:8280: $? = 0
configure:8280: result: yes
configure:8280: checking for unistd.h
configure:8280: gcc -c  -std=gnu11  conftest.c >&5
configure:8280: $? = 0
configure:8280: result: yes
configure:8305: checking for dlfcn.h
configure:8305: gcc -c  -std=gnu11  conftest.c >&5
configure:8305: $? = 0
configure:8305: result: yes
configure:8564: checking for objdir
configure:8580: result: .libs
configure:8844: checking if gcc supports -fno-rtti -fno-exceptions
configure:8863: gcc -c  -std=gnu11  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C
configure:8867: $? = 0
configure:8880: result: no
configure:9238: checking for gcc option to produce PIC
configure:9246: result: -fPIC -DPIC
configure:9254: checking if gcc PIC flag -fPIC -DPIC works
configure:9273: gcc -c  -std=gnu11  -fPIC -DPIC -DPIC conftest.c >&5
configure:9277: $? = 0
configure:9290: result: yes
configure:9319: checking if gcc static flag -static works
configure:9348: result: yes
configure:9363: checking if gcc supports -c -o file.o
configure:9385: gcc -c  -std=gnu11  -o out/conftest2.o conftest.c >&5
configure:9389: $? = 0
configure:9411: result: yes
configure:9419: checking if gcc supports -c -o file.o
configure:9467: result: yes
configure:9500: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:10768: result: yes
configure:10805: checking whether -lc should be explicitly linked in
configure:10814: gcc -c  -std=gnu11  conftest.c >&5
configure:10817: $? = 0
configure:10832: gcc -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep  -lc  \>/dev/null 2\>\&1
configure:10835: $? = 0
configure:10849: result: no
configure:11009: checking dynamic linker characteristics
configure:11591: gcc -o conftest  -std=gnu11   -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:11591: $? = 0
configure:11830: result: GNU/Linux ld.so
configure:11952: checking how to hardcode library paths into programs
configure:11977: result: immediate
configure:12529: checking whether stripping libraries is possible
configure:12538: result: yes
configure:12580: checking if libtool supports shared libraries
configure:12582: result: yes
configure:12585: checking whether to build shared libraries
configure:12610: result: yes
configure:12613: checking whether to build static libraries
configure:12617: result: yes
configure:12669: checking for pkg-config
configure:12692: found /usr/bin/pkg-config
configure:12705: result: /usr/bin/pkg-config
configure:12776: checking for pkg-config
configure:12799: found /usr/bin/pkg-config
configure:12811: result: /usr/bin/pkg-config
configure:12836: checking pkg-config is at least version 0.20
configure:12839: result: yes
configure:12850: checking for LIBOSMOCORE
configure:12857: $PKG_CONFIG --exists --print-errors "libosmocore >= 1.7.0"
configure:12860: $? = 0
configure:12874: $PKG_CONFIG --exists --print-errors "libosmocore >= 1.7.0"
configure:12877: $? = 0
configure:12935: result: yes
configure:12943: checking for egrep
configure:13011: result: /usr/bin/grep -E
configure:13051: result: CFLAGS=" -std=gnu11"
configure:13053: result: CPPFLAGS=""
configure:13161: checking that generated files are newer than configure
configure:13167: result: done
configure:13190: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by libosmo-pfcp config.status 0.1.2.10-3a86, which was
generated by GNU Autoconf 2.71.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on DELL

config.status:1111: creating libosmo-gtlv.pc
config.status:1111: creating libosmo-pfcp.pc
config.status:1111: creating contrib/libosmo-pfcp.spec
config.status:1111: creating include/Makefile
config.status:1111: creating include/osmocom/Makefile
config.status:1111: creating include/osmocom/gtlv/Makefile
config.status:1111: creating include/osmocom/pfcp/Makefile
config.status:1111: creating src/Makefile
config.status:1111: creating src/libosmo-gtlv/Makefile
config.status:1111: creating src/libosmo-pfcp/Makefile
config.status:1111: creating tests/Makefile
config.status:1111: creating tests/atlocal
config.status:1111: creating tests/libosmo-gtlv/Makefile
config.status:1111: creating tests/libosmo-gtlv/test_gtlv_gen/Makefile
config.status:1111: creating tests/libosmo-gtlv/test_tliv/Makefile
config.status:1111: creating tests/libosmo-pfcp/Makefile
config.status:1111: creating doc/Makefile
config.status:1111: creating doc/charts/Makefile
config.status:1111: creating contrib/Makefile
config.status:1111: creating Makefile
config.status:1111: creating config.h
config.status:1340: executing tests/atconfig commands
config.status:1340: executing depfiles commands
config.status:1442: cd src/libosmo-gtlv       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1447: $? = 0
config.status:1442: cd src/libosmo-pfcp       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1447: $? = 0
config.status:1442: cd tests/libosmo-gtlv       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1447: $? = 0
config.status:1442: cd tests/libosmo-gtlv/test_gtlv_gen       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1447: $? = 0
config.status:1442: cd tests/libosmo-gtlv/test_tliv       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1447: $? = 0
config.status:1442: cd tests/libosmo-pfcp       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1447: $? = 0
config.status:1340: executing libtool commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBOSMOCORE_CFLAGS_set=
ac_cv_env_LIBOSMOCORE_CFLAGS_value=
ac_cv_env_LIBOSMOCORE_LIBS_set=
ac_cv_env_LIBOSMOCORE_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value=/usr/local/lib/pkgconfig
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_PKG_CONFIG_INSTALLED=/usr/bin/pkg-config
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_lt_DD=/usr/bin/dd
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_FILECMD=file
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c11=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=no
lt_cv_sys_global_symbol_pipe='/usr/bin/sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | /usr/bin/sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='/usr/bin/sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1'
pkg_cv_LIBOSMOCORE_CFLAGS='-I/usr/local/include/ -pthread '
pkg_cv_LIBOSMOCORE_LIBS='-L/usr/local/lib -losmocore -Wl,-rpath,/usr/lib -ltalloc '

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} '\''/home/fixeria/projects/osmocom/libosmo-pfcp/missing'\'' aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} '\''/home/fixeria/projects/osmocom/libosmo-pfcp/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/home/fixeria/projects/osmocom/libosmo-pfcp/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/home/fixeria/projects/osmocom/libosmo-pfcp/missing'\'' automake-1.16'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS=' -std=gnu11'
CPPFLAGS=''
CSCOPE='cscope'
CTAGS='ctags'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
ETAGS='etags'
EXEEXT=''
FGREP='/usr/bin/grep -F'
FILECMD='file'
GREP='/usr/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/ld -m elf_x86_64'
LDFLAGS=''
LIBOBJS=''
LIBOSMOCORE_CFLAGS='-I/usr/local/include/ -pthread '
LIBOSMOCORE_LIBS='-L/usr/local/lib -losmocore -Wl,-rpath,/usr/lib -ltalloc '
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} '\''/home/fixeria/projects/osmocom/libosmo-pfcp/missing'\'' makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/usr/bin/mkdir -p'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='libosmo-pfcp'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='libosmo-pfcp'
PACKAGE_STRING='libosmo-pfcp 0.1.2.10-3a86'
PACKAGE_TARNAME='libosmo-pfcp'
PACKAGE_URL=''
PACKAGE_VERSION='0.1.2.10-3a86'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
PKG_CONFIG_INSTALLED='/usr/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='/usr/local/lib/pkgconfig'
RANLIB='ranlib'
RELMAKE='-include osmo-release.mk'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
VERSION='0.1.2.10-3a86'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/fixeria/projects/osmocom/libosmo-pfcp/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libosmo-pfcp"
#define PACKAGE_TARNAME "libosmo-pfcp"
#define PACKAGE_VERSION "0.1.2.10-3a86"
#define PACKAGE_STRING "libosmo-pfcp 0.1.2.10-3a86"
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE_URL ""
#define PACKAGE "libosmo-pfcp"
#define VERSION "0.1.2.10-3a86"
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"

configure: exit 0
#! /bin/sh

# pfcp_test - temporary wrapper script for .libs/pfcp_test
# Generated by libtool (GNU libtool) 2.4.7-dirty
#
# The pfcp_test program cannot be directly executed until all the libtool
# libraries that it depends on are installed.
#
# This wrapper script should never be moved out of the build directory.
# If it is, it will not operate correctly.

# Sed substitution that helps us do robust quoting.  It backslashifies
# metacharacters that are still active within double-quoted strings.
sed_quote_subst='s|\([`"$\\]\)|\\\1|g'

# Be Bourne compatible
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@"}'='"$@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
fi
BIN_SH=xpg4; export BIN_SH # for Tru64
DUALCASE=1; export DUALCASE # for MKS sh

# The HP-UX ksh and POSIX shell print the target directory to stdout
# if CDPATH is set.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH

relink_command="(cd 
/home/fixeria/projects/osmocom/libosmo-pfcp/tests/libosmo-pfcp; { test -z 
\"\${LIBRARY_PATH+set}\" || unset LIBRARY_PATH || { LIBRARY_PATH=; export 
LIBRARY_PATH; }; }; { test -z \"\${COMPILER_PATH+set}\" || unset COMPILER_PATH 
|| { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z 
\"\${GCC_EXEC_PREFIX+set}\" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; 
export GCC_EXEC_PREFIX; }; }; { test -z \"\${LD_RUN_PATH+set}\" || unset 
LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; 
LD_LIBRARY_PATH=:/home/fixeria/osmocom/titan.core/install/lib; export 
LD_LIBRARY_PATH; 
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/home/fixeria/.dotnet/tools:/home/fixeria/osmocom/titan.core/install/bin:/usr/lib/jvm/default/bin:/opt/rocm-5.3.0/bin:/opt/rocm-5.3.0/hip/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/ps2dev/bin:/usr/local/ps2dev/ee/bin:/usr/local/ps2dev/iop/bin:/usr/local/ps2dev/dvp/bin:/usr/local/ps2dev/ps2sdk/bin:/home/fixeria/.local/bin:/home/fixeria/.local/bin;
 export PATH; gcc -Wall -I/usr/local/include/ -std=gnu11 -o \$progdir/\$file 
pfcp_test.o -Wl,-rpath -Wl,/usr/lib  -L/usr/local/lib 
/usr/local/lib/libosmocore.so -lsctp -lsystemd -lmnl -ltalloc 
../../src/libosmo-pfcp/.libs/libosmo-pfcp.so 
../../src/libosmo-gtlv/.libs/libosmo-gtlv.so -pthread -Wl,-rpath 
-Wl,/home/fixeria/projects/osmocom/libosmo-pfcp/src/libosmo-pfcp/.libs 
-Wl,-rpath 
-Wl,/home/fixeria/projects/osmocom/libosmo-pfcp/src/libosmo-gtlv/.libs)"

# This environment variable determines our operation mode.
if test "$libtool_install_magic" = "%%%MAGIC variable%%%"; then
  # install mode needs the following variables:
  generated_by_libtool_version='2.4.7-dirty'
  notinst_deplibs=' ../../src/libosmo-pfcp/libosmo-pfcp.la 
../../src/libosmo-gtlv/libosmo-gtlv.la'
else
  # When we are sourced in execute mode, $file and $ECHO are already set.
  if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then
    file="$0"

# A function that is used when there is no print builtin or printf.
func_fallback_echo ()
{
  eval 'cat <<_LTECHO_EOF
$1
_LTECHO_EOF'
}
    ECHO="printf %s\\n"
  fi

# Very basic option parsing. These options are (a) specific to
# the libtool wrapper, (b) are identical between the wrapper
# /script/ and the wrapper /executable/ that is used only on
# windows platforms, and (c) all begin with the string --lt-
# (application programs are unlikely to have options that match
# this pattern).
#
# There are only two supported options: --lt-debug and
# --lt-dump-script. There is, deliberately, no --lt-help.
#
# The first argument to this parsing function should be the
# script's ../../libtool value, followed by no.
lt_option_debug=
func_parse_lt_options ()
{
  lt_script_arg0=$0
  shift
  for lt_opt
  do
    case "$lt_opt" in
    --lt-debug) lt_option_debug=1 ;;
    --lt-dump-script)
        lt_dump_D=`$ECHO "X$lt_script_arg0" | /usr/bin/sed -e 's/^X//' -e 
's%/[^/]*$%%'`
        test "X$lt_dump_D" = "X$lt_script_arg0" && lt_dump_D=.
        lt_dump_F=`$ECHO "X$lt_script_arg0" | /usr/bin/sed -e 's/^X//' -e 
's%^.*/%%'`
        cat "$lt_dump_D/$lt_dump_F"
        exit 0
      ;;
    --lt-*)
        $ECHO "Unrecognized --lt- option: '$lt_opt'" 1>&2
        exit 1
      ;;
    esac
  done

  # Print the debug banner immediately:
  if test -n "$lt_option_debug"; then
    echo "pfcp_test:pfcp_test:$LINENO: libtool wrapper (GNU libtool) 
2.4.7-dirty" 1>&2
  fi
}

# Used when --lt-debug. Prints its arguments to stdout
# (redirection is the responsibility of the caller)
func_lt_dump_args ()
{
  lt_dump_args_N=1;
  for lt_arg
  do
    $ECHO "pfcp_test:pfcp_test:$LINENO: newargv[$lt_dump_args_N]: $lt_arg"
    lt_dump_args_N=`expr $lt_dump_args_N + 1`
  done
}

# Core function for launching the target application
func_exec_program_core ()
{

      if test -n "$lt_option_debug"; then
        $ECHO "pfcp_test:pfcp_test:$LINENO: newargv[0]: $progdir/$program" 1>&2
        func_lt_dump_args ${1+"$@"} 1>&2
      fi
      exec "$progdir/$program" ${1+"$@"}

      $ECHO "$0: cannot exec $program $*" 1>&2
      exit 1
}

# A function to encapsulate launching the target application
# Strips options in the --lt-* namespace from $@ and
# launches target application with the remaining arguments.
func_exec_program ()
{
  case " $* " in
  *\ --lt-*)
    for lt_wr_arg
    do
      case $lt_wr_arg in
      --lt-*) ;;
      *) set x "$@" "$lt_wr_arg"; shift;;
      esac
      shift
    done ;;
  esac
  func_exec_program_core ${1+"$@"}
}

  # Parse options
  func_parse_lt_options "$0" ${1+"$@"}

  # Find the directory that this script lives in.
  thisdir=`$ECHO "$file" | /usr/bin/sed 's%/[^/]*$%%'`
  test "x$thisdir" = "x$file" && thisdir=.

  # Follow symbolic links until we get to the real thisdir.
  file=`ls -ld "$file" | /usr/bin/sed -n 's/.*-> //p'`
  while test -n "$file"; do
    destdir=`$ECHO "$file" | /usr/bin/sed 's%/[^/]*$%%'`

    # If there was a directory component, then change thisdir.
    if test "x$destdir" != "x$file"; then
      case "$destdir" in
      [\\/]* | [A-Za-z]:[\\/]*) thisdir="$destdir" ;;
      *) thisdir="$thisdir/$destdir" ;;
      esac
    fi

    file=`$ECHO "$file" | /usr/bin/sed 's%^.*/%%'`
    file=`ls -ld "$thisdir/$file" | /usr/bin/sed -n 's/.*-> //p'`
  done

  # Usually 'no', except on cygwin/mingw when embedded into
  # the cwrapper.
  WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=no
  if test "$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR" = "yes"; then
    # special case for '.'
    if test "$thisdir" = "."; then
      thisdir=`pwd`
    fi
    # remove .libs from thisdir
    case "$thisdir" in
    *[\\/].libs ) thisdir=`$ECHO "$thisdir" | /usr/bin/sed 's%[\\/][^\\/]*$%%'` 
;;
    .libs )   thisdir=. ;;
    esac
  fi

  # Try to get the absolute directory name.
  absdir=`cd "$thisdir" && pwd`
  test -n "$absdir" && thisdir="$absdir"

  program=lt-'pfcp_test'
  progdir="$thisdir/.libs"

  if test ! -f "$progdir/$program" ||
     { file=`ls -1dt "$progdir/$program" "$progdir/../$program" 2>/dev/null | 
/usr/bin/sed 1q`; \
       test "X$file" != "X$progdir/$program"; }; then

    file="$$-$program"

    if test ! -d "$progdir"; then
      mkdir "$progdir"
    else
      rm -f "$progdir/$file"
    fi

    # relink executable if necessary
    if test -n "$relink_command"; then
      if relink_command_output=`eval $relink_command 2>&1`; then :
      else
        $ECHO "$relink_command_output" >&2
        rm -f "$progdir/$file"
        exit 1
      fi
    fi

    mv -f "$progdir/$file" "$progdir/$program" 2>/dev/null ||
    { rm -f "$progdir/$program";
      mv -f "$progdir/$file" "$progdir/$program"; }
    rm -f "$progdir/$file"
  fi

  if test -f "$progdir/$program"; then
    if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then
      # Run the actual program with our arguments.
      func_exec_program ${1+"$@"}
    fi
  else
    # The program doesn't exist.
    $ECHO "$0: error: '$progdir/$program' does not exist" 1>&2
    $ECHO "This script is just a wrapper for $program." 1>&2
    $ECHO "See the libtool documentation for more information." 1>&2
    exit 1
  fi
fi

Reply via email to