Comments (9)
@kawatoto Alpine still uses musl as the default, its installed in /usr, all the libraries are available at /usr/glibc-compat/lib
from alpine-pkg-glibc.
Hi,
I added the path in ld_library_path
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/glibc-compat/lib
and now I'm getting the below error.
fatal error: stdlib.h: No such file or directory
Am I missing something?
from alpine-pkg-glibc.
I think its most probably missing gcc or gcc++
from alpine-pkg-glibc.
GCC is installed via:
apk add --no-cache gcc
from alpine-pkg-glibc.
this should help you: https://pkgs.alpinelinux.org/contents?file=stdlib.h&path=&name=&branch=edge&repo=main&arch=x86_64
Mostly a quick google with the header name and alpine works
from alpine-pkg-glibc.
Hi,
I tried but still getting the undefined reference errors:
undefined reference to 'getsockname@GLIBC_2.2.5'
undefined reference to 'getgrgid_r@GLIBC_2.2.5'
undefined reference to 'memcpy@GLIBC_2.2.5'
undefined reference to 'getenv@GLIBC_2.2.5'
undefined reference to 'pthread_setspecific@GLIBC_2.2.5'
undefined reference to 'closedir@GLIBC_2.2.5'
undefined reference to 'sem_timedwait@GLIBC_2.2.5'
undefined reference to 'mkdir@GLIBC_2.2.5'
undefined reference to 'pread@GLIBC_2.2.5'
and many other glibc references.
Any help will be appreciated.
from alpine-pkg-glibc.
@kawatoto: Would you please provide further details of how you are attempting to use this package. I can't help debug these issues that you are encountering without knowing more about it.
Details like the following would be very useful:
- the Alpine Linux version you are using
- the package you are trying to compile (I'm assuming that's what you're trying to do) - ideally with a link to the archive version you're using
- any other salient details, e.g. your
configure
settings
from alpine-pkg-glibc.
Hi @sgerrand
I'm trying to build a custom activity for the below project http://www.flogo.io/ this uses alpine linux in the docker container, and the container uses alpine
uname -a
Linux 02b2ce9d5465 4.9.49-moby #1 SMP Wed Sep 27 23:17:17 UTC 2017 x86_64 Linux
more /etc/issue
Welcome to Alpine Linux 3.4
Kernel \r on an \m (\l)
I'm trying to invoke a C api and you can find the libraries in the below project https://github.com/kawatoto/FTLogo
Any help you provide will be appreciated.
Thanks,
Antonio
from alpine-pkg-glibc.
Given that you're trying to use commercial software (TIBCO's FTL messaging product), I suggest using a glibc based Docker image instead of Alpine Linux. Try using the images provided by https://github.com/mikeschippers/docker-tibco, as an example.
from alpine-pkg-glibc.
Related Issues (20)
- Whether aarch64 is supported? HOT 1
- Missing symbos to debug a `malloc` crash in glibc-compat HOT 2
- trying to overwrite etc/nsswitch.conf owned by alpine-baselayout-data-3.2.0-r23. HOT 4
- make test failed about [email protected] on ubuntu_aarch64 HOT 2
- error /lib/ld-linux-x86-64.so.2 HOT 1
- /usr/lib/libstdc++.so.6: no version information available HOT 2
- Error relocating /lib/ld-linux-x86-64.so.2: unsupported relocation type 37 HOT 6
- did this glibc support arm? HOT 2
- v2.35-r1 symbols not found HOT 2
- Unexpected "(" in /usr/glibc-compat/sbin/ldconfig
- SSL certificate from https://sgerrand.com/ has expired. HOT 11
- Error character map file UTF-8' not found: No such file or directory HOT 1
- ....symbol not found HOT 4
- Is alpine-pkg-glibc supports for latest alpine release 3.18 HOT 13
- protoc: stdout: . stderr: Error loading shared library ld-linux-x86-64.so.2: No such file or directory HOT 4
- 2.35-r1 release doesnt work with alpine image HOT 1
- ERROR: gcompat-1.1.0-r4: trying to overwrite lib/ld-linux-x86-64.so.2 owned by glibc-2.35-r1. HOT 10
- Getting segmentation fault after python upgrade HOT 4
- Release 2.38 HOT 20
- Cannot connect to https://alpine-pkgs.sgerrand.com/ via CloudFlare HOT 2
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 alpine-pkg-glibc.