#GLIBC_PRIVATE not found

1 messages · Page 1 of 1 (latest)

past fern
#

I am using Nix to setup my Julia environment. However, I have trouble installing ImageView.jl, failing with this error:

/nix/store/pcy3sxaifdpwm15sw98bxzwcnnclb6wq-gdk_pixbuf/bin/gdk-pixbuf-query-loaders: /nix/store/f62j9r2f3v9ijhkqkxf8sgj9qcby3bqx-julia-1.8.5/bin/../lib/julia/libpthread.so.0: version `GLIBC_PRIVATE' not found (required by /lib/x86_64-linux-gnu/librt.so.1)

Seems like it cannot find a required library in Julia lib folder. Why is it missing?

fading leaf
#

@fresh beacon can help

fresh beacon
#

i think adding something like this will help somewhere

#

go google abit to figure out how to do it proper

#
LD_LIBRARY_PATH = lib.makeLibraryPath [ stdenv.cc.cc 
            libpng glibc mlib zlib ];
#

might not need all of those dependenceis

#

But u basically add that to your devshell or the system or something

past fern
#

Thank you for the response 😊 . I added above libraries from nix store, just adding glibc changes the error message to:

/nix/store/pcy3sxaifdpwm15sw98bxzwcnnclb6wq-gdk_pixbuf/bin/gdk-pixbuf-query-loaders: symbol lookup error: /nix/store/yzjgl0h6a3qh1mby405428f16xww37h0-glibc-2.35-224/lib/libc.so.6: undefined symbol: _dl_fatal_printf, version GLIBC_PRIVATE

Could it be a glibc version issue?

past fern
#

Could be relevant: On ubuntu (without nix environment), glibc version is 2.31
On activating julia environment by nix shell nixpkgs#julia , the glibc version changes to 2.35 .

I am checking glibc version using ldd --version .

fresh beacon
#

I have 0 idea waeht that glibc private thing is acutally

#

try to have a look here

past fern
#

I will check there and update this post for future reference if I find any solution. Really appreciate your time 🙇‍♂️