ibmdb / go_ibm_db

GoLang Driver for Db2 family of database servers
BSD 3-Clause "New" or "Revised" License
111 stars 37 forks source link

Dockerfile issue #233

Closed parth-mehta-989 closed 9 months ago

parth-mehta-989 commented 10 months ago

Steps to Reproduce:

  1. Run the following docker file
    
    FROM amd64/golang:1.22rc1-alpine3.19

WORKDIR /usr/src/app COPY go.mod go.sum ./ RUN apk add git

ENV GOPROXY=direct \ GOMEMLIMIT=1950MiB RUN apk --no-cache add openssl curl tar RUN openssl s_client -showcerts -servername github.com -connect github.com:443 </dev/null | sed -n -e '/BEGIN\ CERTIFICATE/,/END\ CERTIFICATE/ p' > github-com.pem

RUN ls -la RUN cat github-com.pem | tee -a /etc/ssl/certs/ca-certificates.crt RUN go mod download && go mod verify COPY . . RUN cd /go/pkg/mod/ && cd github.com/ibmdb/go_ibm_db@v0.4.5/installer && cd ../../ && curl -O https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz && ls -la && tar -xvzf linuxx64_odbc_cli.tar.gz -C ./ && ls -la && echo "done" ENV IBM_DB_HOME=/go/pkg/mod/github.com/ibmdb/clidriver ENV CGO_CFLAGS=-I$IBM_DB_HOME/include ENV CGO_LDFLAGS=-L$IBM_DB_HOME/lib ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$IBM_DB_HOME/lib RUN echo $IBM_DB_HOME \ $CGO_CFLAGS \ $CGO_LDFLAGS \ $LD_LIBRARY_PATH

RUN go build -v -o /usr/local/bin/app ./...

CMD ["app"]


It is giving the following error.

Step 19/20 : RUN go build -v -o /usr/local/bin/app ./... ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested ---> Running in 65fc665b9e5a internal/unsafeheader internal/goarch internal/cpu internal/abi internal/bytealg internal/chacha8rand internal/coverage/rtcov internal/godebugs internal/goexperiment internal/goos runtime/internal/atomic runtime/internal/math runtime/internal/sys runtime/internal/syscall internal/race sync/atomic runtime unicode unicode/utf8 internal/itoa math/bits math cmp slices unicode/utf16 github.com/ibmdb/go_ibm_db/api

github.com/ibmdb/go_ibm_db/api

/go/pkg/mod/github.com/ibmdb/go_ibm_db@v0.4.5/api/api.go:14:9: undefined: SQLSMALLINT /go/pkg/mod/github.com/ibmdb/go_ibm_db@v0.4.5/api/api.go:15:9: undefined: SQLUSMALLINT /go/pkg/mod/github.com/ibmdb/go_ibm_db@v0.4.5/api/api.go:16:9: undefined: SQLUSMALLINT /go/pkg/mod/github.com/ibmdb/go_ibm_db@v0.4.5/api/api.go:20:12: undefined: SQLSMALLINT /go/pkg/mod/github.com/ibmdb/go_ibm_db@v0.4.5/api/api.go:21:12: undefined: SQLUSMALLINT /go/pkg/mod/github.com/ibmdb/go_ibm_db@v0.4.5/api/api.go:22:12: undefined: SQLUSMALLINT /go/pkg/mod/github.com/ibmdb/go_ibm_db@v0.4.5/api/api.go:23:12: undefined: SQLUSMALLINT /go/pkg/mod/github.com/ibmdb/go_ibm_db@v0.4.5/api/api.go:24:12: undefined: SQLUSMALLINT /go/pkg/mod/github.com/ibmdb/go_ibm_db@v0.4.5/api/api.go:25:12: undefined: SQLUSMALLINT /go/pkg/mod/github.com/ibmdb/go_ibm_db@v0.4.5/api/api.go:26:12: undefined: SQLUINTEGER /go/pkg/mod/github.com/ibmdb/go_ibm_db@v0.4.5/api/api.go:26:12: too many errors internal/reflectlite sync internal/testlog errors sort io internal/oserror bytes syscall strconv reflect time context internal/syscall/unix internal/poll internal/fmtsort internal/safefilepath internal/syscall/execenv path strings io/fs os fmt database/sql/driver database/sql The command '/bin/sh -c go build -v -o /usr/local/bin/app ./...' returned a non-zero code: 1

vmathur12 commented 10 months ago

@parth-mehta-989 Could you please paste the output of the following commands: echo $IBM_DB_HOME echo $CGO_CFLAGS echo $CGO_LDFLAGS echo $LD_LIBRARY_PATH echo $PATH ls go/pkg/mod/github.com/ibmdb/go_ibm_db@v0.4.5

Thanks

parth-mehta-989 commented 10 months ago

Hi @vmathur12, I've copied the output from the docker file for your reference for the commands you asked for. Please have a look.

Step 18/26 : RUN echo $IBM_DB_HOME
/go/pkg/mod/github.com/ibmdb/clidriver

Step 19/26 : RUN echo $CGO_CFLAGS
-I/go/pkg/mod/github.com/ibmdb/clidriver/include

Step 20/26 : RUN echo $CGO_LDFLAGS
-L/go/pkg/mod/github.com/ibmdb/clidriver/lib

Step 21/26 : RUN echo $LD_LIBRARY_PATH
:/go/pkg/mod/github.com/ibmdb/clidriver/lib

Step 22/26 : RUN echo $PATH

/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Step 23/26 : RUN echo $GOPATH
/go

Step 24/26 : RUN ls $GOPATH/pkg/mod/github.com/ibmdb/go_ibm_db@v0.4.5

API_DOCUMENTATION.md
CHANGES.md
CONTRIBUTING.md
INSTALL.md
LICENSE.md
README.md
api
column.go
conn.go
database.go
driver.go
error.go
handle.go
installer
odbcstmt.go
package.json
param.go
pooling.go
result.go
rows.go
sqlOut.go
stats.go
stmt.go
testdata
tx.go
utf16.go
parth-mehta-989 commented 10 months ago

After using the same go file on my local mac M1 pro(arm64) system to connect with the db2 instance, it gives the following error event though I have followed all the steps listed in the documentation:

go run main.go
# command-line-arguments
/usr/local/go/pkg/tool/darwin_arm64/link: running clang failed: exit status 1
ld: warning: ignoring duplicate libraries: '-ldb2'
ld: warning: '/private/var/folders/60/nq6yrbkx0flf1t4jn1qdg6vr0000gq/T/go-link-2681059002/go.o' has malformed LC_DYSYMTAB, expected 53 undefined symbols to start at index 3388, found 65 undefined symbols starting at index 15
ld: warning: ignoring file '/Users/4911362/go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.dylib': found architecture 'x86_64', required architecture 'arm64'
ld: Undefined symbols:
  _SQLAllocHandle, referenced from:
      __cgo_7c20331df575_Cfunc_SQLAllocHandle in 000002.o
  _SQLBindCol, referenced from:
      __cgo_7c20331df575_Cfunc_SQLBindCol in 000002.o
  _SQLBindParameter, referenced from:
      __cgo_7c20331df575_Cfunc_SQLBindParameter in 000002.o
  _SQLCloseCursor, referenced from:
      __cgo_7c20331df575_Cfunc_SQLCloseCursor in 000002.o
  _SQLColAttribute, referenced from:
      __cgo_7c20331df575_Cfunc_SQLColAttribute in 000002.o
  _SQLCreateDbW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLCreateDbW in 000002.o
  _SQLDescribeColW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLDescribeColW in 000002.o
  _SQLDescribeParam, referenced from:
      __cgo_7c20331df575_Cfunc_SQLDescribeParam in 000002.o
  _SQLDisconnect, referenced from:
      __cgo_7c20331df575_Cfunc_SQLDisconnect in 000002.o
  _SQLDriverConnectW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLDriverConnectW in 000002.o
  _SQLDropDbW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLDropDbW in 000002.o
  _SQLEndTran, referenced from:
      __cgo_7c20331df575_Cfunc_SQLEndTran in 000002.o
  _SQLExecDirectW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLExecDirectW in 000002.o
  _SQLExecute, referenced from:
      __cgo_7c20331df575_Cfunc_SQLExecute in 000002.o
  _SQLFetch, referenced from:
      __cgo_7c20331df575_Cfunc_SQLFetch in 000002.o
  _SQLFreeHandle, referenced from:
      __cgo_7c20331df575_Cfunc_SQLFreeHandle in 000002.o
  _SQLGetData, referenced from:
      __cgo_7c20331df575_Cfunc_SQLGetData in 000002.o
  _SQLGetDiagRecW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLGetDiagRecW in 000002.o
  _SQLMoreResults, referenced from:
      __cgo_7c20331df575_Cfunc_SQLMoreResults in 000002.o
  _SQLNumParams, referenced from:
      __cgo_7c20331df575_Cfunc_SQLNumParams in 000002.o
  _SQLNumResultCols, referenced from:
      __cgo_7c20331df575_Cfunc_SQLNumResultCols in 000002.o
  _SQLPrepareW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLPrepareW in 000002.o
  _SQLRowCount, referenced from:
      __cgo_7c20331df575_Cfunc_SQLRowCount in 000002.o
  _SQLSetConnectAttr, referenced from:
      _sqlSetConnectUIntPtrAttr in 000001.o
  _SQLSetConnectAttrW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLSetConnectAttrW in 000002.o
  _SQLSetEnvAttr, referenced from:
      _sqlSetEnvUIntPtrAttr in 000001.o
      __cgo_7c20331df575_Cfunc_SQLSetEnvAttr in 000002.o
  _SQLSetStmtAttrW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLSetStmtAttrW in 000002.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I can't install x86_64 golang on my system due to the reason that it will break the other dependencies for my project. Please let me know what I can improve for this to run correctly.

vmathur12 commented 10 months ago

@parth-mehta-989 For MAC please share the output of $unama -a ls /Users/xxxx/go/pkg/mod/github.com/ibmdb Link libdb2.dylib in the current folder from where you arerunning the go script For example: $ ls -l lrwxr-xr-x libdb2.dylib -> /Users/xxxx/go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.dylib -rw-r--r-- main.go

parth-mehta-989 commented 10 months ago

Hi @vmathur12, Here's output for my mac local machine:

$ echo $IBM_DB_HOME
/Users/xxxx/go/pkg/mod/github.com/ibmdb/clidriver
$ echo $CGO_CFLAGS
-I/Users/xxxx/go/pkg/mod/github.com/ibmdb/clidriver/include
$ echo $CGO_LDFLAGS
-L/Users/xxxx/go/pkg/mod/github.com/ibmdb/clidriver/lib
$ echo $DYLD_LIBRARY_PATH
:/Users/xxxx/go/pkg/mod/github.com/ibmdb/clidriver/lib

$ go env
GO111MODULE=""
GOARCH="arm64"
GOBIN=""
GOCACHE="/Users/xxxx/Library/Caches/go-build"
GOENV="/Users/xxxx/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/xxxx/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/xxxx/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.20.6"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/xxxx/Desktop/personal-workspace/DB2/go.mod"
GOWORK=""
CGO_CFLAGS="-I/Users/xxxx/go/pkg/mod/github.com/ibmdb/clidriver/include"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-L/Users/xxxx/go/pkg/mod/github.com/ibmdb/clidriver/lib"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/60/nq6yrbkx0flf1t4jn1qdg6vr0000gq/T/go-build604427874=/tmp/go-build -gno-record-gcc-switches -fno-common"

$ uname -a
Darwin xxxx-27fdc 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct  9 21:27:24 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T6000 arm64

$ ls /Users/xxxx/go/pkg/mod/github.com/ibmdb
clidriver        go_ibm_db@v0.4.5

I also did the linking. Check out the below output:

$ ls -l                                                                                   
total 32
-rw-r--r--@ 1 xxxx  staff  1257 Jan 19 12:31 dockerfile
-rw-r--r--@ 1 xxxx  staff    63 Jan 17 12:42 go.mod
-rw-r--r--@ 1 xxxx  staff   171 Jan 17 12:42 go.sum
lrwxr-xr-x@ 1 xxxx  staff    69 Jan 20 10:10 libdb2.dylib -> /Users/xxxx/go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.dylib
-rw-r--r--@ 1 xxxx  staff   303 Jan 17 12:42 main.go

but I'm getting the same error:

# command-line-arguments
/usr/local/go/pkg/tool/darwin_arm64/link: running clang failed: exit status 1
ld: warning: ignoring duplicate libraries: '-ldb2'
ld: warning: '/private/var/folders/60/nq6yrbkx0flf1t4jn1qdg6vr0000gq/T/go-link-875153929/go.o' has malformed LC_DYSYMTAB, expected 53 undefined symbols to start at index 3388, found 65 undefined symbols starting at index 15
ld: warning: ignoring file '/Users/4911362/go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.dylib': found architecture 'x86_64', required architecture 'arm64'
ld: Undefined symbols:
  _SQLAllocHandle, referenced from:
      __cgo_7c20331df575_Cfunc_SQLAllocHandle in 000002.o
  _SQLBindCol, referenced from:
      __cgo_7c20331df575_Cfunc_SQLBindCol in 000002.o
  _SQLBindParameter, referenced from:
      __cgo_7c20331df575_Cfunc_SQLBindParameter in 000002.o
  _SQLCloseCursor, referenced from:
      __cgo_7c20331df575_Cfunc_SQLCloseCursor in 000002.o
  _SQLColAttribute, referenced from:
      __cgo_7c20331df575_Cfunc_SQLColAttribute in 000002.o
  _SQLCreateDbW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLCreateDbW in 000002.o
  _SQLDescribeColW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLDescribeColW in 000002.o
  _SQLDescribeParam, referenced from:
      __cgo_7c20331df575_Cfunc_SQLDescribeParam in 000002.o
  _SQLDisconnect, referenced from:
      __cgo_7c20331df575_Cfunc_SQLDisconnect in 000002.o
  _SQLDriverConnectW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLDriverConnectW in 000002.o
  _SQLDropDbW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLDropDbW in 000002.o
  _SQLEndTran, referenced from:
      __cgo_7c20331df575_Cfunc_SQLEndTran in 000002.o
  _SQLExecDirectW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLExecDirectW in 000002.o
  _SQLExecute, referenced from:
      __cgo_7c20331df575_Cfunc_SQLExecute in 000002.o
  _SQLFetch, referenced from:
      __cgo_7c20331df575_Cfunc_SQLFetch in 000002.o
  _SQLFreeHandle, referenced from:
      __cgo_7c20331df575_Cfunc_SQLFreeHandle in 000002.o
  _SQLGetData, referenced from:
      __cgo_7c20331df575_Cfunc_SQLGetData in 000002.o
  _SQLGetDiagRecW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLGetDiagRecW in 000002.o
  _SQLMoreResults, referenced from:
      __cgo_7c20331df575_Cfunc_SQLMoreResults in 000002.o
  _SQLNumParams, referenced from:
      __cgo_7c20331df575_Cfunc_SQLNumParams in 000002.o
  _SQLNumResultCols, referenced from:
      __cgo_7c20331df575_Cfunc_SQLNumResultCols in 000002.o
  _SQLPrepareW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLPrepareW in 000002.o
  _SQLRowCount, referenced from:
      __cgo_7c20331df575_Cfunc_SQLRowCount in 000002.o
  _SQLSetConnectAttr, referenced from:
      _sqlSetConnectUIntPtrAttr in 000001.o
  _SQLSetConnectAttrW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLSetConnectAttrW in 000002.o
  _SQLSetEnvAttr, referenced from:
      _sqlSetEnvUIntPtrAttr in 000001.o
      __cgo_7c20331df575_Cfunc_SQLSetEnvAttr in 000002.o
  _SQLSetStmtAttrW, referenced from:
      __cgo_7c20331df575_Cfunc_SQLSetStmtAttrW in 000002.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
vmathur12 commented 9 months ago

@parth-mehta-989 You need to have x86-64 golang on MAC(GOARCH="amd64"). CLI driver will not support for arm64 golang. (GOARCH="arm64") Thanks

parth-mehta-989 commented 9 months ago

Hey @vmathur12, in my first comment, you can see that the GOARCH is amd64 but still I am getting that error. What can I do there?

vmathur12 commented 9 months ago

@parth-mehta-989 Your go environment variable CGO_ENABLED=0, Please set to CGO_ENABLED=1. command: go env -w CGO_ENABLED=1 Thanks

parth-mehta-989 commented 9 months ago

Hey @vmathur12, whenever I run my script for build, I either get a segementation fault for at least one of the packages like this: example 1:

Step 21/22 : RUN go build -v -o /usr/local/bin/app ./...
 ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
 ---> Running in 19e7bf708a25
internal/goarch
internal/unsafeheader
internal/cpu
internal/abi
internal/bytealg
internal/chacha8rand
internal/coverage/rtcov
internal/godebugs
internal/goexperiment
internal/goos
runtime/internal/atomic
runtime/internal/math
runtime/internal/sys
runtime/internal/syscall
internal/race
sync/atomic
runtime
unicode
unicode/utf8
internal/itoa
math/bits
math
cmp
slices
unicode/utf16
internal/reflectlite
sync
internal/testlog
errors
sort
io
internal/oserror
bytes
syscall
strconv
reflect
time
context
internal/syscall/unix
internal/poll
internal/fmtsort
internal/safefilepath
internal/syscall/execenv
path
runtime/cgo
io/fs
os
fmt
database/sql/driver
database/sql
runtime/cgo: gcc: signal: segmentation fault (core dumped)
strings
The command '/bin/sh -c go build -v -o /usr/local/bin/app ./...' returned a non-zero code: 1

example 2:

internal/unsafeheader
internal/goarch
internal/cpu
internal/abi
internal/bytealg
internal/chacha8rand
internal/coverage/rtcov
internal/godebugs
internal/goexperiment
internal/goos
runtime/internal/atomic
runtime/internal/math
runtime/internal/sys
runtime/internal/syscall
internal/race
sync/atomic
runtime
unicode
unicode/utf8
internal/itoa
math/bits
math
cmp
slices
unicode/utf16
internal/reflectlite
sync
internal/testlog
errors
sort
io
bytes
internal/oserror
syscall
strconv
reflect
time
time: /usr/local/go/pkg/tool/linux_amd64/compile: signal: segmentation fault (core dumped)
internal/syscall/unix
internal/safefilepath
internal/syscall/execenv
path
runtime/cgo
internal/fmtsort
strings
github.com/ibmdb/go_ibm_db/api
The command '/bin/sh -c go build -v -o /usr/local/bin/app ./...' returned a non-zero code: 1

Or I get this big error:

internal/goarch
internal/unsafeheader
internal/cpu
internal/abi
internal/bytealg
internal/chacha8rand
internal/coverage/rtcov
internal/godebugs
internal/goexperiment
internal/goos
runtime/internal/atomic
runtime/internal/math
runtime/internal/sys
runtime/internal/syscall
internal/race
sync/atomic
runtime
unicode
unicode/utf8
internal/itoa
math/bits
math
cmp
slices
unicode/utf16
internal/reflectlite
sync
internal/testlog
runtime/cgo
errors
io
bytes
internal/oserror
syscall
time
strconv
context
sort
reflect
internal/syscall/unix
internal/poll
internal/safefilepath
internal/syscall/execenv
path
io/fs
internal/fmtsort
os
github.com/ibmdb/go_ibm_db/api
fmt
database/sql/driver
database/sql
strings
github.com/ibmdb/go_ibm_db
DB2
# DB2
/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcrypt.so.1, needed by /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libdl.so.2, needed by /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libpthread.so.0, needed by /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: librt.so.1, needed by /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libpam.so.0, needed by /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libxml2.so.2, needed by /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libm.so.6, needed by /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libc.so.6, needed by /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `semtimedop@GLIBC_2.3.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fdopen@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_mutexattr_destroy@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `setpwent@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `mmap@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strtol@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `difftime@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `dlinfo@GLIBC_2.3.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `link@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sysconf@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `srand@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `system@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `accept@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__cxa_allocate_exception@CXXABI_1.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_cond_wait@GLIBC_2.3.2'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `round@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_equal@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__register_atfork@GLIBC_2.3.2'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sprintf@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `mmap64@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getpwuid_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `ntohl@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `mkfifo@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fopen64@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `prctl@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_attr_setscope@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `dlvsym@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `std::string::_Rep::_M_destroy(std::allocator<char> const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strftime@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `close@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `stderr@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sin@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `execv@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `geteuid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sysctl@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `atoi@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getpgid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strerror_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__lxstat64@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `std::bad_alloc::~bad_alloc()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sigemptyset@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sem_unlink@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getservbyname@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_setspecific@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__cxa_throw@CXXABI_1.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_key_delete@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `mbstowcs@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `msgrcv@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `openlog@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fputs@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `setsockopt@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `kill@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `semget@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `unlink@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `isatty@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `endpwent@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strtoll@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `snprintf@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sigaction@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `rename@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `in6addr_any@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fetestexcept@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `calloc@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `shmat@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strchr@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_attr_init@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `setmntent@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `endmntent@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `execvp@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `umask@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getenv@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `gethostbyname@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getsockname@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fpathconf@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_exit@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_mutex_init@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__res_init@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `syslog@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strcasestr@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pam_strerror@LIBPAM_1.0'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `localeconv@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `gethostname@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `semop@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_attr_setdetachstate@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `nl_langinfo@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `posix_fallocate@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sem_getvalue@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `dup@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pow@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `connect@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `recvfrom@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getsockopt@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `statfs64@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `isspace@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `execl@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__fxstat64@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `gethostbyaddr@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `dlopen@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `recv@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getgid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `ctime@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `isalpha@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getnameinfo@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `malloc@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `std::__throw_logic_error(char const*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sem_trywait@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fwrite@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `readdir@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getgrent_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strcmp@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `setgid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `inet_addr@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__ctype_tolower_loc@GLIBC_2.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__ctype_toupper_loc@GLIBC_2.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `ftruncate64@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `localtime_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `readlink@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_attr_setaffinity_np@GLIBC_2.3.4'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `setuid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `poll@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `atan2@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strcat@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `log10@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_mutex_unlock@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `inet_pton@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getpid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `ctime_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@CXXABI_1.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `madvise@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_sigmask@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sem_post@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__cxa_end_catch@CXXABI_1.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__cxa_rethrow@CXXABI_1.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_mutex_destroy@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `dlerror@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sigfillset@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fflush@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `setlocale@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `chown@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `catgets@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `_exit@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `inet_ntoa@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getpwuid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `memcpy@GLIBC_2.14'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `raise@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strtof@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fchmod@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `closedir@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strtok_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_condattr_setpshared@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sem_wait@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `gethostbyaddr_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getresuid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fsetpos@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__fxstat@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strerror@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strncpy@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `wctomb@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__cxa_atexit@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `mblen@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fgetc@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `std::string::_Rep::_S_empty_rep_storage@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `dlclose@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `putchar@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `signal@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `std::_Hash_bytes(void const*, unsigned long, unsigned long)@CXXABI_1.3.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sigdelset@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `memchr@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sysinfo@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__xstat64@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `chdir@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sbrk@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `writev@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `feclearexcept@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_mutex_lock@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_cond_destroy@GLIBC_2.3.2'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `abort@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getpwnam_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pam_acct_mgmt@LIBPAM_1.0'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fscanf@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `dlsym@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_attr_setstacksize@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strrchr@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `realpath@GLIBC_2.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_condattr_init@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `free@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `_IO_getc@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__cxa_call_unexpected@CXXABI_1.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fgets@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `frexp@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strtok@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__res_state@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `syscall@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strcspn@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `cos@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `gai_strerror@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `isupper@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pwrite64@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `std::ios_base::Init::Init()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sqrt@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_once@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `msgctl@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `vfprintf@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fcntl@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strnlen@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `time@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `rewind@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_mutexattr_setkind_np@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `setpgid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `dup2@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `msgget@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pam_authenticate@LIBPAM_1.0'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sleep@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `gmtime_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strptime@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `localtime@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `listen@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strncasecmp@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__gxx_personality_v0@CXXABI_1.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `access@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `popen@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `inet_ntop@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `backtrace@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `printf@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fseek@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pclose@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `rmdir@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `memmove@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `rand@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `toupper@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `bsearch@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `waitpid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `feof@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `clock_gettime@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pread64@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `std::ios_base::Init::~Init()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `shutdown@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_join@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strcasecmp@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `vsnprintf@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sigprocmask@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `typeinfo for std::bad_alloc@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `read@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `usleep@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `isdigit@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `tmpnam@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getaddrinfo@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `tzset@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_kill@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `tcsetattr@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_key_create@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strchrnul@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fread@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `tolower@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fgetpos@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `std::__detail::_Prime_rehash_policy::_M_need_rehash(unsigned long, unsigned long, unsigned long) const@GLIBCXX_3.4.18'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `siglongjmp@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `seteuid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `memcmp@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getgrnam_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `nanosleep@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pam_setcred@LIBPAM_1.0'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `statvfs@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_create@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fork@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getifaddrs@GLIBC_2.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sendto@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pam_chauthtok@LIBPAM_1.0'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `select@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getppid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `ioctl@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_condattr_destroy@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `remove@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `readdir_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strtoul@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `shmdt@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strlen@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strtod@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `typeinfo for std::exception@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `ualarm@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_cond_timedwait@GLIBC_2.3.2'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_mutexattr_setpshared@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `timezone@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `munmap@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `realloc@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strncmp@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strspn@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__lxstat@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__errno_location@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `qsort@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `asctime@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strdup@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `mkstemp@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `freeifaddrs@GLIBC_2.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `ftok@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pause@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `mprotect@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `lseek64@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `catopen@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `gettimeofday@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__sigsetjmp@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `uname@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `environ@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `tcgetattr@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `socket@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getpwnam@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__cpu_model@GCC_4.8.0'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `mktime@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `roundf@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getpwent@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__xstat@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_cond_signal@GLIBC_2.3.2'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `write@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `closelog@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_cond_broadcast@GLIBC_2.3.2'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `div@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `send@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fprintf@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `ftell@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `memset@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `shmctl@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `stdin@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `setrlimit@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `catclose@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sscanf@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fileno@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sem_open@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getlogin_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `crypt_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getservbyname_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `shm_open@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `bind@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sem_timedwait@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `setreuid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strpbrk@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pam_start@LIBPAM_1.0'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `putenv@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getegid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sched_setaffinity@GLIBC_2.3.4'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@CXXABI_1.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `endgrent@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `modf@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `std::__throw_length_error(char const*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `gethostbyname_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `open64@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getpeername@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__cxa_begin_catch@CXXABI_1.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__ctype_get_mb_cur_max@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_attr_destroy@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getmntent_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sem_close@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info@CXXABI_1.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getrlimit@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__cpu_indicator_init@GCC_4.8.0'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `opendir@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `atol@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `setegid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getgrouplist@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_mutex_trylock@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `killpg@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getuid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `__ctype_b_loc@GLIBC_2.3'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sigaddset@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `std::__throw_bad_alloc()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `alarm@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_cond_init@GLIBC_2.3.2'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `symlink@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `setgrent@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `ferror@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `execve@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fputc@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pam_end@LIBPAM_1.0'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `gmtime@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_mutexattr_init@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `sched_yield@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getmntent@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getgroups@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getcwd@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_getspecific@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `msgsnd@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pipe@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `initgroups@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `shm_unlink@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `mkdir@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getspnam_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getgrgid@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `semctl@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `dladdr@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `exit@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `tempnam@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fsync@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fstatfs64@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fclose@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `stpcpy@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `chmod@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `puts@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `freeaddrinfo@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strncat@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `isalnum@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strcpy@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `fopen@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `pthread_self@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `shmget@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `strstr@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `open@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `daylight@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `getgrgid_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `rand_r@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /go/pkg/mod/github.com/ibmdb/clidriver/lib/libdb2.so: undefined reference to `stdout@GLIBC_2.2.5'
collect2: error: ld returned 1 exit status

The command '/bin/sh -c go build -v -o /usr/local/bin/app ./...' returned a non-zero code: 1

Here's the modified Docker script I am running:

FROM  --platform=linux/amd64 amd64/golang:1.22rc1-alpine3.19

WORKDIR /usr/src/app
COPY go.mod go.sum ./
RUN apk add  git

ENV GOPROXY=direct \
    GOMEMLIMIT=1950MiB
RUN apk --no-cache add openssl curl tar
RUN apk add build-base
RUN openssl s_client -showcerts -servername github.com -connect github.com:443 </dev/null | sed -n -e '/BEGIN\ CERTIFICATE/,/END\ CERTIFICATE/ p' > github-com.pem
RUN go env -w CGO_ENABLED=1
RUN ls -la
RUN cat github-com.pem | tee -a /etc/ssl/certs/ca-certificates.crt
RUN  go mod download && go mod verify
COPY . .
RUN cd /go/pkg/mod/ &&  cd github.com/ibmdb/go_ibm_db@v0.4.5/installer && cd ../../ && curl -O https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/linuxx64_odbc_cli.tar.gz && ls -la && tar -xvzf linuxx64_odbc_cli.tar.gz -C ./ && ls -la && echo "done"
ENV IBM_DB_HOME=/go/pkg/mod/github.com/ibmdb/clidriver 
ENV CGO_CFLAGS=-I$IBM_DB_HOME/include 
ENV CGO_LDFLAGS=-L$IBM_DB_HOME/lib 
ENV PATH="/go/pkg/mod/github.com/ibmdb/clidriver/bin:$PATH"
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$IBM_DB_HOME/lib 

RUN go build -v -o /usr/local/bin/app ./...

CMD ["app"]
vmathur12 commented 9 months ago

@parth-mehta-989 https://www.ibm.com/support/pages/node/6967551 This article describes the steps to follow to install GoLang and go_ibm_db driver on M1 architecture along with necessary dependencies. Thanks

parth-mehta-989 commented 9 months ago

@vmathur12 I tried to connect to DB2 instace with flags GOARCH=amd64 CGO_ENABLED=1 and it connected successfully without giving any error. But when I tried to query it, it gave the following error:

error querying, err:SQLDriverConnect: {42968} [IBM][CLI Driver] SQL1598N  An attempt to connect to the database server failed because of a licensing problem.  SQLSTATE=42968
exit status 1

I checked on stack overflow that Db2-for-Z/OS requires license. If that's the case should it connect without errors and then throw an error when I query? If that's expected, where shall I get the license and how should I configure it in code?

Thanks for all you support till now.

bimalkjha commented 9 months ago

@parth-mehta-989 Yes, licensing error means your setup is correct now and your application is able to reach server. SQL1598N is returned by Db2 for z/OS server to client. To resolve licensing error, follow these instructions from documentation: https://github.com/ibmdb/go_ibm_db?tab=readme-ov-file#for-zos-and-iseries-connectivity-and-sql1598n-error Thanks.

parth-mehta-989 commented 9 months ago

Hi @bimalkjha, I am just curious why I am able to connect to the db using the same creds and no license with DBeaver(a db client)?

bimalkjha commented 9 months ago

@parth-mehta-989 DBeaver uses JDBC driver for Db2. There is different db2connect license file for Java and non-Java applications. If you check DBeaver directory or CLASSPATH, you can find a file named db2jcc_license_cisuz.jar in the system. db2jcc_license_cisuz.jar is db2connect license for Java applications. You should have this file in the system, so connection is working fine. For non-Java drivers, we need to apply a db2connect license file named db2consv*.lic. Java license will not work for go driver. You can check with your admin about db2connect license or search for db2consv*.lic file. If you have this file, you can copy it under clidriver\license directory. Thanks.