Comments (6)
Hey @cwaldren-ld, Thanks for your response. What i means is if we try creating the docker image with launchdarkly baked into it, we would need a DockerFile like the below
FROM openresty/openresty:1.19.9.1-10-focal as ld_builder
RUN apt-get update && apt-get install -y \
luajit libluajit-5.1-dev lua-ldoc zip \
ca-certificates curl libpcre3 libcurl4-openssl-dev \
cmake libhiredis-dev git build-essential libpcre3-dev
COPY ld/install-sdk.sh .
and install-sdk.sh is,
#!/usr/bin/env bash
set -ev
git clone https://github.com/launchdarkly/c-server-sdk.git
cd c-server-sdk
mkdir build && cd build
cmake -D BUILD_TESTING=OFF -D BUILD_SHARED_LIBS=ON ..
cmake --build .
In the above configuration, I am getting the error i mentioned above.
from c-server-sdk.
You are using openresty/openresty:1.19.9.1-10-focal
, which contains GCC v9.4.0
.
I tried using older openresty/openresty:1.17.8.2-5-focal
, where GCC version is v9.3.0
. There is no error in this version.
I will release an SDK update this week to fix it.
If you cannot wait for new release, you could try:
- Use older version of openresty
- Patch the source code on line 74 of
c-server-sdk/src/integrations/file_data.c
; changechar c;
toint c;
from c-server-sdk.
Hi @vsubram95 , this has been fixed in 2.8.1.
from c-server-sdk.
Thanks @cwaldren-ld. I can confirm that that it works.
from c-server-sdk.
Hi @vsubram95 , I'm not sure what Dockerfile you are referring to - can you send a link, or copy it here?
Filed internally as 161801.
from c-server-sdk.
Thanks @cwaldren-ld. Really appreciate it.
from c-server-sdk.
Related Issues (4)
- `-std=c89` flag build error HOT 5
- PCRE is end of life HOT 2
- conflicting SHA1 symbol HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c-server-sdk.